attack-tree-construction
Build and visualize attack trees to identify security vulnerabilities.
Install
mkdir -p .claude/skills/attack-tree-construction-mk-knight23 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16286" && unzip -o skill.zip -d .claude/skills/attack-tree-construction-mk-knight23 && rm skill.zipInstalls to .claude/skills/attack-tree-construction-mk-knight23
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders.Key capabilities
- →Visualize complex attack scenarios
- →Identify defense gaps in systems
- →Communicate security risks to stakeholders
- →Plan defensive investments
- →Map mitigations per branch of an attack tree
How it works
This skill constructs attack trees by decomposing a root goal into sub-goals using AND/OR logic. It annotates leaf nodes with cost, skill, time, and detectability, and maps mitigations.
Inputs & outputs
When to use attack-tree-construction
- →Visualize attack scenarios
- →Identify defense gaps
- →Plan security investments
About this skill
Attack Tree Construction
Systematic attack path visualization and analysis.
Use this skill when
- Visualizing complex attack scenarios
- Identifying defense gaps and priorities
- Communicating risks to stakeholders
- Planning defensive investments or test scopes
Do not use this skill when
- You lack authorization or a defined scope to model the system
- The task is a general risk review without attack-path modeling
- The request is unrelated to security assessment or design
Instructions
- Confirm scope, assets, and the attacker goal for the root node.
- Decompose into sub-goals with AND/OR structure.
- Annotate leaves with cost, skill, time, and detectability.
- Map mitigations per branch and prioritize high-impact paths.
- If detailed templates are required, open
resources/implementation-playbook.md.
Safety
- Share attack trees only with authorized stakeholders.
- Avoid including sensitive exploit details unless required.
Resources
resources/implementation-playbook.mdfor detailed patterns, templates, and examples.
When not to use it
- →When lacking authorization or a defined scope to model the system
- →When the task is a general risk review without attack-path modeling
- →When the request is unrelated to security assessment or design
Limitations
- →Requires authorization and a defined scope
- →Not for general risk reviews without attack-path modeling
- →Avoid including sensitive exploit details unless required
How it compares
This skill provides a systematic, visual method for analyzing security threats by breaking down attack paths into a tree structure, which helps in identifying specific vulnerabilities and planning defenses.
Compared to similar skills
attack-tree-construction side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| attack-tree-construction (this skill) | 0 | 5mo | No flags | Intermediate |
| reverse-engineering-tools | 73 | 4mo | No flags | Advanced |
| game-hacking-techniques | 42 | 2mo | No flags | Advanced |
| solidity-security | 15 | 2mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by mk-knight23
View all by mk-knight23 →You might also like
reverse-engineering-tools
gmh5225
Guide for reverse engineering tools and techniques used in game security research. Use this skill when working with debuggers, disassemblers, memory analysis tools, binary analysis, or decompilers for game security research.
game-hacking-techniques
gmh5225
Guide for game hacking techniques and cheat development. Use this skill when researching memory manipulation, code injection, ESP/aimbot development, overlay rendering, or game exploitation methodologies.
solidity-security
wshobson
Master smart contract security best practices to prevent common vulnerabilities and implement secure Solidity patterns. Use when writing smart contracts, auditing existing contracts, or implementing security measures for blockchain applications.
1password
openclaw
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
senior-security
davila7
Comprehensive security engineering skill for application security, penetration testing, security architecture, and compliance auditing. Includes security assessment tools, threat modeling, crypto implementation, and security automation. Use when designing security architecture, conducting penetration tests, implementing cryptography, or performing security audits.
ghidra
mitsuhiko
Reverse engineer binaries using Ghidra's headless analyzer. Decompile executables, extract functions, strings, symbols, and analyze call graphs without GUI.