Works with the AI tools you already use
Attack Tree Construction
Generate structured, scored attack trees with AND/OR logic to visualize threat paths and identify security gaps.
$10
attack-tree-construction
Example session with this skill installed
Build an attack tree for the attacker goal "Exfiltrate sensitive customer
data from a cloud-hosted CRM application". Include sub-goals, leaf node
conditions, AND/OR node logic, mitigation mappings, and probability
annotations.
- Read your context and instructions
- Compiled the attack-tree-construction
The skill produces a structured attack tree with the root goal decomposed
into sub-goal branches covering credential compromise, session hijacking,
API abuse, and insider threat vectors. Each branch is resolved to leaf node
conditions with AND/OR logic annotations. Mitigation mappings are provided
for each leaf node with effectiveness and implementation notes. Probability
and cost annotations are applied where estimable from the scenario context.
The output is formatted for direct use in a threat model document or risk
register entry.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
Systematic Threat Path Visualization
Modern security architecture requires more than just a list of risks; it requires a deep understanding of the logical paths an attacker takes to reach a goal. This skill automates the construction of structured attack trees, allowing developers and security engineers to decompose complex threats into atomic, measurable steps.
What it does
- Logical Decomposition: Breaks down high-level objectives into sub-goals using strict AND/OR node logic.
- Attribute Scoring: Evaluates every leaf node based on time, cost, technical skill required, and detection probability.
- Path Analysis: Automatically identifies the "Path of Least Resistance" (lowest cost) and the "Stealthiest Path" (lowest detection).
- Defensive Mapping: Overlays existing controls onto the tree to highlight gaps where no mitigations exist.
Why use this skill?
Manually drawing attack trees is time-consuming and prone to logic errors. This skill ensures consistency in your threat models by enforcing atomic leaf nodes and valid Boolean logic. It serves as a bridge between high-level risk assessments and technical red-teaming, providing a clear visual or data-driven output (JSON, Mermaid, or Python models) that can be integrated into CI/CD security reviews or architecture documentation.
Supported Outputs
The skill can produce structured text trees, Mermaid.js diagrams for GitHub/Notion, JSON for programmatic analysis, or Python data models for Monte Carlo simulations.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 4 months ago
- Passed all security checks, Safe to install