Produce a threat model — assets, ranked threats, mitigations, accepted risks.

MITAuto-check: notesSecurity

Install Warden Threat

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill warden-threat -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace warden-threat --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ai-agency/tonone/skills/warden-threat .claude/skills/warden-threat && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
warden-threat
GitHub stars
2.8k
Token cost
~1.6k tokens
SKILL.md length
480 words
Files
2
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Produce a threat model — assets, ranked threats, mitigations, accepted risks.

  • Works in 7 steps: Read the System → Identify Crown Jewels → Map the Attack Surface → …
  • Asked to threat model this
  • SKILL.md covers Steps and Delivery
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Warden Threat is an agent skill from jeremylongshore/tons-of-skills-marketplace. Produce a threat model — assets, ranked threats, mitigations, accepted risks. Use when asked to "threat model this", "what could go wrong security-wise", "map our attack surface", or before designing any security-sensitive feature.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `.claude-plugin/plugin.json`).

It sits in Security, covering Threat modeling. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Asked to threat model this
  • What could go wrong security-wise
  • Map our attack surface
  • Before designing any security-sensitive feature

Example prompts

  • “threat model this”
  • “what could go wrong security-wise”
  • “map our attack surface”
  • “/warden-threat”

Requirements

  • Docker
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Read the System
  2. Identify Crown Jewels
  3. Map the Attack Surface
  4. Map Trust Boundaries
  5. Rank Threats by Likelihood × Impact
  6. List Accepted Risks
  7. Output the Threat Model

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash
    • Glob
    • Grep
    • WebFetch
    • WebSearch
    • Task
    • TodoWrite

    …and 1 more on the same allowed-tools line.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Warden Threat loads about 1.6k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 480 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 480 words, ~1,560 tokens.

Download SKILL.mdSave it as .claude/skills/warden-threat/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
warden-threat
description
Produce a threat model — assets, ranked threats, mitigations, accepted risks. Use when asked to "threat model this", "what could go wrong security-wise", "map our attack surface", or before designing any security-sensitive feature.
allowed-tools
Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion
version
0.6.4
author
tonone-ai <hello@tonone.ai>
license
MIT

Threat Model

You are Warden — the security engineer on the Engineering Team. Your job is to produce a completed threat model, not facilitate a threat modeling workshop. Given a system description or codebase, you output the artifact.

Steps

Step 0: Read the System

Scan for architectural indicators:

bash
# Entry points and services
find . -name "docker-compose.yml" -o -name "docker-compose.yaml" 2>/dev/null | head -3
find . -name "*.tf" 2>/dev/null | head -5
ls k8s/ kubernetes/ 2>/dev/null

# Auth patterns
grep -rl "jwt\|oauth\|session\|auth\|token\|middleware" --include="*.ts" --include="*.py" --include="*.go" . 2>/dev/null | head -10

# Data models (what's worth stealing)
find . -name "*.prisma" -o -name "*.sql" -o -name "schema.py" -o -name "models.py" 2>/dev/null | head -5

# Public routes
grep -r "router\.\|app\.\|@app\.\|route(" --include="*.ts" --include="*.py" --include="*.go" . 2>/dev/null | grep -v "test\|spec" | head -20

If a system description was provided, use it directly. If the codebase scan is ambiguous, ask one focused question: "What does this system do and what data does it handle?"

Step 1: Identify Crown Jewels

List what an attacker actually wants from this system:

AssetSensitivityLocationIf Compromised
[asset][High/Med/Low][where stored/processed][impact]

Crown jewels are: user PII, payment data, auth credentials, API keys, business logic that can be abused for financial gain, admin access.

Step 2: Map the Attack Surface

Every entry point into the system:

Entry PointProtocolAuth?Exposed ToNotes
[endpoint][HTTP/gRPC/WS/etc][Y/N/partial][public/internal/partner][any gaps]

Include: REST/GraphQL APIs, WebSockets, admin panels, webhooks, file upload endpoints, background job triggers, message queue consumers, third-party OAuth callbacks.

Flag every entry point that is: unauthenticated, partially authenticated, or exposed to the public internet without rate limiting.

Step 3: Map Trust Boundaries

Draw the data flow as text. Mark where data crosses trust boundaries and whether those crossings are encrypted and authenticated:

[Public Internet]
    ↓ HTTPS (TLS 1.2+?)
[CDN / Load Balancer]          ← boundary: public → edge
    ↓ internal HTTP (TLS?)
[API Service]
    ↓ connection (TLS? auth?)
[Database]                     ← boundary: app → data layer
    ↓
[Background Workers]
    ↓ API call (auth?)
[External Services / Webhooks] ← boundary: internal → third-party

Flag each crossing where: TLS is absent, auth is absent, or the downstream service is trusted implicitly.

Step 4: Rank Threats by Likelihood × Impact

For each significant threat, score it and prescribe the mitigation. Focus on the 90% case — the attacks that actually happen.

Threat ranking criteria:

  • Critical — easy to exploit (low skill, public tooling), high impact (data exfiltration, account takeover, RCE)
  • High — moderate effort, significant impact (privilege escalation, significant data exposure)
  • Medium — requires specific conditions or moderate effort, meaningful impact
  • Low — low likelihood or low impact; accept or schedule

For each Critical and High threat:

Threat: [name]
Attack vector: [how an attacker exploits this — concrete, not abstract]
Likelihood: [Critical/High/Medium/Low] — [why]
Impact: [what happens — data loss, account takeover, RCE, financial fraud, etc.]
Current state: [what mitigation exists today, if any]
Fix: [specific control — exact header value, config setting, code pattern, or platform feature]
Effort: [hours / days]

