engineering-detections

engineering-detections is a skill for Claude Code from trilwu/secskills. It costs 77 tokens per session (3,177 once invoked), scanned A, original, MIT.

A guide for creating and testing rules that alert on suspicious activity in security tools. It covers formats such as Sigma, YARA, Suricata, and queries for endpoint or log systems; MITRE ATT&CK is a catalogue of attacker tactics and techniques.

In plain words
What is it for?
It helps turn incidents or threat intelligence into alerts, review noisy or ineffective rules, measure coverage against ATT&CK, and manage detection rules with testing and deployment processes.
Why use it?
A rule that is too broad overwhelms responders with false alarms, while one that is too narrow may miss the behaviour it should find.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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.

Part of the secskills-defense plugin — 22 skills shipped together

Good fit It helps turn incidents or threat intelligence into alerts, review noisy or ineffective rules, measure coverage against ATT&CK, and manage detection rules with testing and deployment processes.

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/trilwu/secskills
agentmods
npx agentmods add skills/trilwu/secskills/engineering-detections

Made for: Claude Code.

Or install secskills-defense, the plugin that ships this one along with the rest of its 22 skills.

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/trilwu/secskills/engineering-detections.svg)](https://agentmods.dev/skills/trilwu/secskills/engineering-detections)
Your own site
<a href="https://agentmods.dev/skills/trilwu/secskills/engineering-detections"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/engineering-detections.svg" alt="Measured on agentmods" 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 261
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high YARA Match · line 55
    YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
    Fix: Remove the malware payload or compromised file entirely. Investigate how it entered the skill and audit all other artifacts for additional indicators of compromise.
How audits are shown
Origin original No closer match found 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 $0.00039 $0.01588
Sonnet 5 $0.00015 $0.00635
Haiku 4.5 $0.00008 $0.00318

Measured 8d ago against content hash c533bb8c20ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 8d 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

Copies of this mod

1 near-identical copy found in the catalogue:

secskills-defense/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. 8d 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 trilwu/secskills (137 stars, last pushed 3d ago), licensed MIT. It adds 77 tokens to every session and 3,177 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

test-driven-development

Drives development with tests. Use when implementing any logic, fixing any bug, or changing any behavior. Use when you need to prove that code works, when a bug report arrives, or when you're about to modify existing functionality.

addyosmani/agent-skills · 50 tokens

skillshare-implement-feature

Implement a feature from a spec file or description using TDD workflow. Use this skill whenever the user asks to: add a new CLI command, implement a feature from a spec, build new functionality, add a flag, create a new internal package, or write Go code for skillshare. This skill enforces test-first development…

runkids/skillshare · 114 tokens

story-origin-check

Recover the first public timestamp and canonical major coverage for a newsjacking signal, then decide whether newer coverage is the same story, a different story, or a materially new development.

elvisun/newsjack · 40 tokens

create-custom-grader

Use when converting an existing benchmark, rubric, verifier, task YAML/JSON, or domain check into SkillEvaluator BYOG/BYOT custom evaluation.

NVIDIA/SkillEvaluator · 35 tokens

prompt-proximity-architecture

Turn an approved measurement charter, ICPs, and buyer jobs into a budget-aware prompt coverage blueprint across proximity bands, aided status, information acts, journey states, roles, locales, evidence grades, partitions, and measurement lanes. Use before prompt wording to define required, optional, and prohibited…

elvisun/newsjack · 67 tokens

xdto-validate

A validator for XDTO packages in 1C:Enterprise. It checks the package model, its metadata object, and its connection to the configuration.

Nikolay-Shirokov/cc-1c-skills · 34 tokens