threat-model SKILL.md skillA

threat-model from air-gapped/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add air-gapped/skills/threat-model@git:20261027.6fcd57a

Pins git:20261027.6fcd57a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
air-gapped/skills
Path
.claude/skills/threat-model/SKILL.md
Versions recorded
6
Latest version
git:20261027.6fcd57a, committed Oct 27, 2026
First version recorded
May 31, 2026
Size
9,435 bytes
Repository stars
5
License
MIT

[1/4 defending-code] Build a threat model for a target codebase. Optional first step of the find-and-fix loop (/threat-model -> /vuln-scan -> /triage -> /patch); its THREAT_MODEL.md scopes and severity-calibrates every later step, but /vuln-scan runs without it. Three modes: "interview" walks an application owner through the four-question framework and produces a threat model from their answers; "bootstrap" derives a threat model from the code plus past vulnerabilities…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# threat-model

First leg of the defending-code loop (**`/threat-model`** → `/vuln-scan` →
`/triage` → `/patch`), and an optional one — the loop can start at
`/vuln-scan`. Running this first is what makes later steps scope to real
attack surface and rank by impact on a named asset.

A threat model answers **"what could go wrong with this system, who would do
it, and what should we do about it?"** independently of whether any specific
bug has been found yet. It is the map; vulnerability discovery is the metal
detector. A good threat model tells the pipeline where to look and tells triage
which findings matter.

