claude-security

claude-security is a skill for Claude Code from anthropics/claude-plugins-official. It costs 150 tokens per session (1,764 once invoked), scanned A, original, Apache-2.0.

A guided security-review workflow for scanning a repository, checking code changes, or preparing fixes for reported findings. It provides a menu and follows the selected job's process.

In plain words
What is it for?
Use it to scan a whole codebase or selected changes, investigate security findings, and create verified patch files.
Why use it?
It gives security tasks a defined starting point and separates discovery, review, and patch preparation. This helps turn findings into checked changes that a person can choose to apply.

Skill for Claude Code ✓ vendor

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 whole codebase or selected changes, investigate security findings, and create verified patch files.

Compare 6 skills from other repositories ↓
About the project

Claude Code Plugins Directory is a marketplace containing plugins for Claude Code, including tools, commands, skills, agents, hooks, and model context servers. Claude Code users browse it to install Anthropic-maintained or approved third-party extensions.

anthropics/claude-plugins-official · 48,794 stars · on GitHub · code.claude.com

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 anthropics/claude-plugins-official
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/anthropics/claude-plugins-official/claude-security/github.svg)](https://agentmods.dev/skills/anthropics/claude-plugins-official/claude-security)
Your own site
<a href="https://agentmods.dev/skills/anthropics/claude-plugins-official/claude-security"><img src="https://agentmods.dev/badge/skills/anthropics/claude-plugins-official/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/anthropics/claude-plugins-official/claude-security"><img src="https://agentmods.dev/badge/skills/anthropics/claude-plugins-official/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. Third-party audits
  • Socket pass 26 Sept 2026
  • Snyk pass 26 Sept 2026
How audits are shown
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.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 6d 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 6d 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

Copies of this mod

1 near-identical copy found in the catalogue:

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. 6d 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 anthropics/claude-plugins-official (48,794 stars, last pushed today), licensed Apache-2.0. 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

claude-security compared with skills from other repositories

claude-security next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-securityanthropics/claude-plugins-officialSkill49ktodayApache-2.0A150Claude Code
agent-platform-model-registrygoogle/skillsSkill25ktodayApache-2.0A60Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25ktodayApache-2.0A171Claude Code, Codex
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill25ktodayApache-2.0A132Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11k7d agoApache-2.0A56Claude Code
viteantfu/skillsSkill6.1k4d agoMITA49Claude Code, Codex