Skip to main content
skill Claude Code CX Codex Cursor

threat-mitigation-mapping — Claude Code skill

Maps identified threats to security controls and supports remediation planning. Use it when reviewing control coverage or setting security priorities.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add wshobson/agents
/plugin install security-scanning@claude-code-workflows
Open on GitHub

What threat-mitigation-mapping does

This skill connects identified threats with suitable security controls and mitigations. It fits security investment planning, remediation roadmaps, control coverage reviews, defense-in-depth design, architecture reviews, and risk treatment planning.

The material separates controls into preventive, detective, and corrective types. It also maps them across network, application, data, endpoint, and process layers. That structure helps expose unmapped threats, avoid relying on a single control, and include testing, cost, and recurring review. Templates and worked mappings are stored in references/details.md.

Install it when you need a structured threat-to-control map or a remediation plan. Skip it for a narrow check of one isolated control.

What it helps with

  • map threats to suitable security controls
  • prioritize security investments
  • build a remediation roadmap
  • review control coverage
  • design layered defense

Example prompts for the agent

  • Map these identified threats to preventive, detective, and corrective controls.
  • Review control coverage across the network, application, and data layers.
  • Create a remediation roadmap and report critical gaps using the templates in `references/details.md`.

How to install threat-mitigation-mapping

1Plugin marketplace

/plugin marketplace add wshobson/agents
/plugin install security-scanning@claude-code-workflows

This installs the whole security-scanning plugin with all its skills

2Skills CLI (Vercel)

npx skills add wshobson/agents --skill threat-mitigation-mapping -a claude-code

3Manually: put the files in place

~/.claude/skills/threat-mitigation-mapping/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/threat-mitigation-mapping/

From the same set213

The whole set →
typescript-advanced-types Seth Hobson Guides an agent through advanced TypeScript types, from generics to conditional and mapped types. Use it for typed libraries, API clients, or strict configuration objects. Claude Code CX Codex Cursor 92,169installs tailwind-design-system Seth Hobson Helps build design systems with Tailwind CSS v4, from theme tokens to component variants. Use it when a project needs shared UI patterns. Claude Code CX Codex Cursor 70,180installs brand-landingpage Travis D. Elliott This skill interviews you about the product and its visual direction, then builds a landing page through Stitch. Use it when there’s no established design yet. Claude Code CX Codex Cursor 39,476installs python-testing-patterns Seth Hobson This skill guides Python testing with pytest, fixtures and mocks. Use it when building a test suite or tracking down failing checks. Claude Code CX Codex Cursor 36,943installs python-performance-optimization Seth Hobson This skill profiles Python code to locate CPU and memory bottlenecks. Use it when an application responds slowly or consumes too many resources. Claude Code CX Codex Cursor 35,675installs nextjs-app-router-patterns Seth Hobson This skill covers Next.js App Router patterns for rendering, routing, and data fetching. Use it when starting an App Router project or moving from Pages Router. Claude Code CX Codex Cursor 32,529installs api-design-principles Seth Hobson Use this skill to plan or review REST and GraphQL APIs. It helps when writing a specification or setting API conventions for a team. Claude Code CX Codex Cursor 30,348installs code-review-excellence Seth Hobson This skill guides pull request reviews, catches logic and security issues, and helps teams give specific feedback. Use it for review standards or developer mentoring. Claude Code CX Codex Cursor 30,193installs

Similar

