threat-model-quickdraw

threat-model-quickdraw is a skill for Claude Code, Codex from isaacsight/kernel. It costs 34 tokens per session (942 once invoked), scanned A, original, MIT.

A short security review for a new feature or architectural change. It maps actors, data flows, trust boundaries, and common attack types using the STRIDE method.

In plain words
What is it for?
Use it before changes involving authentication, payments, personal data, third-party data, or new network boundaries.
Why use it?
It exposes security risks before implementation and turns proposed protections into checks that can be tested.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before changes involving authentication, payments, personal data, third-party data, or new network boundaries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/isaacsight/kernel/threat-model-quickdraw
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add isaacsight/kernel --skill threat-model-quickdraw
Clone the repo
git clone --depth 1 https://github.com/isaacsight/kernel

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for threat-model-quickdraw

README.md
[![agentmods](https://agentmods.dev/badge/skills/isaacsight/kernel/threat-model-quickdraw/github.svg)](https://agentmods.dev/skills/isaacsight/kernel/threat-model-quickdraw)
Your own site
<a href="https://agentmods.dev/skills/isaacsight/kernel/threat-model-quickdraw"><img src="https://agentmods.dev/badge/skills/isaacsight/kernel/threat-model-quickdraw/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for threat-model-quickdraw

Your own site · 80×15
<a href="https://agentmods.dev/skills/isaacsight/kernel/threat-model-quickdraw"><img src="https://agentmods.dev/badge/skills/isaacsight/kernel/threat-model-quickdraw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 942 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 59
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 59
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.00942
Opus 5.5 $0.00014 $0.00377
Sonnet 5.5 $0.00007 $0.00188
Haiku 4.5 $0.00003 $0.00094

Measured 2mo ago against content hash 7a9f49a05200, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

threat-model-quickdraw scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/kbot/skills/security-audit/threat-model-quickdraw/SKILL.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Threat Model Quickdraw

A real threat model takes a week and a whiteboard. A quickdraw takes thirty minutes and a markdown file. Most features deserve the latter; very few warrant the former.

When to Use

  • Before writing the first line of a new feature that touches auth, money, PII, or third-party data
  • Before committing an architectural change that adds a network boundary
  • During PR review when the diff crosses a trust boundary
  • After a security incident, on the affected subsystem

Skip when the change is internal-only, has no user input, and touches no secrets.

Iron Laws

EVERY EXTERNAL INPUT IS HOSTILE UNTIL PROVEN OTHERWISE.
EVERY TRUST BOUNDARY GETS A NAMED CHECK.
EVERY MITIGATION GETS A TEST.

Four Phases

Phase 1 — Diagram

A box-and-arrow diagram in ASCII or markdown. Five-minute exercise. Include:

  • Every actor (user, admin, service, attacker)
  • Every data store (database, blob, queue, cache)
  • Every trust boundary as a dashed line
  • Every flow as a labeled arrow

If you cannot draw it in five minutes, the feature is too big — split it.

Phase 2 — STRIDE walk

For each component and each flow, ask the six questions in order:

Letter Threat Sample question
S Spoofing Can someone claim to be a different actor?
T Tampering Can data be modified in transit or at rest?
R Repudiation Can an actor deny they took the action?
I Information disclosure Can secrets or PII leak via this path?
D Denial of service Can an attacker exhaust this resource cheaply?
E Elevation of privilege Can an actor gain rights they shouldn't have?

For each "yes," write a one-line threat and a one-line mitigation. Park "maybe" entries in an Open Questions section.

Phase 3 — Rank and cut

Rank threats by (likelihood × impact). Address the top third now; ticket the middle third; document the bottom third as accepted risk with a name attached.

Phase 4 — Record

Read the full file on GitHub · 108 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 108 lines · 34 tokens per session scan A 7a9f49a05200

Subscribe to this mod's changes

threat-model-quickdraw is a skill published in the GitHub repository isaacsight/kernel (16 stars, last pushed 2mo ago), licensed MIT. It adds 34 tokens to every session and 942 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

threat-model-quickdraw compared with skills from other repositories

threat-model-quickdraw next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
threat-model-quickdrawisaacsight/kernelSkill162mo agoMITA34Claude Code, Codex
pr-video-agentomnara-ai/omnaraSkill3.5ktodayApache-2.0A61Claude Code, Codex
x-signal-agentomnara-ai/omnaraSkill3.5ktodayApache-2.0A53Claude Code, Codex
composiodesplega-ai/agent-swarmSkill1.1ktodayMITA128Claude Code
skill-ledgeralibaba/anolisaSkill6889d agoApache-2.0A67Claude Code, Codex
regex-masteryalibaba/anolisaSkill6889d agoApache-2.0A60Claude Code, Codex
close-issuedesplega-ai/agent-swarmSkill1.1ktodayMITA16Claude Code