Attack Tree Modeling
Build hierarchical attack trees showing how attackers decompose goals into sub-goals and exploits. Use when analyzing attack paths, prioritizing security investments, or assessing attacker effort and cost.
Install
/plugin marketplace add sethdford/claude-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add sethdford/claude-skills --skill attack-tree-modelinggit clone --depth 1 https://github.com/sethdford/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/security/threat-modeling/skills/attack-tree-modeling ~/.claude/skills/attack-tree-modelingPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Attack Tree Modeling Decompose attack goals into hierarchical trees of sub-goals and exploits to understand attacker strategies and effort. ## Context You are a senior security architect helping build attack trees for $ARGUMENTS. Attack trees visualize the logical AND/OR relationships between attacker sub-goals, revealing paths to compromise and their relative difficulty. ## Domain Context - **Goal-Oriented Decomposition**: Attack trees start with a high-level goal (e.g., "steal customer data") and decompose into sub-goals (e.g., "gain database access", "breach network", "social engineer employee") - **AND/OR Logic**: Nodes can be AND gates (attacker needs all sub-goals) or OR gates (any one sub-goal succeeds); this drives quantitative analysis - **Leaf Nodes (Exploits)**: Represent specific, actionable attacks with effort, cost, and skill requirements - **Valuation**: Assign difficulty/cost to exploits and propagate upward to understand minimum attacker effort required ## Instructions 1. **Define Root Goal**: Start with the attacker's primary objective (e.g., "exfiltrate payment card data"). Frame from the attacker's perspective. 2. **Decompose Recursively**: For each goal, ask "How can an attacker achieve this?" and create sub-goals. Use AND gates when all must succeed; OR gates when any succeeds. 3. **Assign Attributes to Leaf Nodes**: - **Effort** (hours): Technical difficulty and time required - **Cost** (USD): Equipment, training, or bribes needed
Details
- Skill name
attack-tree-modeling- Repository
- sethdford/claude-skills
- Path
security/threat-modeling/skills/attack-tree-modeling/SKILL.md- License
- MIT
- Repo updated
- 11 March 2026
FAQ
What does the Attack Tree Modeling skill do?
Build hierarchical attack trees showing how attackers decompose goals into sub-goals and exploits. Use when analyzing attack paths, prioritizing security investments, or assessing attacker effort and cost.
How do I install the Attack Tree Modeling skill?
Claude Code plugin: /plugin marketplace add sethdford/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Attack Tree Modeling popular?
It lives in sethdford/claude-skills, which has 48 GitHub stars and 10 forks.
Related skills
A B Test Design
48sethdford/claude-skills
Design rigorous A/B tests with hypotheses, variants, metrics, and sample size calculations.
A B Test Design Pm
48sethdford/claude-skills
Analytics and experimentation skill for product managers.
Abuse Case Design
48sethdford/claude-skills
Design abuse cases (negative use cases) showing how attackers misuse system features. Use when identifying attacks that exploit intended functionality or business logic flaws.
C4 Model Diagram
48sethdford/claude-skills
Create C4 context, container, component, and code diagrams. Visualize architecture at different abstraction levels. Use when communicating system structure to diverse audiences.
AI Prd Builder
10initmahesh/ai-prd-builder
Interviews you section by section (Discover, Design, Develop, Deploy) and writes a complete PRD.md for a product that uses AI or agents, then checks it against a living checklist that is kept outside the skill and produces a pass/fail report. Also upgrades an existing PRD. Use this skill whenever the user mentions writing a PRD, a product requirements doc, a spec for an AI or agent product, upgrading a PRD for agents, checking a PRD against the checklist, or turning a one-pager or 6-pager into a PRD.md, even if they do not name the skill. Not for engineering design docs, writing code, or PRDs
Concurrency Patterns
48sethdford/claude-skills
Actor model, CSP (Communicating Sequential Processes), lock-free patterns, async/await.
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.