installskill

Skills / anthropics/claude-plugins-official

claude-security

Scans code or diffs for vulnerabilities, triages existing findings and proposes patch files.

Pinned commit
0fbfda5a91f4Committed 2026-11-25
Files
10159 KB
License
Apache-2.0
Snapshot taken
2026-11-28
Description from the skill
Claude Security: scan the codebase (the whole repository or a scoped part of it), scan changes (this branch's or a pull request's diff, or one commit), triage existing findings (another scanner's SARIF file or an earlier report, checked against the code), or suggest patches (findings turned into targeted patch files, each analyzed by a panel of agents, that you apply when you choose). Use when the user asks to scan, audit or check code with Claude Security, to scan their changes with Claude Security, to triage, validate or prioritize a SARIF file's or an earlier report's findings with the Claude Security plugin, or to fix or patch the findings of a report that this plugin wrote.

This is the text your agent reads to decide when to use the skill.

Install

Choose your agent. Pinned commands install exactly the commit this page describes.

Skill directory .claude/skills/Claude Code · Official docs

Does not read the shared .agents/skills directory. A skill must land in .claude/skills, or arrive inside a plugin.

GitHub CLIpinned

$ gh skill install anthropics/claude-plugins-official plugins/claude-security/skills/claude-security --agent claude-code --pin 0fbfda5a91f4adc311daca25acc99132f40f0b6e

gh picks the directory for the agent, names the folder after the source directory (claude-security), and writes source metadata into the SKILL.md frontmatter, so the content hash below will not match. Check the github-tree-sha it records instead: it should read 9f27b80727b2dc6fa249b526733a757f8ec9f6b2.

skills CLIpinned

$ npx skills add anthropics/claude-plugins-official@0fbfda5a91f4adc311daca25acc99132f40f0b6e --skill claude-security -a claude-code --copy

Downloads and runs the skills package from npm. --copy writes real files instead of symlinks. The CLI sends anonymous telemetry unless DISABLE_TELEMETRY=1 is set, and that setting also turns off its audit lookups.

Claude Code pluginnot pinnedrun inside the agent

> /plugin marketplace add anthropics/claude-plugins-official
> /plugin install claude-security@claude-plugins-official

Not pinned: installs whatever the marketplace currently serves. The plugin bundles 5 other skills with this one. It also installs things this page does not cover: hooks, subagents. Plugin scope is chosen in the /plugin dialog.

Plain gitpinned

$ tmp=$(mktemp -d)
$ git clone --quiet https://github.com/anthropics/claude-plugins-official.git "$tmp"
$ git -C "$tmp" checkout --quiet 0fbfda5a91f4adc311daca25acc99132f40f0b6e
$ mkdir -p .claude/skills
$ cp -R "$tmp/plugins/claude-security/skills/claude-security" .claude/skills/claude-security

No extra tooling. Files land byte for byte as published in .claude/skills/claude-security, so the content hash below can be checked directly.

Check what landed

Run this after installing. It prints one SHA-256 for the whole directory. If your installer reported a different directory, cd there instead.

$ cd .claude/skills/claude-security && find . -type f -print0 | LC_ALL=C sort -z | xargs -0 shasum -a 256 | shasum -a 256

Expected976bfa96f2189f0a57c791206f31aeeb374f595fe77778eae64c90ea2a5167d3

It matches only when the files are byte for byte as published. A difference means something changed: by the installer, by you, or upstream.

What is inside

Pattern matches in the files, each linked to its line. A match is a place to read, not a verdict, and no match is not proof of absence.

Docs · 9SKILL.md · 1

Runs commandsNo match

Code that spawns other processes, or shell code blocks in the instructions.

Network accessNo match

Calls that fetch from or send to a remote host.

Installs packagesNo match

Commands that pull and run third-party packages at use time.

Reads env or credentialsNo match

References to environment variables, tokens, keys or credential files.

Privileged or destructiveNo match

sudo, recursive deletes, permission changes and similar commands.

Dynamic or encoded codeNo match

eval, exec, base64 decoding and remote-script piping, which hide what runs.

Outside hosts mentioned

No URLs found.

Entries worth a second look

No symlinks, submodules, hidden files, archives, compiled files or unscanned files.

File manifest

Every file in the skill directory at the pinned commit.

Content hash
976bfa96f2189f0a57c791206f31aeeb374f595fe77778eae64c90ea2a5167d3
Git tree SHA
9f27b80727b2dc6fa249b526733a757f8ec9f6b2
PathKindSizeSHA-256
SKILL.mdSKILL.md6.8 KB15e3a09af48625f4…
jobs/continue-scan.mdDocs4.0 KB05a6d730d4728b4f…
jobs/scan-changes.mdDocs32 KB3c009a51e5ea1735…
jobs/scan-codebase.mdDocs33 KB4aadc5a416f7ef17…
jobs/suggest-patches.mdDocs37 KB80e43c81544d9e44…
jobs/triage-findings.mdDocs6.2 KB4e9768ad48c33e0d…
role.mdDocs16 KBcbffb8a1cfc76796…
specs/patch-review-brief.mdDocs1.3 KB99d6b68777eded60…
specs/patch-spec.mdDocs12 KBa01fe9837b7eccfc…
specs/report-spec.mdDocs11 KB38c5d732a4647020…

Spec and portability

Checked against the Agent Skills specification.

Frontmatter
Parses as YAML
Name matches directory
Yes
Name uses lowercase letters, digits and hyphens
Yes
Description length
687limit 1,024 characters
SKILL.md body
53 linesthe spec suggests under 500 lines
Fields outside the spec
disallowed-toolsAgents that do not know these fields ignore them, and uploading to claude.ai or the Skills API can fail on them.
License field
None declared
License file
None declared
Repository license
LICENSE (Apache-2.0)
Claude Code plugin
claude-security@claude-plugins-official

Change history

No changes recorded since the first snapshot on 2026-11-28.

Follow changes to this skill in a feed reader: Atom feed · all skills

Get an email when this skill changes

Email alerts are not built yet. Leave your address and we will write to you once, when they are. The feed above works today.

We store your address, the name of this skill and the date. It is used for nothing else.