gke-multitenancy official google Plans GKE multi-tenancy with team isolation, RBAC, resource limits and cost allocation. Use it when teams or environments share one cluster. Claude Code Gemini CLI CX Codex 6,448installs detection-engineering-coverage-evaluation official google This skill checks Google SecOps rule coverage against synthetic events generated from threat intelligence. Use it to find detection gaps and prepare rules to address them. Claude Code Gemini CLI CX Codex 6,394installs google-cloud-recipe-foundation-builder official google Sets up a baseline landing zone for a Google Cloud Organization, including security policies, folders, projects, billing, and centralized logs. Use it when establishing a new organization foundation, not when onboarding one project. Claude Code Gemini CLI CX Codex 6,337installs data-manager-api-setup official google This skill sets up Data Manager API access and client libraries. Use it when preparing a local environment before building an API integration. Claude Code Gemini CLI CX Codex 6,109installs google-cloud-solution-architecture official google This skill gathers requirements and designs complex Google Cloud systems. Use it for new cloud workloads, migrations, and multi-product architecture work. Claude Code Gemini CLI CX Codex 5,980installs git-guardrails-claude-code Matt Pocock This skill adds a Claude Code hook that stops risky Git commands before they run. Use it when an agent must not push or discard working-tree changes. Claude Code 499,069installs ponytail-review DietrichGebert ponytail-review reviews a change beyond the diff, checking connected code, bugs, risks, load, tests, speed, and unnecessary code. Use it for PRs and commits. Claude Code CX Codex Cursor +1 56,300installs ponytail-audit DietrichGebert It audits a repository and ranks bugs, risks, and redundant code in a one-shot report. Use it when you need a review without code changes. Claude Code CX Codex Cursor +1 44,800installs

Questions about threat-mitigation-mapping

How do I install threat-mitigation-mapping in Claude Code?

Run npx skills add wshobson/agents --skill threat-mitigation-mapping -a claude-code. The skill file is placed at ~/.claude/skills/threat-mitigation-mapping/SKILL.md.

What does threat-mitigation-mapping do?

It maps threats to security controls and mitigations, organizes them by control type and layer, and supports remediation planning and coverage review.

Which platforms support threat-mitigation-mapping?

The skill is listed for Claude Code, Codex, and Cursor. Detailed templates and worked examples are in references/details.md.

Source text

SKILL.md · MIT
---
name: threat-mitigation-mapping
description: Map identified threats to appropriate security controls and mitigations. Use when prioritizing security investments, creating remediation plans, or validating control effectiveness.
---

# Threat Mitigation Mapping

Connect threats to controls for effective security planning.

## When to Use This Skill

- Prioritizing security investments
- Creating remediation roadmaps
- Validating control coverage
- Designing defense-in-depth
- Security architecture review
- Risk treatment planning

## Core Concepts

### 1. Control Categories

```
Preventive ────► Stop attacks before they occur
   │              (Firewall, Input validation)
   │
Detective ─────► Identify attacks in progress
   │              (IDS, Log monitoring)
   │
Corrective ────► Respond and recover from attacks
                  (Incident response, Backup restore)
```

### 2. Control Layers

| Layer           | Examples                             |
| --------------- | ------------------------------------ |
| **Network**     | Firewall, WAF, DDoS protection       |
| **Application** | Input validation, authentication     |
| **Data**        | Encryption, access controls          |
| **Endpoint**    | EDR, patch management                |
| **Process**     | Security training, incident response |

### 3. Defense in Depth

```
                    ┌──────────────────────┐
                    │      Perimeter       │ ← Firewall, WAF
                    │   ┌──────────────┐   │
                    │   │   Network    │   │ ← Segmentation, IDS
                    │   │  ┌────────┐  │   │
                    │   │  │  Host  │  │   │ ← EDR, Hardening
                    │   │  │ ┌────┐ │  │   │
                    │   │  │ │App │ │  │   │ ← Auth, Validation
                    │   │  │ │Data│ │  │   │ ← Encryption
                    │   │  │ └────┘ │  │   │
                    │   │  └────────┘  │   │
                    │   └──────────────┘   │
                    └──────────────────────┘
```

## Templates and detailed worked examples

Full template library and detailed mitigation/control mappings live in `references/details.md`. Read that file when you need the concrete templates for: Mitigation Model, Defense in Depth scoring, Executive Summary scaffolding, Critical Gaps reporting, Recommendations, Implementation Roadmap, Results by Control.

## Best Practices

### Do's

- **Map all threats** - No threat should be unmapped
- **Layer controls** - Defense in depth is essential
- **Mix control types** - Preventive, detective, corrective
- **Track effectiveness** - Measure and improve
- **Review regularly** - Controls degrade over time

### Don'ts

- **Don't rely on single controls** - Single points of failure
- **Don't ignore cost** - ROI matters
- **Don't skip testing** - Untested controls may fail
- **Don't set and forget** - Continuous improvement
- **Don't ignore people/process** - Technology alone isn't enough

© Seth Hobson · MIT · wshobson/agents

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor