Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/aspectrr/deernpx agentmods add skills/aspectrr/deer/security-detection-rule-managementWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aspectrr/deer/security-detection-rule-management)<a href="https://agentmods.dev/skills/aspectrr/deer/security-detection-rule-management"><img src="https://agentmods.dev/badge/skills/aspectrr/deer/security-detection-rule-management/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aspectrr/deer/security-detection-rule-management"><img src="https://agentmods.dev/badge/skills/aspectrr/deer/security-detection-rule-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.00952 |
| Opus 5.5 | $0.00017 | $0.00381 |
| Sonnet 5.5 | $0.00009 | $0.00190 |
| Haiku 4.5 | $0.00004 | $0.00095 |
Grade A, and why
security-detection-rule-management scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Detection Rule Management
Create new detection rules for emerging threats and tune existing rules to reduce false positives.
Prerequisites
export ELASTICSEARCH_URL="https://your-cluster.es.cloud.example.com:443"
export ELASTICSEARCH_API_KEY="your-api-key"
export KIBANA_URL="https://your-cluster.kb.cloud.example.com:443"
export KIBANA_API_KEY="your-kibana-api-key"
Workflow: Tune noisy rules
Step 1: Find noisy rules
node skills/security/detection-rule-management/scripts/rule-manager.js noisy-rules --days 7 --top 20
node skills/security/detection-rule-management/scripts/rule-manager.js find --filter "alert.attributes.name:*Suspicious*" --brief
node skills/security/detection-rule-management/scripts/rule-manager.js get --id <rule_uuid>
Step 2: Investigate false positives
node skills/security/alert-triage/scripts/run-query.js "kibana.alert.rule.name:\"<rule_name>\"" --index ".alerts-security.alerts-*" --days 7 --full
Step 3: Tune
Add exception (preferred):
node skills/security/detection-rule-management/scripts/rule-manager.js add-exception \
--rule-uuid <rule_uuid> \
--entries "process.executable:is:C:\\Program Files\\SCCM\\CcmExec.exe" \
--name "Exclude SCCM" --comment "FP: SCCM deployment" --yes
Patch query/threshold/severity:
node skills/security/detection-rule-management/scripts/rule-manager.js patch --id <rule_uuid> --query "..." --yes
node skills/security/detection-rule-management/scripts/rule-manager.js patch --id <rule_uuid> --max-signals 50 --yes
node skills/security/detection-rule-management/scripts/rule-manager.js disable --id <rule_uuid> --yes
Workflow: Create new rule
Step 1: Define threat and data sources
Specify MITRE ATT&CK technique(s), required data sources, and malicious vs legitimate behavior.
Step 2: Test the query
node skills/security/alert-triage/scripts/run-query.js "process.name:certutil.exe" --index "logs-endpoint.events.process-*" --days 30
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 111 lines · 43 tokens per session scan A 3fea4e2c9639
security-detection-rule-management is a skill published in the GitHub repository aspectrr/deer (405 stars, last pushed 7mo ago), licensed MIT. It adds 43 tokens to every session and 952 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
security-detection-rule-management compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| security-detection-rule-managementaspectrr/deer | Skill | 405 | 7mo ago | MIT | A | 43 | Claude Code, Codex |
| architecture-diagrammateaix/mateclaw | Skill | 1.2k | today | Apache-2.0 | A | 15 | Claude Code, Codex |
| makefile-generationathola/claude-night-market | Skill | 358 | today | MIT | A | 31 | Claude Code |
| sitesCloudgeni-ai/opengeni | Skill | 229 | today | Apache-2.0 | A | 125 | Codex |
| terraform-search-importCloudgeni-ai/opengeni | Skill | 229 | today | Apache-2.0 | A | 39 | Claude Code, Codex |
| team-topologyCotal-AI/Cotal | Skill | 414 | today | Apache-2.0 | A | 168 | Claude Code |
| skill-managementCloudgeni-ai/opengeni | Skill | 229 | today | Apache-2.0 | A | 31 | Claude Code, Codex |