/crewforth:threat-modelfrom Crewforth
Scopes security audits by mapping assets, entry points, trust boundaries, and domain-specific attack classes into a structured THREAT_MODEL.md. Reduces false positives by distinguishing threats from vulnerabilities.
Ships in Crewforth. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Trigger phrases: "threat model", "attack surface", "scope the audit", "trust boundary"
Scope first, scan second. A security scan with no map produces noise; a threat model tells the scanner (and
security-scan) where to look and what matters — the single biggest lever on false positives.
The one idea to keep — the litmus test: if patching one line of code makes an entry disappear, it was a vulnerability, not a threat. Threats survive patching (they name what an attacker wants and the surface they arrive through); a vulnerability is only evidence that raises a threat's likelihood.
Crewforth adaptation (local, .claude/):
crew-security-expertruns this to scope beforesecurity-scan. Outputdocs/THREAT_MODEL.mdis internal (§4.3). Stack-agnostic. §4 Prohibitions apply.
security-scan of a system, or when scan output is noisy / unscoped.Never dump a questionnaire; ask, capture into the schema, move on. Mirror the user's language.
risk_accepted) is a valid answer.Tag every fact [Code-verified] or [Owner-states]; each owner claim that moves a score becomes an
open question with a "Verify by:" note.
Write docs/THREAT_MODEL.md to the parseable contract in references/schema.md (fixed sections; a threats
table with enumerated columns; residual-likelihood scoring; class-level mitigations). The interview flow, the
STRIDE table, and the bootstrap steps live in references/interview.md.
security-scan reads THREAT_MODEL.md to scope its fronts and bias severity.docs/THREAT_MODEL.md exists; every entry point covered; each threat scored; provenance tagged; scope handed to security-scan.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
threat-modeling, security-audit, attack-surface, stride, risk-assessment
npx claudepluginhub crewforth/crewforth --plugin crewforth60 skills in this plugin
/a11yUse when building or changing UI, before shipping a user-facing screen, and when something cannot be
reached with a keyboard, read by a screen reader, or seen at low contrast.
/adrArchitecture Decision Record: context-decision-consequences, for decisions that are expensive to reverse.
Written under docs/adr/.
/api-designUse when an API contract is designed or changed: a new endpoint or resource, how its errors and pages
are returned, a field to add or remove, or a version to cut without breaking a consumer.
/automode-policyAuto-mode classifier config: inspect what the classifier that answers permission prompts is configured
with, and catch the silent case where a custom autoMode block drops the built-in block rules.
/backend-architectureDecide, record and apply the backend stack and architecture pattern.
Use when backend work starts with no recorded stack, or a framework/DB/pattern must be chosen.
/brainstormUse when the ask is still fuzzy and no direction is chosen yet: "not sure what we want", several ways to go,
or a scope to settle before any plan is written.
Other plugins' skills for the same job