claude-security

claude-security is a skill for Claude Code from thevibeworks/claude-code-docs. It costs 150 tokens per session (1,764 once invoked), scanned A, a copy of claude-security, MIT.

A security-review workflow for examining a codebase, a set of code changes, or a commit. It can also turn security findings into targeted patch files for you to review and apply.

In plain words
What is it for?
Use it to scan a repository, branch, pull-request changes, or one commit, and to prepare verified patch suggestions from the findings.
Why use it?
It gives security checks a defined starting point and separates finding problems from deciding which fixes to apply.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude-security plugin — 6 skills, 17 agents, 5 hooks shipped together

Good fit Use it to scan a repository, branch, pull-request changes, or one commit, and to prepare verified patch suggestions from the findings.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add thevibeworks/claude-code-docs
Claude Code
/plugin install claude-security

Made for: Claude Code.

Or install claude-security, the plugin that ships this one along with the rest of its 6 skills, 17 agents, 5 hooks.

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 claude-security

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/thevibeworks/claude-code-docs/claude-security"><img src="https://agentmods.dev/badge/skills/thevibeworks/claude-code-docs/claude-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,764 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 100% copy Near-identical to another mod 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.00150 $0.01764
Opus 5.5 $0.00060 $0.00706
Sonnet 5.5 $0.00030 $0.00353
Haiku 4.5 $0.00015 $0.00176

Measured 9d ago against content hash 15e3a09af486, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

claude-security 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.

Origin

This is a copy

100% identical to claude-security — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

content/github/claude-plugins-official/plugins/claude-security/skills/claude-security/SKILL.md · 66 lines

How it starts

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

Claude Security

  • Session start time (UTC): !date -u +%Y%m%d-%H%M%S

The front-desk menu

This is the front desk. Its whole purpose is to work out which job the user wants and drive it, following that job's recipe.

  1. If the user already asked for a specific job — in the arguments ($ARGUMENTS) or in plain text ("scan this repo", "scan my branch", "triage this SARIF file", "fix the findings", a bare commit sha) — do that job directly and skip the menu. The recipe still asks its own follow-up question wherever the request left one open. For a request to continue a scan that stopped, skip step 3, and Read and follow this recipe.

  2. Otherwise, say nothing first, and open with the menu. Call AskUserQuestion once, single select, header: "Job", question: "What would you like to do? For a threat model, leave this menu and type /claude-security:threat-model.", offering exactly these four options (never invent others — the tool adds its own free-text entry). The menu is your first user-visible act: your response opens with this call, with no sentence ahead of it, not even one that says what you will do.

    Offer these four options:

    1. Scan codebase
    2. Scan changes
    3. Vulnerability Triage
    4. Suggest patches

    "Scan codebase" is the recommended pick — it carries " (Recommended)" and goes first; the other three keep this order.

  3. Then Read the chosen job's recipe and follow it. As soon as the job is known — picked on the menu, or named directly in step 1 — read the recipe, even when the request leaves nothing to ask — it says how to launch the job and wait for it, so never call Workflow before reading it. Where the request left a question open, the recipe opens with its own sub-menu — which kind of scan, which list, or which patch mode — built from the repository's real state, and every sub-menu but the triage's has an "I don't know" choice that the recipe resolves to a sensible default itself. So the user answers at most a few questions, then one fixed confirmation before a scan or a triage actually starts (a scan's is skipped only when their request already accepted the scan's time or token cost), and the run goes quiet; ask them all now, while the user is present.

Read the full file on GitHub · 66 lines

Files

What ships with it

9 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 Changed · -4 lines · +51 tokens per session 15e3a09af486
  2. 2mo ago Changed · +27 tokens per session 58898a55aa8d
  3. 3mo ago Changed · +1 lines 7e7b345240a3
  4. 3mo ago First seen · 69 lines · 72 tokens per session scan A 866561e1de52

Subscribe to this mod's changes

claude-security is a skill published in the GitHub repository thevibeworks/claude-code-docs (183 stars, last pushed today), licensed MIT. It adds 150 tokens to every session and 1,764 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to claude-security, differing in 0 lines, and is treated as a copy.

Related

claude-security compared with skills from other repositories

claude-security next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-securitythevibeworks/claude-code-docsSkill183todayMITA150Claude Code
receiving-code-reviewdork-labs/dorkosSkill11todayMITA38Claude Code
requesting-code-reviewdork-labs/dorkosSkill11todayMITA39Claude Code
creating-pull-requestsdork-labs/dorkosSkill11todayMITC112Claude Code
review-checklistwesammustafa/Claude-Code-Everything-You-Need-to-KnowSkill3.7k6d agononeA25Claude Code, Codex
reviewanton-abyzov/specweaveSkill179yesterdayMITA45Claude Code, Codex
legal-counselolehsvyrydov/AI-development-teamSkill1815d agoMITA83Claude Code