Model adversary behavior and define hunting analytics before writing detection queries.
Install
mkdir -p .claude/skills/hunt-analytics-generation && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4560" && unzip -o skill.zip -d .claude/skills/hunt-analytics-generation && rm skill.zipInstalls to .claude/skills/hunt-analytics-generation
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Generate query-agnostic analytics that model adversary behavior by translating hunt investigative intent into analytic definitions grounded in schema semantics. This skill is used to define how behavior should manifest in data before query execution or validation, and works best when informed by system internals, adversary tradecraft, a structured hunt focus, and suggested data sources.Key capabilities
- →Models adversary behavior into analytic definitions
- →Maps investigative intent to schema semantics
- →Establishes hunt hypotheses
- →Selects relevant data sources for detection planning
How it works
Applies a strict, step-based workflow to transform behavior descriptions into schema-grounded documentation.
Inputs & outputs
When to use hunt-analytics-generation
- →Model adversary tradecraft
- →Define hunt hypotheses
- →Map adversary behavior to schema semantics
- →Create detection strategy documentation
About this skill
Generating Analytics
This skill translates hunt investigative intent into a small set of analytics that describe how adversary behavior should manifest in data.
It is executed during hunt planning, after sufficient context has been established, and before queries are executed or detections are validated.
This skill focuses on behavior modeling, not determining what is suspicious or anomalous, which requires broader environmental context beyond adversary descriptions or schema inspection.
Workflow
- You MUST complete each step in order and MUST NOT proceed until the current step is complete.
- You MUST NOT read reference documents unless the current step explicitly instructs you to do so.
- You MUST NOT execute queries or validate results in this skill.
- You MUST NOT introduce new research about system internals or adversary tradecraft.
- You MAY retrieve table schemas using platform tools when explicitly instructed.
Step 1: Interpret and Normalize Input
Establish the context required to generate analytics.
- Use the available inputs, which may include:
- System internals context
- Adversary tradecraft context
- The structured hunt hypothesis
- Suggested or identified data sources
- Confirm the specific adversary behavior to be modeled.
- If critical context is missing, request minimal clarification before proceeding.
This step is complete when the behavior to be modeled is clearly understood. Do NOT read reference documents during this step.
Step 2: Generate Analytic Candidates (repeat up to 5 times)
For each analytic candidate:
- Select the most relevant data source or sources from the available list.
- Use
MS Sentinel.search_tablesto retrieve schema details for the selected tables. - Review schemas to understand available fields and attributes.
- Identify the key entities involved (e.g., process, user, host, registry key, IP).
- Model the behavior as relationships or sequences between entities, using a graph-like view to represent how the activity unfolds and the conditions that matter.
- Ground the logic by mapping entities and conditions to schema fields.
- Capture a query-style representation, using SQL-like logic, that expresses analytic intent without execution.
Do NOT determine whether the behavior is suspicious or anomalous. Do NOT write executable queries. Do NOT read reference documents during this step.
Step 3: Produce Analytics Summary
Produce a final summary of the generated analytics.
- Structure the output using
references/analytic-template.md. - Repeat the template for each analytic.
- Clearly separate:
- Behavioral reasoning
- Schema grounding
- Query-style representation
Do NOT include execution logic, thresholds, or validation steps.
When not to use it
- →Executing actual database or log queries
- →Validating specific threat detection alerts
- →Generating new research on system internals
Limitations
- →Strictly prohibits query execution or validation
- →Requires manual step-by-step confirmation
How it compares
It forces abstract threat hunting concepts into standardized analytic definitions before any query is written.
Compared to similar skills
hunt-analytics-generation side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| hunt-analytics-generation (this skill) | 1 | 7mo | No flags | Advanced |
| pcap-analysis | 7 | 6mo | Review | Intermediate |
| burpsuite-project-parser | 1 | 2mo | Review | Advanced |
| wireshark-network-traffic-analysis | 1 | 6mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by OTRF
View all by OTRF →You might also like
pcap-analysis
benchflow-ai
Guidance for analyzing network packet captures (PCAP files) and computing network statistics using Python, with tested utility functions.
burpsuite-project-parser
trailofbits
Searches and explores Burp Suite project files (.burp) from the command line. Use when searching response headers or bodies with regex patterns, extracting security audit findings, dumping proxy history or site map data, or analyzing HTTP traffic captured in a Burp project.
wireshark-network-traffic-analysis
davila7
This skill should be used when the user asks to "analyze network traffic with Wireshark", "capture packets for troubleshooting", "filter PCAP files", "follow TCP/UDP streams", "detect network anomalies", "investigate suspicious traffic", or "perform protocol analysis". It provides comprehensive techniques for network packet capture, filtering, and analysis using Wireshark.
logicmso
BrownFineSecurity
Analyze digital and analog captures from Saleae Logic MSO devices. Decode protocols like UART, SPI, I2C from exported binary files. Use when analyzing logic analyzer captures for CTF challenges, hardware reverse engineering, or protocol decoding.
groq-data-handling
jeremylongshore
Implement Groq PII handling, data retention, and GDPR/CCPA compliance patterns. Use when handling sensitive data, implementing data redaction, configuring retention policies, or ensuring compliance with privacy regulations for Groq integrations. Trigger with phrases like "groq data", "groq PII", "groq GDPR", "groq data retention", "groq privacy", "groq CCPA".
detection-coverage-analysis
MHaggis
Analyzes detection coverage using Sigma, Splunk, and Elastic rules. Use when checking coverage for techniques, tactics, threat actors, or generating Navigator layers from detections.