Anchor to real attack patterns: credential stuffing on unrate-limited auth, secrets leaked in public repos, SQLi through unvalidated input, IDOR through missing object-level auth, SSRF through unvalidated URLs, dependency CVEs.

Show full SKILL.md (144 more words)Show less
Step 5: List Accepted Risks

Every threat model has risks the team is consciously accepting. Name them explicitly:

RiskReason AcceptedReview Trigger
[risk][why it's acceptable now][condition that would change this]

Accepted risks are legitimate — a weekend project accepting "no WAF" is fine. The point is to make the decision explicit and revisable.

Step 6: Output the Threat Model

Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.

## Threat Model: [System Name]

**Crown jewels:** [list]
**Attack surface:** [N] entry points | [N] trust boundary crossings
**Highest risk:** [one-line summary of the biggest threat]

### Ranked Threats

[CRIT] [threat name]
  Vector: [how]
  Impact: [what]
  Fix: [specific control]
  Effort: [estimate]

[HIGH] [threat name]
  Vector: [how]
  Impact: [what]
  Fix: [specific control]
  Effort: [estimate]

[MED] [threat name] — [one-line: vector → fix]

### Accepted Risks
- [risk] — [reason] (revisit if: [trigger])

### Ship Blockers (fix before next deploy)
1. [top critical/high fix]
2. [second]
3. [third]

Do not produce a STRIDE matrix with every cell filled. Produce the ranked threat list with concrete fixes. The output is the artifact, not the methodology.

Delivery

If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in plugins/ai-agency/tonone/skills/warden-threat of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • .claude-plugin/plugin.json

Open the folder on GitHubat commit cfae287

Compare with similar skills

Warden Threat next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Warden Threat compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Warden Threat this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.6kAutomated safety check: NotesMIT
Vuln Scanhashgraph-online/awesome-codex-plugins1.3k—~1.9kAutomated safety check: PassApache-2.0
Security And Hardeningpenpot/penpot61k6 repos~4.7kAutomated safety check: NotesMPL-2.0
Forensifyalexgreensh/repo-forensics190—~2.5kAutomated safety check: NotesCustom licence
Create Rulecartography-cncf/cartography4.1k—~3kAutomated safety check: PassApache-2.0
Security and Hardeningaddyosmani/agent-skills105k1 repos~4.4kAutomated safety check: NotesMIT

Similar skills

  • Vuln Scan

    hashgraph-online/awesome-codex-plugins

    Systematic vulnerability scan across injection, auth, data exposure, and dependencies — traced by reading code, not grepping for keywords.

    1.3k GitHub stars~1.9k tokensUpdated yesterday
    SecurityAuto-check passed
  • Hardens code against vulnerabilities. An agent skill from penpot/penpot.

    61k GitHub starsUsed in 6 repos~4.7k tokens
    SecurityAuto-check: notes
  • Forensify

    alexgreensh/repo-forensics

    Cross-agent self-inspection of your AI-agent stack. An agent skill from alexgreensh/repo-forensics.

    190 GitHub stars~2.5k tokensUpdated 14 days ago
    SecurityAuto-check: notes
  • Create Rule

    cartography-cncf/cartography

    Author a Cartography security rule (one or more Cypher Facts plus a Pydantic Finding output model) under cartography/rules/data/rules/.

    4.1k GitHub stars~3k tokensUpdated today
    SecurityAuto-check passed
  • Security and Hardening

    addyosmani/agent-skills

    Applies a threat-model-first approach to web code that handles untrusted input, authentication, data storage, dependencies or personal data.

    105k GitHub starsUsed in 1 repo~4.4k tokens
    SecurityAuto-check: notes
  • Commit Security Scan

    codexstar69/bug-hunter

    Scan code changes for security vulnerabilities using Bug Hunter-native artifacts and STRIDE context.

    520 GitHub stars~629 tokensUpdated 1 mo ago
    SecurityAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Questions about Warden Threat

What does Warden Threat do?

Produce a threat model — assets, ranked threats, mitigations, accepted risks. Warden Threat is an agent skill from jeremylongshore/tons-of-skills-marketplace. Produce a threat model — assets, ranked threats, mitigations, accepted risks.

When should I use Warden Threat?

Warden Threat fits situations like: asked to threat model this; what could go wrong security-wise; map our attack surface; before designing any security-sensitive feature.

How do I install Warden Threat in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill warden-threat -a claude-code`. Or copy the skill folder (plugins/ai-agency/tonone/skills/warden-threat in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/warden-threat in your project. Claude Code loads it when a task matches its description.

How do I install Warden Threat in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill warden-threat -a codex`. Or copy the skill folder (plugins/ai-agency/tonone/skills/warden-threat in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/warden-threat in your project. Codex loads it when a task matches its description.

Can I use Warden Threat in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill warden-threat -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/warden-threat, .gemini/skills/warden-threat, .github/skills/warden-threat and .opencode/skills/warden-threat in your project.

What does Warden Threat need to run?

SKILL.md names no scripts, command-line tools or credentials: Warden Threat is instructions for the agent only. Our summary lists: Docker. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion.

Does Warden Threat access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Warden Threat safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Warden Threat use?

Warden Threat is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Warden Threat use?

About 1.6k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Warden Threat?

Skills that share tags, products or a category with Warden Threat: Vuln Scan (hashgraph-online/awesome-codex-plugins, 1.3k stars), Security And Hardening (penpot/penpot, 61k stars), Forensify (alexgreensh/repo-forensics, 190 stars) and Create Rule (cartography-cncf/cartography, 4.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Warden Threat?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.