Operationalizing a hunt into a detection

From meltedinhex/analyst-ai-pack · View interactive version

Operationalizing a hunt into a detection is an AI agent skill from the GitHub repository meltedinhex/analyst-ai-pack. Converts a successful threat hunt into a durable detection by extracting the discriminating logic, defining data sources and thresholds, and emitting a Sigma rule plus a test and tuning plan. Activates for requests to operationalize a hunt, turn a finding into a detection rule, or productionize hunt

How to use this skill

Skill file

Operationalizing a Hunt Into a Detection

When to Use

repeatable detection (Sigma) with data sources, thresholds, and a tuning plan.

Do not use this to ship a rule without a false-positive review — operationalization includes

tuning. The script generates rule scaffolding, not a deployment.

Prerequisites

technique.

Workflow

Step 1: Specify the detection

Define the logsource (category/product), the selection (field→value(s) that discriminated true

positives), optional filters, the condition, and the ATT&CK technique.

Step 2: Generate the Sigma rule

python scripts/analyst.py generate --spec detection.json --out rule.yml

Emits a valid Sigma rule (title, status, logsource, detection, condition, level, tags) from the

spec.

Step 3: Plan testing and tuning

Define how to validate (replay a known-true pcap/log, atomic test) and what benign sources may

cause false positives.

Step 4: Document and stage

Record the rule's intent, expected FPs, and tuning levers; stage through your detection pipeline.

Validation

Pitfalls

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.