engineering-detections

engineering-detections is a skill for Claude Code, Codex from EvilFreelancer/secs. It costs 77 tokens per session (3,177 once invoked), scanned A, a copy of engineering-detections, Apache-2.0.

A guide to creating and improving security detection rules for logs, network traffic, files, and endpoint activity. It covers formats such as Sigma and YARA and maps detections to MITRE ATT&CK, a catalog of attacker techniques.

In plain words
What is it for?
Writing, reviewing, testing, and tuning SIEM, EDR, Sigma, YARA, and Suricata detections; measuring coverage; and managing detection rules as code.
Why use it?
It helps turn suspicious behavior or threat intelligence into alerts while checking that rules catch the intended activity without creating excessive false alarms.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/rules_to_navigator.py rules/ > coverage.json.

Good fit Writing, reviewing, testing, and tuning SIEM, EDR, Sigma, YARA, and Suricata detections; measuring coverage; and managing detection rules as code.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/EvilFreelancer/secs
agentmods
npx agentmods add skills/evilfreelancer/secs/engineering-detections

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for engineering-detections

README.md
[![agentmods](https://agentmods.dev/badge/skills/evilfreelancer/secs/engineering-detections/github.svg)](https://agentmods.dev/skills/evilfreelancer/secs/engineering-detections)
Your own site
<a href="https://agentmods.dev/skills/evilfreelancer/secs/engineering-detections"><img src="https://agentmods.dev/badge/skills/evilfreelancer/secs/engineering-detections/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.

agentmods 80×15 button for engineering-detections

Your own site · 80×15
<a href="https://agentmods.dev/skills/evilfreelancer/secs/engineering-detections"><img src="https://agentmods.dev/badge/skills/evilfreelancer/secs/engineering-detections.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,177 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.03177
Opus 5.5 $0.00031 $0.01271
Sonnet 5.5 $0.00015 $0.00635
Haiku 4.5 $0.00008 $0.00318

Measured 3mo ago against content hash c533bb8c20ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

engineering-detections scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sL "https://defuddle.md/<url>" # scheme in the path is optional
Origin

This is a copy

100% identical to engineering-detections — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/engineering-detections/SKILL.md · 316 lines

How it starts

The opening of the file, as written. The whole thing — 316 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Engineering Detections

A detection is a hypothesis about attacker behaviour, expressed as a query, that a human will be paged for. Two properties decide whether it is worth deploying: does it fire on the behaviour, and does it stay quiet otherwise. Most rules fail the second test, and the cost is paid by whoever is on call.

When to Use

  • Writing a new detection rule from a TTP, a sample, or an incident
  • Reviewing or tuning an existing rule that is noisy or silent
  • Converting threat intelligence into deployable detection content
  • Assessing detection coverage against ATT&CK
  • Setting up detection-as-code: repo layout, testing, CI, deployment

When NOT to Use

  • Searching for an unknown compromise right now — use hunting-threats
  • Working an active incident — use responding-to-incidents
  • Analyzing the sample the detection is for — use analyzing-malware
  • Authoring a file/memory signature — use writing-yara-rules; a log/SIEM rule — use writing-sigma-rules
  • Preventive controls and hardening — hardening is not detection; a rule is not a substitute for closing the path

Route to a Depth Skill

Focus Skill
Authoring a portable Sigma rule specifically — field taxonomy, modifiers, backend conversion, SigmaHQ standards writing-sigma-rules

This skill covers the whole detection lifecycle across Sigma, YARA, and Suricata; reach for writing-sigma-rules when the task is the Sigma rule itself and its conversion to a target SIEM.

Detect Behaviour, Not Artifacts

Rank what you write by how expensive it is for the adversary to change:

Hash              trivial to change      → block, don't alert
IP / domain       days                   → block + low-severity alert
Filename / path   trivial                → weak signal, combine only
Tooling artifact  weeks (recompile)      → good, decays
Behaviour / TTP   expensive              → this is the target

The pyramid-of-pain reasoning is the whole discipline: a rule on mimikatz.exe is worthless; a rule on a process opening a handle to LSASS with PROCESS_VM_READ catches every tool that does the same thing.

Read the full file on GitHub · 316 lines

Changes

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.

  1. 3mo ago First seen · 316 lines · 77 tokens per session scan A c533bb8c20ad

Subscribe to this mod's changes

engineering-detections is a skill published in the GitHub repository EvilFreelancer/secs (11 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 77 tokens to every session and 3,177 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to engineering-detections, differing in 0 lines, and is treated as a copy.

Related

engineering-detections compared with skills from other repositories

engineering-detections next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
engineering-detectionsEvilFreelancer/secsSkill113mo agoApache-2.0A77Claude Code, Codex
ctf-reverse26zl/cybersec-toolkitSkill1135d agoMITA125Claude Code
analyzing-email-headers-for-phishing-investigation26zl/cybersec-toolkitSkill1135d agoMITA84Claude Code
analyzing-ransomware-encryption-mechanisms26zl/cybersec-toolkitSkill1135d agoMITA79Claude Code
analyzing-slack-space-and-file-system-artifacts26zl/cybersec-toolkitSkill1135d agoMITA86Claude Code
configuring-identity-aware-proxy-with-google-iap26zl/cybersec-toolkitSkill1135d agoMITA98Claude Code
configuring-network-segmentation-with-vlans26zl/cybersec-toolkitSkill1135d agoMITA93Claude Code