Threat Modelling

Analyse repositories and deployed cloud infrastructure to produce STRIDE-based threat model documents with Mermaid architecture diagrams, prioritised threats, and recommendations. Use when a user asks to create a threat model, identify threats, assess attack surfaces, review an existing threat model, or update a threat model after system changes.

23 stars 2 forksSecurity

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add willvelida/code-minions --skill threat-modelling
Manual install
git clone --depth 1 https://github.com/willvelida/code-minions.git /tmp/code-minions
mkdir -p ~/.claude/skills
cp -r /tmp/code-minions/packages/threat-modelling/skills/threat-modelling ~/.claude/skills/threat-modelling

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Threat Modelling

## Overview

This skill produces threat model documents by analysing codebases, infrastructure-as-code, and live cloud resources. It follows the [STRIDE framework](https://learn.microsoft.com/en-us/training/modules/tm-use-a-framework-to-identify-threats-and-find-ways-to-reduce-or-eliminate-risk/) and the [Microsoft Threat Modeling Fundamentals](https://learn.microsoft.com/en-us/training/paths/tm-threat-modeling-fundamentals/) four-phase approach: Design, Break, Fix (recommendations only), and Verify.

**This skill produces threat models. It does NOT implement fixes or perform penetration testing.**

## Capabilities

| Capability | Action | Description |
|------------|--------|-------------|
| Analyse Repository | `actions/analyse-repository.md` | Scan codebase and IaC to map architecture and confirm a data flow diagram |
| Assess Infrastructure | `actions/assess-infrastructure.md` | Query live cloud resources via MCP servers to map architecture and confirm a data flow diagram |
| Generate Threat Model | `actions/generate-threat-model.md` | Apply STRIDE to a confirmed diagram, produce threat model diagram and document |
| Review Threat Model | `actions/review-threat-model.md` | Evaluate an existing threat model for completeness and accuracy |
| Update Threat Model | `actions/update-threat-model.md` | Revise an existing threat model based on system changes |

## Standards

| Standard | File | Description |
|----------|------|-------------|
Read the full skill on GitHub

Details

Skill name
threat-modelling
Path
packages/threat-modelling/skills/threat-modelling/SKILL.md
License
Apache-2.0
Repo updated
11 June 2026

FAQ

What does the Threat Modelling skill do?

Analyse repositories and deployed cloud infrastructure to produce STRIDE-based threat model documents with Mermaid architecture diagrams, prioritised threats, and recommendations. Use when a user asks to create a threat model, identify threats, assess attack surfaces, review an existing threat model, or update a threat model after system changes.

How do I install the Threat Modelling skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add willvelida/code-minions --skill threat-modelling. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Threat Modelling popular?

It lives in willvelida/code-minions, which has 23 GitHub stars and 2 forks.

Related skills

Creating Agent Skill

23

willvelida/code-minions

Create and review Agent Skills that follow the open Agent Skills specification and best practices. Use when a user asks to create a new skill, build skill instructions, generate a SKILL.md file, review an existing skill for compliance, or improve skill quality. Covers skill structure, naming conventions, progressive disclosure, writing effective descriptions, creating actions and standards, and validation.

AI, LLMs & Agents

Creating Agents

23

willvelida/code-minions

Create and review agent definition files (agents.md) that give AI coding agents a clear persona, project knowledge, executable commands, code style examples, and explicit boundaries. Use when a user asks to create an agent, define an agent persona, write an agents.md file, set up a custom Copilot agent, review an existing agent definition, or improve agent quality. Covers the six core areas: commands, testing, project structure, code style, git workflow, and boundaries.

AI, LLMs & Agents

Creating Devcontainers

23

willvelida/code-minions

Create and review DevContainer configurations that follow organisational standards. Use when a user asks to set up a dev container, configure a development environment, create a devcontainer.json, add lifecycle hooks, review an existing DevContainer for compliance, or improve container security. Covers base images, features, extensions, lifecycle hooks, and security hardening.

Security

Cvss Score Extraction

49

UCSB-NLP-Chang/Skill-Usage

Extract CVSS (Common Vulnerability Scoring System) scores from vulnerability data sources with proper fallback handling. This skill covers understanding CVSS v3, handling multiple score sources (NVD, GHSA, RedHat), implementing source priority logic, and dealing with missing scores in security reporting.

Security

FFUF Web Fuzzing

43

lifangda/claude-plugins

Integrates ffuf fuzzer for web vulnerability analysis. Expert guidance for penetration testing with authenticated fuzzing capabilities.

Security13

Fuzzing Python

49

UCSB-NLP-Chang/Skill-Usage

Creating fuzz driver for Python libraries using LibFuzzer. This skill is useful when agent needs to work with creating fuzz drivers / fuzz targets for Python project and libraries.

Security

Browse the most popular Claude skills, all security skills, or write your own with the skills generator.