# Attack Tree Construction (agent skill)

> Attack Tree Construction is an agent skill (a SKILL.md file) from wshobson/agents. Build comprehensive attack trees to visualize threat paths. It works with Claude Code, Codex, Cursor, GitHub Copilot and OpenCode and has 42,269 GitHub stars across a repository of 7 listed skills.

Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders. Full template library lives in references/details.md. Read that file when you need concrete templates for this skill.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/wshobson/agents |
| Skill path | plugins/security-scanning/skills/attack-tree-construction/SKILL.md |
| Skill name | attack-tree-construction |
| GitHub stars | 42,269 |
| Installs on skills.sh | 3 |
| License | MIT |
| Skills in repo | 7 |
| Plugin marketplace | claude-code-workflows |
| Official | no |
| Works with | Claude Code, Codex, Cursor, GitHub Copilot, OpenCode |
| Category | Security |
| Last commit | Nov 5, 2026 |

## When it triggers

- Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders.

## Add this skill

### Claude Code

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

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/wshobson/agents.git
cp -r agents/plugins/security-scanning/skills/attack-tree-construction .agents/skills/attack-tree-construction   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/wshobson/agents.git
cp -r agents/plugins/security-scanning/skills/attack-tree-construction .cursor/skills/attack-tree-construction   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

skills.sh listing: https://www.skills.sh/wshobson/agents/attack-tree-construction

---

Canonical page: https://appsgit.com/skills/wshobson-attack-tree-construction
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
