Skip to content
Skill

Security threat model

Repository-grounded threat modeling that enumerates trust boundaries, assets, attacker capabilities, abuse paths, and mitigations, and write

Install
Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
28.8K
Last commit
20 days ago
Listing updated
today

When your agent uses it

Repository-grounded threat modeling that enumerates trust boundaries, assets, attacker capabilities, abuse paths, and mitigations, and writes a concise Markdown threat model. Trigger only when the user explicitly asks to threat model a codebase or path, enumerate threats/abuse paths, or perform AppSec threat modeling. Do not trigger for general architecture summaries, code review, or non-security design work.

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 5 files (30 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Install

Copy the skill folder to ~/.claude/skills/security-threat-model to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/openai/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/security-threat-model &&
cp -R "$tmp/skills/.curated/security-threat-model" ~/.claude/skills/security-threat-model &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/openai/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/security-threat-model &&
cp -R "$tmp/skills/.curated/security-threat-model" ~/.agents/skills/security-threat-model &&
rm -rf "$tmp"

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

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/openai/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/security-threat-model &&
cp -R "$tmp/skills/.curated/security-threat-model" ~/.cursor/skills/security-threat-model &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/security-threat-model 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/openai/skills.git --path skills/.curated/security-threat-model

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

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/openai/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/security-threat-model &&
cp -R "$tmp/skills/.curated/security-threat-model" ~/.copilot/skills/security-threat-model &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/openai/skills.git

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

The SKILL.md format

Security threat model FAQ

How do I install Security threat model in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/security-threat-model to use it in all your projects, or to .claude/skills/security-threat-model in one project.

Does Security threat model 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 Security threat model?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Security threat model?

The closest alternatives to Security threat model are Rea changelog update, Code review, Gem devops guidelines, SQL code review and Create github issues feature from implementation plan.

More from openai/skills

  1. Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script

    • 28.8K GitHub stars
  2. Create and scaffold plugin directories for Codex with a required `.codex-plugin/plugin.json`, optional plugin folders/files, and baseline pl

    • 28.8K GitHub stars
  3. Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development

    • 28.8K GitHub stars
  4. Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI

    • 28.8K GitHub stars
  5. Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services

    • 28.8K GitHub stars
    • Cloud and infrastructure
  6. Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an

    • 28.8K GitHub stars

Alternatives to Security threat model

  1. Prepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Ple

    • Open source
    • 465K GitHub stars
    • Developer tools
  2. Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's docu

    • Open source
    • 326K GitHub stars
    • Developer tools
  3. Design or review infrastructure, deployment, CI/CD, Docker, Kubernetes, health checks, rollback, feature flags, production readiness, and mo

    • Open source
    • 41.3K GitHub stars
    • Cloud and infrastructure
  4. Universal SQL code review assistant that performs comprehensive security, maintainability, and code quality analysis across all SQL database

    • Open source
    • 41.3K GitHub stars
    • Databases
  5. Turn vague "what did I do?" into evidence-backed impact statements for performance reviews, self-reviews, promotion packets, and weekly upda

    • Open source
    • 41.3K GitHub stars
    • Developer tools