Skip to content
Skill

Security model

Define, review, or update SECURITY_MODEL.md files that tell security review tools a repository's threat model, trust boundaries, invariants,

Install
Scripts
Python
Platforms
Claude Code, Codex, Cursor
GitHub stars
1.2K
Last commit
3 days ago
License
Apache-2.0
Listing updated
today

When your agent uses it

Define, review, or update SECURITY_MODEL.md files that tell security review tools a repository's threat model, trust boundaries, invariants, reportable finding classes, and exclusions. Use when asked to "write a security model", "threat model this repo for scanners", "define security review scope", "what counts as a vulnerability here", "update SECURITY_MODEL.md", "why did the scanner flag or miss this", or to check whether existing security guidance still matches the code. Not for running a security review or editing the SECURITY.md disclosure policy.

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 7 files (62 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

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

/plugin marketplace add getsentry/skills
/plugin install sentry-skills@sentry-skills

Or copy only this skill to ~/.claude/skills/security-model:

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

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

Claude Code docs on skills

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

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

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

Codex docs on skills

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

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

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

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

Gemini CLI docs on skills

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

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

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

VS Code docs on skills

Get the folder:

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

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

The SKILL.md format

Security model FAQ

How do I install Security model in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/security-model to use it in all your projects, or to .claude/skills/security-model in one project. Or install the sentry-skills plugin, which includes it: /plugin marketplace add getsentry/skills, then /plugin install sentry-skills@sentry-skills.

Does Security model run scripts?

Yes. It runs Python scripts. No network calls were found in its 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 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 model?

The closest alternatives to Security model are Audit integrity, Tm7 threat model, MCP implementation security review, Threat model analyst and Security review.

More from getsentry/skills

  1. Creates and maintains concise AGENTS.md and CLAUDE.md project instruction files

    • Open source
    • 1.2K GitHub stars
    • Files and documents
  2. Write, review, and improve blog posts for the Sentry engineering blog following Sentry's specific writing standards, voice, and quality bar

    • Open source
    • 1.2K GitHub stars
  3. Write copy following Sentry brand guidelines

    • Open source
    • 1.2K GitHub stars
  4. Connects an agent's browser to a local Sentry dev server (dev-ui on *.dev.getsentry.net or the full devserver).

    • Open source
    • 1.2K GitHub stars
    • Developer tools
  5. Analyze a repository to generate recommended Claude Code settings.json permissions

    • Open source
    • 1.2K GitHub stars
    • AI models and LLM tooling
  6. Perform code reviews following Sentry engineering practices

    • Open source
    • 1.2K GitHub stars
    • Developer tools

Alternatives to Security model

  1. Enforce output quality, evidence verification, and quality gates across security audits

    • Open source
    • 41.3K GitHub stars
    • Security
  2. Creates valid Microsoft Threat Modeling Tool (.tm7) files compatible with the Microsoft Threat Modeling Tool v7.3+

    • Open source
    • 41.3K GitHub stars
    • Security
  3. Review the implementation source code of MCP (Model Context Protocol) servers, clients, and tool handlers against a security baseline — auth

    • Open source
    • 41.3K GitHub stars
    • Security
  4. Full STRIDE-A threat model analysis and incremental update skill for repositories and systems

    • Open source
    • 41.3K GitHub stars
    • Security
  5. AI-powered codebase security scanner that reasons about code like a security researcher — tracing data flows, understanding component intera

    • Open source
    • 41.3K GitHub stars
    • Security
  6. Configure, test and review Spring Security 6/7 in Spring Boot 3/4 apps: SecurityFilterChain lambda DSL, method security, OAuth2 resource ser

    • Open source
    • 41.3K GitHub stars
    • Security