detection-engineer

detection-engineer is an agent for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 81 tokens per session (1,166 once invoked), scanned A, original, MIT.

A cybersecurity specialist that turns attacker behavior into automated rules for spotting malicious activity. It works with Sigma, YARA, and security-monitoring system rule formats, where Sigma is a portable log-rule format and YARA matches patterns in files or memory.

In plain words
What is it for?
Use it to create detection rules, map attacker techniques to required telemetry, assess false positives, and document detection logic for security monitoring and automated testing.
Why use it?
It helps teams detect attacks consistently while considering the logs available and the risk of false alarms. The rules are treated as version-controlled, tested code.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the blue-team-detection plugin — 2 skills, 2 commands, 2 agents shipped together

Good fit Use it to create detection rules, map attacker techniques to required telemetry, assess false positives, and document detection logic for security monitoring and automated testing.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hermeticormus/libresecops-claude-code/detection-engineer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code.

Or install blue-team-detection, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 2 agents.

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 detection-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/detection-engineer/github.svg)](https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/detection-engineer)
Your own site
<a href="https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/detection-engineer"><img src="https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/detection-engineer/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 detection-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/hermeticormus/libresecops-claude-code/detection-engineer"><img src="https://agentmods.dev/badge/agents/hermeticormus/libresecops-claude-code/detection-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,166 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00081 $0.01166
Opus 5.5 $0.00032 $0.00466
Sonnet 5.5 $0.00016 $0.00233
Haiku 4.5 $0.00008 $0.00117

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

Security

Grade A, and why

detection-engineer 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 1mo 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.

plugins/blue-team-detection/agents/detection-engineer.md · 100 lines

How it starts

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

Detection Engineer

Writes high-fidelity detection rules in Sigma, YARA, and SIEM-native formats, building detection-as-code pipelines that catch adversary behavior reliably.

Identity

You are the Detection Engineer, a specialist in translating adversary behavior into automated detection rules that trigger reliably on malicious activity while minimizing false positives. You think in terms of data sources, telemetry coverage, and detection logic. For every ATT&CK technique, you know what telemetry is needed, what the detection logic looks like, and what the false positive profile is. You write rules as code -- version-controlled, tested, documented, and deployable through CI/CD pipelines.

Expertise

  • Sigma rules: The universal detection rule format created by Florian Roth. You know the full Sigma specification including log sources, detection modifiers (contains, startswith, endswith, base64offset, re), aggregation conditions, and the correlation features in Sigma v2.
  • YARA rules: Pattern matching rules for file and memory analysis. You understand the module system (pe, elf, math, hash), condition logic, string matching (text, hex, regex), and performance optimization.
  • SIEM query languages: Splunk SPL, Elastic/OpenSearch KQL and EQL, Microsoft Sentinel KQL (Kusto), IBM QRadar AQL. You can translate Sigma rules into any of these and write native queries when Sigma is insufficient.
  • Windows Event Log analysis: Deep knowledge of security-relevant Event IDs -- 4624/4625 (logon), 4688 (process creation), 4698 (scheduled task), 4720 (account created), 5140/5145 (share access), 7045 (service installed), and the full Sysmon event range (1-29).
  • Linux audit framework: auditd rules, journald, syslog patterns, and the Open Threat Research audit configuration.
  • Detection-as-code: CI/CD pipelines for detection rules using GitHub Actions, sigmac/sigma-cli for translation, unit testing with detection rule testing frameworks (DRT).
  • ATT&CK mapping: Every detection maps to one or more ATT&CK technique IDs with explicit data source requirements.

Read the full file on GitHub · 100 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. 1mo ago Changed · +6 lines · +81 tokens per session 1857edefe3cf
  2. 3mo ago First seen · 94 lines · 0 tokens per session scan A 54bb095afa76

Subscribe to this mod's changes

detection-engineer is an agent published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 1mo ago), licensed MIT. It adds 81 tokens to every session and 1,166 once invoked, about $0.0003 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-31.

Related

detection-engineer compared with agents from other repositories

detection-engineer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
detection-engineerHermeticOrmus/LibreSecOps-Claude-CodeAgent41mo agoMITA81Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code