threat-modeling

threat-modeling is a skill for Claude Code from uwuclxdy/agenticat. It costs 25 tokens per session (691 once invoked), scanned A, original, MIT.

A security-analysis guide for examining a system’s components and the paths that data follows between them. It uses STRIDE, a standard list of threat types, plus attack trees and security requirements.

In plain words
What is it for?
Finding threats, mapping attack paths, turning threats into requirements, choosing safeguards, and mapping them to frameworks such as PCI-DSS, HIPAA, GDPR, and OWASP ASVS.
Why use it?
It helps identify security risks before implementation and connect those risks to mitigations and compliance controls.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Finding threats, mapping attack paths, turning threats into requirements, choosing safeguards, and mapping them to frameworks such as PCI-DSS, HIPAA, GDPR, and OWASP ASVS.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uwuclxdy/agenticat/threat-modeling
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 uwuclxdy/agenticat --skill threat-modeling
Clone the repo
git clone --depth 1 https://github.com/uwuclxdy/agenticat

Made for: Claude Code.

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-modeling

README.md
[![agentmods](https://agentmods.dev/badge/skills/uwuclxdy/agenticat/threat-modeling/github.svg)](https://agentmods.dev/skills/uwuclxdy/agenticat/threat-modeling)
Your own site
<a href="https://agentmods.dev/skills/uwuclxdy/agenticat/threat-modeling"><img src="https://agentmods.dev/badge/skills/uwuclxdy/agenticat/threat-modeling/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-modeling

Your own site · 80×15
<a href="https://agentmods.dev/skills/uwuclxdy/agenticat/threat-modeling"><img src="https://agentmods.dev/badge/skills/uwuclxdy/agenticat/threat-modeling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 691 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.
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.00025 $0.00691
Opus 5 $0.00013 $0.00345
Sonnet 5 $0.00005 $0.00138
Haiku 4.5 $0.00003 $0.00069

Measured 9d ago against content hash 4d46b9d917fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

threat-modeling 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 9d 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.

skills/threat-modeling/SKILL.md · 58 lines

How it starts

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

Threat Modeling

This threat-models a system's components and data flows, not its code. Pick the one reference the task needs; don't load all four.

Task File
Identify threats per component/interaction (STRIDE questionnaires, DFD trust-boundary analysis, threat-model doc template) references/stride.md
Map attack paths (OR/AND node model, path + coverage analysis, worked account-takeover example) references/attack-trees.md
Turn threats into requirements (STRIDE -> requirement patterns, compliance mapping with PCI-DSS/HIPAA/GDPR/OWASP-ASVS control IDs; SOC2/NIST CSF/ISO 27001 have no control-id table) references/requirements.md
Choose and prioritize controls (standard-controls library, defense-in-depth layering, coverage + gap analysis) references/mitigations.md

Core Model

STRIDE categories and the property each violates:

Threat Property violated
Spoofing Authentication
Tampering Integrity
Repudiation Non-repudiation
Information disclosure Confidentiality
Denial of service Availability
Elevation of privilege Authorization

Attack trees: root = attacker goal; OR nodes (any child suffices), AND nodes (all children required), leaves = concrete attack steps scored by difficulty, cost, and detection risk. Cheapest complete path = priority defense target.

Control categories, in layering order: preventive (stop), detective (notice), corrective (recover). Deterrent and compensating controls sit outside that order. A threat counts as covered only when both a preventive control and a detective control apply.

Workflow

  1. Define scope and trust boundaries.
  2. Draw the data flow diagram (flows and boundaries, not just components).
  3. Identify assets and entry points.
  4. Apply STRIDE per element and per interaction (references/stride.md).
  5. Build attack trees for the critical paths (references/attack-trees.md).
  6. Score and prioritize (likelihood × impact).
  7. Extract requirements and map controls (references/requirements.md, references/mitigations.md).
  8. Document residual risks; revisit when components, trust boundaries, or data flows change.

Read the full file on GitHub · 58 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 58 lines · 25 tokens per session scan A 4d46b9d917fb

Subscribe to this mod's changes

threat-modeling is a skill published in the GitHub repository uwuclxdy/agenticat (5 stars, last pushed 2d ago), licensed MIT. It adds 25 tokens to every session and 691 once invoked, about $0.0001 per session on Opus 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-08-31.

Related

Other skills, from other repositories

meta-harness

Run a Meta-Harness-style optimization loop NATIVELY — automatically search over the scaffolding around a FIXED base model (memory, retrieval, context construction, prompt templates, summarization, tool-selection logic) by proposing candidate variants, scoring each on a cheap deterministic eval, and keeping a Pareto…

001TMF/harness-forge · 217 tokens

meta-harness-proteus

Run one iteration of proteus memory-summary evolution. Called by metaharness.py.

001TMF/harness-forge · 24 tokens

gbg

Convert any plan, PRD, feature idea, or brief into a sequenced goal-by-goal execution document with reviewer-gated commits — for everyday feature development, MVPs, migrations, refactors, and hardening alike. Generates a project brief, per-goal scope/tasks/acceptance criteria, an LLM-reviewer prompt (Codex/etc.), a…

cielebak/goal-by-goal · 150 tokens

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

haiku

When writing a haiku for this bot, follow these conventions.

agno-agi/agno · 0 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens