Skip to content

Detection as code vs Sh detection rules

Detection as code is an open-source agent skill for security. Sh detection rules is an open-source agent skill for security. The table puts their facts side by side; each name links to its full write-up.

  • Detection as code has more GitHub stars (227 vs 44).
  • Detection as code is best for write a sigma rule for a specific attacker technique and test it against sample logs.
  • Sh detection rules is best for write a sigma rule for a behaviour our siem missed during a purple team exercise.
In short
Guides writing tested, versioned Sigma, YARA, KQL or SPL detection rules
Turns a missed behaviour into a tested Sigma detection rule with fixtures and noise checks
Kind
Skill
Skill
Pricing
Open source
Open source
Platforms
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
Claude Code
GitHub stars
227
44
Last commit
Oct 2026
Dec 2026
License
MIT
MIT
Open source

Full write-ups

Detection as code vs Sh detection rules: questions

Is Detection as code or Sh detection rules cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Detection as code and Sh detection rules?

Detection as code is an open-source agent skill for security. Sh detection rules is an open-source agent skill for security. Detection as code has more GitHub stars (227 vs 44).

Keep comparing