Claude Security skill
Anthropic's scanner for your code: scan a repo, scan a diff, get verified patches.
Official Anthropicby AnthropicChecked November 18, 2026
Install Claude Security free
Leave your email and the install steps open right here: one prompt to paste into your AI tool. Works for all 151 skills.
An official Anthropic plugin that scans code from inside Claude Code: a whole repository, or only the changes on your branch, pull request or one commit. Three verifier agents challenge each finding before the report, and fixes arrive as patch files you choose to apply. It never commits or pushes, and it asks before every scan because a deep one uses many tokens.
Who is Claude Security for?
- Developers
- Security teams
- Startups without a security engineer
What's inside Claude Security
Claude Security is a 69-line SKILL.md (a front-desk menu) with a role file, three job recipes and two output specs; its scripts and agents sit elsewhere in the plugin, and scans run only as a Claude Code workflow.
When it switches on
It switches on when you ask Claude Security to scan or audit code, review your changes, or fix what it found. With no job named, it opens a three-choice menu.
What the instructions cover
- Effort levels: low is one fast pass, medium splits code into up to 24 parts, high up to 48
- Three verifier agents at every level that challenge each finding before the report
- A required yes before any scan, unless your request already accepts a long run and heavy token use
- Patches built four findings at a time in a scratch copy, saved as files you apply; it never commits or pushes
What it needs
- Claude Code with the Workflow tool (the Dynamic workflows setting, where /config shows one)
- Python 3 for the plugin's report and patch scripts
- A git checkout for patches and change scans, which cover committed work only
| File | What it is |
|---|---|
SKILL.md | 69 lines: the menu, an auto mode note and what to say about safety |
role.md | 65 lines: the agent team and its rules |
jobs/ | 3 recipes, one per menu choice |
specs/ | 2 specs: the results report and the patch files |
Watch out: There is no isolation: scans run with your own permissions and settings, so for untrusted code the author points to Anthropic's sandbox-runtime.
How to use Claude Security: which prompts work?
Scan this repo with Claude Security at medium effortScan my branch's changes before I open the pull requestSuggest patches for the Claude Security findingsHow do you install Claude Security?
Skills follow the open Agent Skills standard, so this one is not tied to one company. Pick the AI tool you use. Not sure? The first tab covers most of them in one step. New to this? Our guide on how to install Claude skills walks through it, and Anthropic's plugin guide covers the Claude app.
Install this skill for me so it works in every project: run `npx skills add https://github.com/anthropics/claude-plugins-official/tree/main/plugins/claude-security/skills/claude-security -g -y` in my terminal. If Node.js is missing, tell me how to install it first. When it's done, confirm the skill is installed and tell me how to start using it.Or do it yourself:
One command installs the skill: it finds the AI tools on your computer and asks which ones should get it.
npx skills add https://github.com/anthropics/claude-plugins-official/tree/main/plugins/claude-security/skills/claude-security -gYou need Node.js installed (free, from nodejs.org). The -g flag makes the skill available in every project.
Good to know: You decide when to apply each suggested patch.
Unlock the install steps
Free. Leave your email once to open the install steps for all 151 skills, and get the best new skills each month.
How did we check Claude Security?
On October 26, 2026 we read all 7 files in the skill's folder, starting with its 69-line SKILL.md. The section on what's inside comes from those files. Its license is Apache-2.0. Its files were last changed in September 2026. We have not run it on a test task yet.
Not a developer? You can still use Claude Security: you say in plain words what should work, Claude Code does the technical part and shows you what it checked. Working that way, from the first install to reading the result, is what our Claude Code course teaches (early access).