**Litmus test:** If patching one line of code makes an entry disappear, it was
a vulnerability, not a threat. A threat ("attacker achieves RCE via untrusted
media parsing") still stands after every known bug is fixed; a vulnerability
("`dr_wav.h:412` doesn't bounds-check `chunk_size`") does not. This skill
produces threats. Vulnerabilities appear only as **evidence** that raises a
threat's likelihood score.

**Invocation:** `/threat-model [bootstrap-then-interview|bootstrap|interview] <target-dir> [flags]`

---

## Step 0 — Safety preamble (always runs first)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add air-gapped/skills/threat-model@sha256:7b2b963fd7e2dfae

The line at the top of this page pins the label git:20261027.6fcd57a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_i5e7g6owmqhjtef3.svg)](https://markdownregistry.com/a/art_i5e7g6owmqhjtef3)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between May 31, 2026 and Oct 27, 2026, about one every 30 days.

versioncommittedcommitsizeaudit
git:20261027.6fcd57a latest2026-10-27 6fcd57a 9,435 BA view · diff
git:20260915.5af223a2026-09-15 5af223a 9,349 BA view · diff
git:20260915.34767df2026-09-15 34767df 9,359 BA view · diff
git:20260819.4c04ab62026-08-19 4c04ab6 9,358 BA view · diff
git:20260725.9f8a37d2026-07-25 9f8a37d 8,986 BA view · diff
git:20260531.52004132026-05-31 5200413 8,125 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9435 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

air-gapped/skills · 5 stars · license MIT · pushed 2026-10-28 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_i5e7g6owmqhjtef3
GET https://markdownregistry.com/api/v1/resolve?ref=air-gapped/skills/threat-model
GET https://markdownregistry.com/api/v1/blob/7b2b963fd7e2dfae2edfe9ddb0fd6186340b291d6f0f93eb46eaf87f767f9272

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from air-gapped/skills

aiperf SKILL.md skill
air-gapped/skills · .claude/skills/aiperf/SKILL.md · NVIDIA AIPerf — vendor-neutral generative-AI inference benchmarking (genai-perf successor). `aiperf profile`…
git:20261019.9eca78f · audit A · 5 stars
airgap-vetting SKILL.md skill
air-gapped/skills · .claude/skills/airgap-vetting/SKILL.md · Vet an open-source product for air-gap readiness BEFORE adoption. Answers eight questions — telemetry…
git:20261027.4b5fb58 · audit A · 5 stars
analytical-troubleshooting SKILL.md skill
air-gapped/skills · .claude/skills/analytical-troubleshooting/SKILL.md · Structured live troubleshooting for deviation problems: something worked (or should work) and now doesn't, and the…
git:20261019.819b406 · audit A · 5 stars
ansible-idrac-9-10 SKILL.md skill
air-gapped/skills · .claude/skills/ansible-idrac-9-10/SKILL.md · Run and debug `dellemc.openmanage` Ansible playbooks against Dell PowerEdge **iDRAC 9** (14G–16G) and **iDRAC 10** (17G…
git:20261019.b3bbe99 · audit A · 5 stars
argo-cd-apps SKILL.md skill
air-gapped/skills · .claude/skills/argo-cd-apps/SKILL.md · Author and maintain Argo CD `Application` and `ApplicationSet` manifests as a GitOps consumer (publisher), targeting…
git:20261027.31fbcc7 · audit A · 5 stars
autoresearch SKILL.md skill
air-gapped/skills · .claude/skills/autoresearch/SKILL.md · Autonomous experiment loops that hill-climb a measurable metric — apply one change, measure, keep it only if the number…
git:20261027.75d87c7 · audit A · 5 stars
baml-expert SKILL.md skill
air-gapped/skills · .claude/skills/baml-expert/SKILL.md · BAML (Boundary ML) expert for projects defining LLM calls as typed functions in .baml files with a generated Python…
git:20261027.db2bb25 · audit A · 5 stars
ceph-performance SKILL.md skill
air-gapped/skills · .claude/skills/ceph-performance/SKILL.md · Tune and benchmark a healthy Ceph cluster, with Rook-on-Kubernetes specifics: mClock profiles and the NVMe…
git:20261027.28d2580 · audit A · 5 stars
ceph-s3 SKILL.md skill
air-gapped/skills · .claude/skills/ceph-s3/SKILL.md · Run Ceph RGW as an S3 endpoint under Rook (CephObjectStore, CephObjectStoreUser, ObjectBucketClaim, COSI…
git:20261027.61472c6 · audit A · 5 stars
ceph-troubleshooting SKILL.md skill
air-gapped/skills · .claude/skills/ceph-troubleshooting/SKILL.md · Diagnose and recover an unhealthy Ceph cluster, with Rook-on-Kubernetes specifics: slow or stuck recovery/backfill…
git:20261027.0ad34cc · audit A · 5 stars
chat-completions-api SKILL.md skill
air-gapped/skills · .claude/skills/chat-completions-api/SKILL.md · Reference for the OpenAI Chat Completions API (/v1/chat/completions) and legacy /v1/completions as the lingua-franca…
git:20261027.42f4242 · audit A · 5 stars
claude-code-ci-harness SKILL.md skill
air-gapped/skills · .claude/skills/claude-code-ci-harness/SKILL.md · Run Claude Code headlessly as an isolated CI harness against any Anthropic Messages-compatible endpoint (local engine…
git:20261019.25dcc92 · audit A · 5 stars

Every file in air-gapped/skills

Other files named threat-model

threat-model SKILL.md skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/threat-model/SKILL.md · Use when Codex is already in the threat-modeling phase of a security scan, the user explicitly invokes $threat-model…
git:20260606.a4decec · audit A · 517 stars
threat-model SKILL.md skill
amirfish1/claude-command-center · plugin/skills/threat-model/SKILL.md · Use before shipping a change that touches a trust boundary (a new endpoint, input parser, file-path handler, subprocess…
git:20261009.a664025 · audit B · 212 stars
threat-model SKILL.md skill
haabe/mycelium · plugins/mycelium/skills/threat-model/SKILL.md · Use to conduct STRIDE threat modeling for a system or feature design.
git:20261007.33e0656 · audit A · 51 stars
threat-model SKILL.md skill
byerlikaya/claude-starter-kit · plugin/skills/threat-model/SKILL.md · Scope a security audit BEFORE scanning, to cut false positives: map assets, entry points, trust boundaries and 5-8…
git:20260926.aaa5dbc · audit A · 26 stars
threat-model SKILL.md skill
byerlikaya/claude-starter-kit · kit/skills/threat-model/SKILL.md · Scope a security audit BEFORE scanning, to cut false positives: map assets, entry points, trust boundaries and 5-8…
git:20260926.aaa5dbc · audit A · 26 stars
threat-model SKILL.md skill
qa-aman/claude-skills · skills/by-role/security/threat-model/SKILL.md · Write a threat model document. Use when the user says "threat model", "threat modeling", "STRIDE analysis", "attack…
git:20260303.8412b01 · audit A · 24 stars
threat-model SKILL.md skill
perrylink/dsh-skill-pack-security · skills-en/threat-model/SKILL.md · Lightweight threat modeling for new features/systems: fix the target, scope and trust boundaries, asset inventory…
v2.2.25 · audit A · 22 stars
threat-model SKILL.md skill
perrylink/dsh-skill-pack-security · skills/threat-model/SKILL.md · 新功能/新系统的轻量威胁建模:固定对象→划定范围与信任边界→资产清单→STRIDE 逐资产威胁表→攻击树(可选)→缓解与优先级,产出可进设计评审的威胁模型文档。为新功能/新改动做设计阶段安全评审、梳理信任边界或画攻击树时用;与安全边界无关的…
v2.2.25 · audit A · 22 stars

Browse by kind, by grade A, or by owner.