---
name: anomaly-detector
description: Compare recent activity against a historical baseline to identify behavioral anomalies and help Claude explain which users or patterns warrant deeper investigation.
Anomaly Detector
Use this skill when the user wants to compare current log activity against a baseline, identify unusual behavior, or investigate whether user activity has deviated from normal patterns.
Goal
Help Claude highlight meaningful anomalies, explain why they stand out from the baseline, and present the results in a way that supports security review or audit follow-up.
Workflow
Confirm the baseline log source, the test period log source, and any tuning preferences such as sensitivity.
Review whether the baseline has enough activity to support a credible comparison.
Compare the test period against the baseline to identify users or patterns that exceed expected thresholds.
Separate strong anomaly candidates from weak signals caused by sparse data or noisy inputs.
Present a concise anomaly summary with likely priorities for investigation.
main.py contains the executable anomaly detection logic.
README.md provides usage notes and examples.
skill.yaml captures the repo-native metadata for this skill.
sample_input may contain representative baseline and test logs.
Guidance
Treat anomaly detection as a triage aid rather than definitive proof of malicious behavior. Call out data quality limits and explain why each anomaly is notable.
1---2name: anomaly-detector3description: ---4---5---6name: anomaly-detector7description: Compare recent activity against a historical baseline to identify behavioral anomalies and help Claude explain which users or patterns warrant deeper investigation.8---910# Anomaly Detector1112Use this skill when the user wants to compare current log activity against a baseline, identify unusual behavior, or investigate whether user activity has deviated from normal patterns.1314## Goal1516Help Claude highlight meaningful anomalies, explain why they stand out from the baseline, and present the results in a way that supports security review or audit follow-up.1718## Workflow19201. Confirm the baseline log source, the test period log source, and any tuning preferences such as sensitivity.212. Review whether the baseline has enough activity to support a credible comparison.223. Compare the test period against the baseline to identify users or patterns that exceed expected thresholds.234. Separate strong anomaly candidates from weak signals caused by sparse data or noisy inputs.245. Present a concise anomaly summary with likely priorities for investigation.2526## Inputs2728Expected inputs from the bundled tool metadata:29- logs: Path to the historical baseline log file.30- test: Path to the test period log file.31- sensitivity: Optional threshold sensitivity.32- min_events: Optional minimum baseline event count.3334## Bundled Files3536- main.py contains the executable anomaly detection logic.37- README.md provides usage notes and examples.38- skill.yaml captures the repo-native metadata for this skill.39- sample_input may contain representative baseline and test logs.4041## Guidance4243Treat anomaly detection as a triage aid rather than definitive proof of malicious behavior. Call out data quality limits and explain why each anomaly is notable.
Run npx skillmds@latest add maxwellokumu/anomaly-detector in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
--- It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
maxwellokumu (@maxwellokumu) published this skill. Their other Agent Skills are listed on their SkillMD profile.