Most of the popular Claude Code skill repositories we scanned can do more than give Claude written instructions. Of 890 repositories with at least one SKILL.md file, 516 (58%) include a skill folder with scripts or executable files, 139 (16%) ship plugin hooks that Claude Code runs automatically when an event fires, and at least 152 (17%) contain a skill whose allowed-tools field pre-approves tools. Counted per skill, these features are rarer: of 8,873 distinct skills, 19% ship scripts and 9.7% pre-approve tools. But half of the skills that pre-approve tools (433 of 858) pre-approve the whole Bash tool, which covers every shell command.
The counts come from the git file trees and SKILL.md front matter that FindPicked’s directory pipeline collected on November 18, 2026, for the Claude Code and Agent Skills directory. They measure what skills are set up to do, not whether any is malicious. New to the format? Start with what Claude Code skills are and how to install one.
The numbers at a glance
| Measured on November 18, 2026 | Repositories (890) | Distinct skills (8,873) |
|---|---|---|
Skill folder has a scripts/ folder or executable files |
516 (58%) | 1,653 (19%) |
Plugin hooks (hooks/hooks.json or hooks in a plugin manifest) |
139 (16%) | Not measured per skill |
allowed-tools pre-approves at least one tool |
152 (17%) | 858 (9.7%) |
allowed-tools pre-approves the whole Bash tool |
77 (8.7%) | 433 (4.9%) |
| None of these three | 286 (32%) | Not applicable |
Repository counts for allowed-tools are minimums: we read the front matter of at most 30 SKILL.md files per repository (see How we counted).
What each capability means on your machine
Scripts: code that can run without Claude reading it
Claude Code’s skills documentation says skills “can bundle and run scripts in any language.” Anthropic’s Agent Skills overview adds that when Claude runs a bundled script it receives only the output: “the script code itself never enters context.” The same page notes that in Claude Code, skills “have the same network access as any other program on the user’s computer.”
So running a script does not mean Claude has read it. It is still a Bash command, so in Claude Code’s default Manual mode you get a permission prompt first unless your rules or the skill’s allowed-tools allow it.
Hooks: commands that run on events, not on request
Hooks are handlers, such as shell commands, that Claude Code runs automatically at fixed points, for example when a session starts or before a tool call. The hooks reference gives the scope of a plugin’s hooks/hooks.json as “When plugin is enabled” and warns that “Command hooks execute shell commands with your full user permissions.” A hook does not wait for Claude to choose a skill.
Our scan does not read the hooks field a SKILL.md can declare in its own front matter; according to the same reference, those hooks are registered when the skill is invoked and keep running for the rest of the session. The 16% is therefore a floor.
allowed-tools: pre-approval, not a sandbox
The skills documentation defines allowed-tools as tools Claude can use “without asking permission during the turn that invokes this skill.” The grant clears when you send your next message, and the field “does not restrict which tools are available.” The open Agent Skills specification marks it as experimental and says support may vary between agents.
What the 858 skills with allowed-tools pre-approve (a skill can list several tools):
| Pre-approved tool | Skills | Share of 858 |
|---|---|---|
| Read | 688 | 80% |
| Write | 458 | 53% |
| Glob | 435 | 51% |
Bash, the whole tool (Bash or Bash(*)) |
433 | 50% |
| Grep | 408 | 48% |
| Edit | 331 | 39% |
Bash, limited to a command prefix such as Bash(git:*) |
264 | 31% |
Tools from MCP servers (mcp__…) |
125 | 15% |
| WebFetch | 107 | 12% |
| WebSearch | 77 | 9% |
Read, Glob and Grep change the least: Claude Code’s permissions documentation says read-only tools need no approval inside your working directory, while most shell commands, file edits and web requests do. Of the 858 skills, 788 (92%) pre-approve at least one shell, edit, web or MCP tool. Only 25 stick to read and search tools.
The permissions page says a bare Bash rule “Matches all Bash commands” and that Bash(*) is equivalent. Prefix rules are narrower, but often not by much: 147 skills pre-approve a general-purpose prefix such as npx, npm, go, node, python3 or curl, which in practice lets Claude run arbitrary code or contact any address. Even git, the most common prefix, is broad: the same page shows a wildcard git rule matching git -c, an option “which makes git run a program you name.” Only 24 skills limit every Bash rule to their own scripts, the pattern Anthropic’s documentation demonstrates with ${CLAUDE_SKILL_DIR}.
The grant also reaches commands that run before Claude reads anything. Shell commands embedded in a SKILL.md as !`command` run when the skill is invoked and never prompt: outside auto mode, they run only if your rules or the skill’s allowed-tools allow them. A whole-tool Bash grant allows all of them, except any that your own deny or ask rules match.
Project skills inside repositories you clone
At least 100 of the 890 repositories (11%) keep skills in a .claude/skills/ folder at the repository root. Claude Code loads these as project skills in sessions started in that repository, and 25 of those repositories pre-approve tools there. The permissions documentation lists a project skill’s hooks and allowed-tools among the things Claude Code uses even in a claude -p run in a folder you have never trusted. One of its suggestions for such runs is --bare, which reads no hooks, skills, plugins or .mcp.json servers from the project.
How large skills are
The median SKILL.md in our sample is 6,768 bytes, roughly 1,700 tokens by the directory’s estimate of bytes ÷ 4. One in ten (957 skills, 10.8%) is larger than 20,000 bytes, about 5,000 estimated tokens. That threshold matters twice: the specification recommends keeping instructions under 5,000 tokens, and after a conversation is compacted, Claude Code re-attaches only the first 5,000 tokens of each invoked skill.
Official sources and format problems
Official repositories are not instruction-only either. Anthropic’s anthropics/skills had 20 SKILL.md files (19 skills and a template): 9 ship scripts, none uses allowed-tools, and 17 name a license. In OpenAI’s openai/skills, 12 of the 30 skills we read ship scripts and none uses allowed-tools. Of the 46 repositories that come from official collections or are listed in Anthropic’s plugin marketplace, 15 (33%) ship hooks and 15 (33%) pre-approve tools, against 15% and 16% of the other 844. A curated listing tells you who published a skill, not how much it can do.
Format problems are rare: 1.4% of 9,852 readable files have no name or description we could read, and 1.9% of named skills break the specification’s naming rules, mostly with uppercase letters, underscores, spaces or colons. Claude Code still loads them; the specification’s validator rejects them.
How we counted
- Snapshot: November 18, 2026, from the pipeline described on the directory methodology page: GitHub file trees and
SKILL.mdfront matter. We did not install or run any skill. - Sample: 1,094 of the 8,889 repositories in the skills directory had been scanned. The scan queue handles about 180 repositories a day, official repositories first and then by stars, so this is the popular end: every repository with at least 5,000 stars, 711 of the 775 with at least 1,000, and none below 337 stars. 890 of the 1,094 contain at least one
SKILL.md. - Giant collections: the 890 repositories hold 70,794
SKILL.mdfiles, but the 175 with more than 30 files account for 93% of them; the largest,sickn33/agentic-awesome-skills, has 9,631. We read the front matter of the first 30 files per repository in path order (9,901 files). In the 715 repositories we read completely, the per-skill results are similar: 23% ship scripts and 8.9% pre-approve tools. - Duplicates: skills with the same name and description count once, keeping the copy from the most-starred repository; that removed 844 copies.
- Definitions: a skill ships scripts when its folder contains a
scripts/folder or a file marked executable in git at most two folders down; a plain, non-executablehelper.pyis not counted. For aSKILL.mdat the repository root, the folder is the whole repository. - Limits: the pipeline stores no
SKILL.mdtext beyond front matter, so it cannot see instructions that download and run code,!`command`lines (which Claude Code runs before Claude sees the skill) or prompt injection. It does not read.claude/settings.jsonor.mcp.json. It is not a malware scan.
Snyk’s ToxicSkills research, published February 5, 2026, scanned 3,984 skills from ClawHub and skills.sh. It found at least one critical-level issue in 534 of them (13.4%) and confirmed 76 malicious payloads “in their markdown instructions.” Counting capabilities cannot find those; reading the files can.
Checklist: review a skill before you install it
- Open the whole folder, not only
SKILL.md. More than half of the repositories we scanned ship scripts, and Claude can run a script without reading it. Read each one. - Read the
allowed-toolsline.BashorBash(*)means any shell command without a prompt during that turn, and prefixes such asnpx,node,python3orcurlare nearly as broad. Prefer skills that pre-approve only their own scripts, or delete the line and approve commands as they come. - Look for hooks before you enable a plugin. Check
hooks/hooks.json, thehookskey in.claude-plugin/plugin.jsonand anyhooks:block inSKILL.mdfront matter. After installing,/hookslists the configured hooks and where each one comes from. - Search the Markdown for commands. Look for
!`commands and```!blocks,curlorwgetpiped into a shell, and long encoded strings. The malicious payloads Snyk confirmed were in Markdown instructions. - Inspect
.claude/skills/in any repository you clone before you run Claude Code there, or start withclaude --bare. One in nine repositories in our sample ships project skills. - Check the license. Only 19% of skills name one in their front matter, and 17% of the repositories have no license GitHub can identify.
- Check the size. A
SKILL.mdover about 20,000 bytes costs roughly 5,000 tokens every time it loads. - Treat directory labels as a first filter, not a verdict. The “What it can do” column in the skills directory’s popular and official tables shows Runs scripts, Hooks and Pre-approves tools. A fast climb on the trending skills list says nothing about what a repository runs.
Frequently Asked Questions
Are Claude Code skills safe to install?
Not automatically. In our scan of 890 popular skill repositories, 58% ship scripts, 16% ship plugin hooks and at least 17% pre-approve tools. Anthropic advises using skills only from trusted sources and auditing every bundled file, because a skill can direct Claude to run code on your machine.
What does allowed-tools do in a SKILL.md file?
It lets Claude use the listed tools without asking during the turn that invokes the skill. The grant clears when you send your next message, and it does not block any other tool. Half of the skills we found with allowed-tools pre-approve the whole Bash tool.
Do Claude Code skills run code automatically?
Bundled scripts run only when Claude calls them, normally after a permission prompt. Plugin hooks run automatically on events once the plugin is enabled. Shell commands embedded in a SKILL.md run as soon as the skill is invoked, without a prompt, if your permission rules or the skill’s allowed-tools allow them.