threat-modeler

threat-modeler is a skill for Claude Code, Codex from inbharatai/claude-skills. It costs 23 tokens per session (399 once invoked), scanned A, original, MIT.

A guide for threat modeling, the process of finding ways a system could be attacked before those attacks happen. It covers STRIDE, attack trees, data-flow diagrams, and suggested mitigations.

In plain words
What is it for?
Use it to map data flows, analyse possible attacks, and document security mitigations.
Why use it?
It helps reveal security risks and decide how to reduce them during design and development.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to map data flows, analyse possible attacks, and document security mitigations.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/inbharatai/claude-skills/threat-modeler"><img src="https://agentmods.dev/badge/skills/inbharatai/claude-skills/threat-modeler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 399 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.00023 $0.00399
Opus 5.5 $0.00009 $0.00160
Sonnet 5.5 $0.00005 $0.00080
Haiku 4.5 $0.00002 $0.00040

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

Security

Grade A, and why

threat-modeler 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 3mo 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-modeler/SKILL.md · 68 lines

What it actually says

Threat Modeler

Overview

Perform threat modeling — STRIDE, attack trees, data flow diagrams, and mitigation recommendations.

When to Use This Skill

Use Threat Modeler when you need to:

  • Work with threat modeler tasks in your project or workflow
  • Automate threat modeler operations at scale
  • Generate production-quality threat modeler output quickly

Instructions

When this skill is active, Claude will:

  1. Understand the full context of your threat modeler request
  2. Apply best practices and conventions for Security
  3. Produce clean, well-structured, production-ready output
  4. Explain key decisions and offer alternatives where relevant

Examples

Example 1 — Basic Usage

User: Help me get started with threat modeler.

Claude: I'll walk you through the essential steps for threat modeler in your context...

Example 2 — Advanced Usage

User: I need a production-ready threat modeler setup with full error handling.

Claude: Here's a complete, production-hardened threat modeler implementation...

Guidelines

  • Always validate inputs before processing
  • Follow the conventions of the target platform or language
  • Prefer explicit over implicit — clarity beats cleverness
  • Include comments for non-obvious logic
  • Suggest tests or validation steps where appropriate

Dependencies

Required: none

Platforms

Available on: claude.ai, claude-code, api


Part of the claude-skills collection — 183+ skills for Claude.

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. 3mo ago First seen · 68 lines · 23 tokens per session scan A 962de28959fe

Subscribe to this mod's changes

threat-modeler is a skill published in the GitHub repository inbharatai/claude-skills (44 stars, last pushed 8mo ago), licensed MIT. It adds 23 tokens to every session and 399 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-modeler compared with skills from other repositories

threat-modeler next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
threat-modelerinbharatai/claude-skillsSkill448mo agoMITA23Claude Code, Codex
human-reviewIrtezaAsadRizvi/claude-human-reviewSkill147mo agononeA83Claude Code
optimizeHashaam101/prompt-optimizerSkill78mo agononeA51Claude Code
nav-diagnoseqf-studio/navigatorSkill35818d agoMITA43Claude Code
kafka-event-driven-designjohnqtcg/awesome-skillsSkill32todayMITA191Claude Code, Codex
google-searchjohnqtcg/awesome-skillsSkill32todayMITA143Claude Code
mysql-migrationjohnqtcg/awesome-skillsSkill32todayMITA132Claude Code, Codex