# detection-coverage-and-mitre-gap-analyzer-scripting

detection-coverage-and-mitre-gap-analyzer-scripting is a Claude Code skill that builds Python analyzers for detection coverage. It checks Sigma rules against telemetry inventories and ATT&CK matrix gaps.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 73 repo stars
- Author: W4L33Dx
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/blue-team/security-automation-and-tool-development/detection-coverage-and-mitre-gap-analyzer-scripting/SKILL.md
- Updated: 2026-11-15
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/detection-coverage-and-mitre-gap-analyzer-scripting

## What it does

This skill generates Python 3.11 scripts to audit SOC detection catalogs against ingested telemetry. It inspects Sigma YAML rules and matches their event definitions against records in `datasources.yaml`. The resulting script marks detection content as inactive whenever a sensor is turned off or when required telemetry identifiers fail to resolve.

The generated tooling maps `attack.tNNNN[.NNN]` tags to threat matrices while keeping sub-techniques separate from parent entries. It produces evidence tables showing exact rules alongside datasource availability per technique. Script syntax validates through `python -m py_compile coverage_gap.py`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill detection-coverage-and-mitre-gap-analyzer-scripting -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/detection-coverage-and-mitre-gap-analyzer-scripting/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/detection-coverage-and-mitre-gap-analyzer-scripting/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill detection-coverage-and-mitre-gap-analyzer-scripting -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/detection-coverage-and-mitre-gap-analyzer-scripting/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill detection-coverage-and-mitre-gap-analyzer-scripting -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/detection-coverage-and-mitre-gap-analyzer-scripting/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install W4L33Dx/Cyber-Monster blue-team/security-automation-and-tool-development/detection-coverage-and-mitre-gap-analyzer-scripting
```

2. **Manually: put the files in place**
- File: `.github/skills/detection-coverage-and-mitre-gap-analyzer-scripting/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill detection-coverage-and-mitre-gap-analyzer-scripting -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/W4L33Dx/Cyber-Monster --path blue-team/security-automation-and-tool-development/detection-coverage-and-mitre-gap-analyzer-scripting
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/detection-coverage-and-mitre-gap-analyzer-scripting/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/blue-team/security-automation-and-tool-development/detection-coverage-and-mitre-gap-analyzer-scripting/SKILL.md

## When to use it
- correlate Sigma rules with active datasource inventories
- isolate detection content tied to disabled telemetry
- evaluate parent and child ATT&CK techniques independently
- generate evidence matrices for SOC detection audits

## Example prompts
- Generate a Python script to cross-reference Sigma rules with datasources.yaml
- Build a coverage gap tool for MITRE ATT&CK parent and child techniques

## Similar
- [siem-detection](https://affpapa.org/en/nevibecode/skills/siem-detection.md) — skill · 432 installs
- [agency-threat-detection-engineer](https://affpapa.org/en/nevibecode/skills/agency-threat-detection-engineer.md) — skill · ★ 85 repo stars
- [06-threat-hunting](https://affpapa.org/en/nevibecode/skills/06-threat-hunting.md) — skill · ★ 71 repo stars
- [threat-detection](https://affpapa.org/en/nevibecode/skills/threat-detection.md) — skill · 637 installs
- [detection-engineer](https://affpapa.org/en/nevibecode/agents/detection-engineer.md) — subagent · ★ 2482 repo stars
- [analyzing-apt-group-with-mitre-navigator](https://affpapa.org/en/nevibecode/skills/analyzing-apt-group-with-mitre-navigator.md) — skill · 543 installs

From the same set: [w4l33dx/cyber-monster](https://affpapa.org/en/nevibecode/by/w4l33dx/cyber-monster.md) — 61 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
