Skip to content
Skill

Sh detection coverage

Maps which ATT&CK techniques your detection rules cover and ranks the gaps to fix

Sh detection coverage is an open-source agent skill for security. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
44
Last commit
License
MIT
Listing updated

Similar skills

About Sh detection coverage

This skill checks what a team can and cannot detect. It compares the Sigma rules in a detections folder against the ATT&CK techniques that a threat model, review findings, an engagement's missed steps or a user-supplied list say matter, and marks each wanted technique as covered, covered only at parent level, or missing.

Beyond raw coverage, it checks whether the log sources each technique needs actually exist in the SIEM, and it reviews rule health: lint and fixture failures, rules without tests, experimental-only rules, and rules that are noisy or silent during backtesting. The output is a prioritised detection backlog with telemetry status, existing rules, proposed rule or logging changes and effort estimates, plus an ATT&CK Navigator layer file for visualising gaps.

It expects the indra command-line tool, a rules folder with Sigma YAML files, and optionally a threat-model.json, verified review results or engagement detection data. It writes only a coverage report and a Navigator layer under the detections folder, and hands rule-writing off to a separate skill.

When your agent uses it

Assess and plan detection coverage: compare the rules in `detections/` (or any Sigma folder) with the ATT&CK techniques a threat model, review findings, an engagement's missed steps or the user's list say matter, check the telemetry exists, check rule health, and produce a prioritised detection backlog plus an ATT&CK Navigator layer. Use when the user asks about detection coverage, the ATT&CK matrix, a Navigator layer, 'what are we not detecting', or what rules to write next. Writes no rules and changes nothing in a SIEM.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (5 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the indra plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add dmdhrumilmistry/indra
/plugin install indra@indra

Or copy only this skill to ~/.claude/skills/sh-detection-coverage:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sh-detection-coverage &&
cp -R "$tmp/plugins/indra/skills/sh-detection-coverage" ~/.claude/skills/sh-detection-coverage &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/sh-detection-coverage inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/sh-detection-coverage to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sh-detection-coverage &&
cp -R "$tmp/plugins/indra/skills/sh-detection-coverage" ~/.agents/skills/sh-detection-coverage &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/sh-detection-coverage inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/sh-detection-coverage to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sh-detection-coverage &&
cp -R "$tmp/plugins/indra/skills/sh-detection-coverage" ~/.cursor/skills/sh-detection-coverage &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/sh-detection-coverage inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/dmdhrumilmistry/indra.git --path plugins/indra/skills/sh-detection-coverage

Or copy the folder to ~/.gemini/skills/sh-detection-coverage yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/sh-detection-coverage:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sh-detection-coverage &&
cp -R "$tmp/plugins/indra/skills/sh-detection-coverage" ~/.copilot/skills/sh-detection-coverage &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/sh-detection-coverage inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git

Then copy indra/plugins/indra/skills/sh-detection-coverage into your agent's skills folder as sh-detection-coverage. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Technique coverage mapping
Compares existing rules against the ATT&CK techniques that matter, flagging parent-only and missing coverage.
Telemetry presence check
Confirms whether the logs each wanted technique depends on are present, partial or missing in the SIEM.
Rule health review
Runs lint, fixture tests and backtests to surface broken, untested, noisy or silent rules.
Prioritised detection backlog
Ranks uncovered techniques by impact, telemetry readiness and how many threats share them.
ATT&CK Navigator layer
Exports a Navigator layer that highlights wanted techniques that remain undetected.
Threat-driven technique selection
Derives wanted techniques from threat models, review findings and engagement missed steps.

Good for

  • Show which ATT&CK techniques our rules do not yet detect
  • Rank the next detection rules to write based on our threat model
  • Check whether the logs needed for a given technique exist in our SIEM
  • Find Sigma rules that fail tests or produce noisy alerts
  • Generate an ATT&CK Navigator layer of our detection gaps

Sh detection coverage FAQ

What does Sh detection coverage need to run?

It needs the indra command-line tool on the path and a folder of rule files, such as detections/. Optional inputs include a threat-model.json, verified findings, an engagement detections.json and a SIEM source.

Does Sh detection coverage write or deploy detection rules?

No. It writes no rules and changes nothing in a SIEM. It produces a coverage report, a backlog and a Navigator layer, and suggests a separate rule-writing skill for the top items.

Where are the results saved?

Under detections/coverage: a dated markdown coverage report and a dated ATT&CK Navigator layer JSON file.

What happens when there are no rule files?

The coverage command exits with an error and every wanted technique is counted as missing.

How do I install Sh detection coverage in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/sh-detection-coverage to use it in all your projects, or to .claude/skills/sh-detection-coverage in one project. Or install the indra plugin, which includes it: /plugin marketplace add dmdhrumilmistry/indra, then /plugin install indra@indra.

Does Sh detection coverage run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Sh detection coverage?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Sh detection coverage?

The closest alternatives to Sh detection coverage are Sh detection rules, Detection as code, Sh purple team, Sh threat hunt and Soc investigator.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from dmdhrumilmistry/indra

  1. Lets an agent triage SIEM alerts and logs, sweep indicators and build evidenced timelines

    • Open source
    • 44 GitHub stars
    • Security
  2. Gives a security review agent persistent Markdown memory of past findings and learnings

    • Open source
    • 44 GitHub stars
    • Knowledge and memory
  3. Security-reviews a GitHub pull request and reports findings as inline comments

    • Open source
    • 44 GitHub stars
    • Developer tools
  4. Publishes security review findings as de-duplicated Jira, GitHub, Confluence or Notion

    • Open source
    • 44 GitHub stars
    • Knowledge and memory
  5. Plans and runs approved purple-team tests to check whether SIEM detections fire

    • Open source
    • 44 GitHub stars
    • Security
  6. Re-checks one earlier security finding against current code or recorded traffic

    • Open source
    • 44 GitHub stars
    • Security