Skip to content
Skill

Threat modeling

Builds an AWS service threat model using STRIDE, with controls mapped to threats

Threat modeling is an open-source agent skill for security. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
12
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Threat modeling

This skill guides an agent through producing a full threat model for an AWS service or design. It runs a nine-step workflow that covers clarifying scope, gathering architecture documents, documenting components and trust boundaries, identifying threats across the six STRIDE categories, and defining mitigations and a security testing strategy. The output is a structured threat model document with introduction, architecture, threat analysis, mitigations and residual risk sections.

The skill is strict about evidence. It asks the user to confirm scope and components, traces credentials and secrets through the flow, and rates each threat's likelihood and impact. It also has a fallback for runs where no questions can be asked: the agent records its assumptions in a table instead. A change-only mode models just the new or altered parts of an existing design, and a quality gate lists critical, important and suggested fixes before the document is finished.

It works from design documents, optional reference threat models and an optional team template, all supplied as text or URLs. No scripts are included; the skill is a single instruction file.

When your agent uses it

Generates AWS service threat models using STRIDE methodology. Use when asked for a threat model or STRIDE analysis, the security risks of a design, or prep for a security review. Covers architecture analysis, threats, and security controls.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (12 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the konductor plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add aws-solutions/konductor
/plugin install konductor@konductor

Or copy only this skill to ~/.claude/skills/threat-modeling:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/threat-modeling &&
cp -R "$tmp/skills/threat-modeling" ~/.claude/skills/threat-modeling &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/threat-modeling inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/threat-modeling to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/threat-modeling &&
cp -R "$tmp/skills/threat-modeling" ~/.agents/skills/threat-modeling &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/threat-modeling inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/threat-modeling to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/threat-modeling &&
cp -R "$tmp/skills/threat-modeling" ~/.cursor/skills/threat-modeling &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/threat-modeling inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/aws-solutions/konductor.git --path skills/threat-modeling

Or copy the folder to ~/.gemini/skills/threat-modeling yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/threat-modeling:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/threat-modeling &&
cp -R "$tmp/skills/threat-modeling" ~/.copilot/skills/threat-modeling &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/threat-modeling inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/aws-solutions/konductor.git

Then copy konductor/skills/threat-modeling into your agent's skills folder as threat-modeling. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

STRIDE threat analysis
Evaluates each component against spoofing, tampering, repudiation, disclosure, denial of service and privilege elevation.
Nine-step workflow
Walks through scope, design review, architecture, threat identification, mitigations and final document.
Mitigation mapping
Links each threat to concrete controls with implementation status and at least one mitigation.
Security testing strategy
Produces a table of test IDs, inputs, expected results and the threats each test covers.
Change-only models
Limits analysis to new routes, trust boundaries and altered behavior when modeling a change.
Quality gate review
Grades findings as critical, important or suggestion before the document is finalized.

Good for

  • Create a STRIDE threat model for a new AWS service design
  • Prepare materials for an upcoming security review
  • List the security risks of a proposed architecture
  • Document security controls for a compliance review
  • Model only the threats introduced by a change to an existing design

Threat modeling FAQ

What does the skill need to run?

It needs the service name and scope, plus optional design documents, reference threat models or a team template given as URLs or text.

What does Threat modeling produce?

A structured threat model document with introduction, architecture, threat table, mitigations, testing strategy and residual risk sections.

Can Threat modeling run without asking the user questions?

Yes. When questions are not allowed, it makes the smallest reasonable assumptions and records them in an assumptions table.

Does Threat modeling include scripts?

No. The skill consists of a single SKILL.md instruction file with no scripts or reference files.

How do I install Threat modeling in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/threat-modeling to use it in all your projects, or to .claude/skills/threat-modeling in one project. Or install the konductor plugin, which includes it: /plugin marketplace add aws-solutions/konductor, then /plugin install konductor@konductor.

Does Threat modeling run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Threat modeling?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Threat modeling?

The closest alternatives to Threat modeling are Threat model, Sh threat model, Security threat model, Threat model analyst and Security reasoning.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from aws-solutions/konductor

  1. Helps diagnose and troubleshoot an existing Konductor install, CLI, and MCP setup

    • Open source
    • 12 GitHub stars
    • Developer tools
  2. Installs, updates or removes the Konductor toolkit in a Kiro workspace with consent gates

    • Open source
    • 12 GitHub stars
    • Developer tools
  3. Onboards you to Konductor: install the CLI, set up agent content, and start a session

    • Open source
    • 12 GitHub stars
    • Developer tools
  4. Adversarial second-pass code review that hunts for disclosure, data integrity

    • Open source
    • 12 GitHub stars
    • Security