Guides · Updated November 23, 2026

What does allowed-tools do in a skill?

By Tineessa Nelson, Use This Skill

allowed-tools in a skill's front matter lists tools the agent may use without asking you. In Claude Code the grant lasts only for the turn that invokes the skill, and it does not block any other tool: unlisted tools still follow your permission settings. Of 1,972 public skills we read on November 23, 2026, 235 set it, and 130 of those pre-approve any shell command.

So the field is a convenience for the skill's author and a thing to read for you. It is not a sandbox. A skill that lists plain Bash lets Claude run any shell command without a prompt in the turn the skill is used, unless your own deny or ask rules say otherwise.

Which public skills set allowed-tools?

We read the front matter of every skill in this directory's November 16 crawl: 1,972 SKILL.md files from 47 GitHub repositories, cloned at depth 1 and parsed by script on November 23, 2026. Scan results come from the weekly scan of November 16 (data/scan.json).

What the skill pre-approves Skills Repositories
Sets allowed-tools at all 235 9
Any shell command (Bash with no pattern) 130 4
Unscoped Bash plus Write or Edit 109 4
Only shell commands that match a pattern, such as Bash(git log *) 88 8
No shell access at all 17 4
Write or Edit (changing files) 177 4
An MCP tool (mcp__...) 2 2
Sets disallowed-tools 0 0

Source: Use This Skill directory (data/skills.json, crawl of November 16, 2026), repositories cloned on November 23, 2026. All 1,972 SKILL.md files opened and parsed. "Unscoped Bash" means the list names Bash or Bash(*) with no command pattern.

Three collections account for almost all of it. K-Dense-AI/claude-scientific-skills sets the field on 99 of its 177 skills, and 95 of those list plain Bash, most with Read Write Edit beside it (pymatgen is typical: Read Write Bash Glob Python). Donchitos/Claude-Code-Game-Studios sets it on all 78 of its skills and scopes the shell with command patterns in 72, mostly its own helper scripts, with grants such as Bash(bash .claude/scripts/registry.sh *). trailofbits/skills sets it on 39 of 99, 32 of them with plain Bash, including differential-review. The other 1,737 skills, including every one of ComposioHQ/awesome-claude-skills' 864, do not set it.

The tightest grants come from tools that ship a command-line program: playwright-cli pre-approves only playwright-cli and npx playwright commands, and the ten vercel-labs/agent-browser skills pre-approve only agent-browser.

Does allowed-tools grant tools or restrict them?

It grants them. Here is how Claude Code's documentation describes the field, read on November 23, 2026:

Question Claude Code's answer
What does a listed tool get? Claude can use it without asking permission, during the turn that invokes the skill
How long does that last? Until you send your next message; invoking the skill again applies it again
Are unlisted tools blocked? No. Every tool stays callable, and your permission settings govern the ones not listed
Can my settings override it? Yes. Deny and ask rules still override allowed-tools
Format A space- or comma-separated string, or a YAML list; patterns such as Bash(git add *)
How do I remove tools while a skill runs? A separate field, disallowed-tools
How do I approve a tool for the whole session? Add an allow rule to your permission settings

The Agent Skills specification lists allowed-tools as one of its six front matter fields, describes it as "a space-separated string of tools that are pre-approved to run," marks it experimental and says "support for this field may vary between agent implementations." Its example is Bash(git:*) Bash(jq:*) Read. Each agent decides whether it reads the field, so check your agent's own documentation before you rely on it outside Claude Code.

Among the 235 skills, 143 use spaces, as the specification describes; 88 use commas and 4 a YAML list, which Claude Code accepts. For shell patterns, 74 use the space form (Bash(git log *)) and 15 the colon form from the specification's example (Bash(agent-browser:*)). Nine K-Dense skills also list Python as a tool name.

What does a broad grant mean for safety?

A grant does not make a skill dangerous, and no grant makes one safe. It changes one thing: whether you see a prompt before the agent acts. With plain Bash pre-approved, a command the skill's instructions suggest can run in that turn without a prompt, unless your own rules ask first.

That is why we read the grant alongside the scan. Of the 130 skills that pre-approve any shell command, 112 were clear in the November 16 scan, 14 were marked review and 4 flagged:

Flagged skill Grant What the flagged line is
paperclip Bash Read Write An official installer downloaded and piped into a shell
interpreting-culture-index Bash Read Grep Glob Write The uv installer, which the skill says to ask the user to run
qa Bash, Read, Task The uv installer, run only if uv is missing
agentic-actions-auditor Read Grep Glob Bash A security guide quoting the pattern as a warning

We read each of these lines by hand on November 23, 2026; none was trying to harm the user, which matches our review of every flagged skill. The fifth flagged skill that sets the field, browser-use's cloud, pre-approves only Read, so its installer line would still go through your normal permission prompt.

Claude Code's documentation adds a warning worth repeating: a skill can grant itself broad tool access, so review the allowed-tools of skills checked into a repository before you run Claude Code there. To see a skill's grant and its scan result together before you install it, paste its GitHub link into the live skill check.

How should I set allowed-tools in my own skill?

  1. List only what the skill needs. If it calls one program, pre-approve that program, as playwright-cli does, rather than all of Bash.
  2. Scope shell access with patterns. Bash(git log *) approves reading history; plain Bash approves git push --force too.
  3. Leave out tools that change things you cannot undo, so the agent asks first. Pair that with disable-model-invocation: true if the skill should only run when you type its command; what disable-model-invocation does explains the field.
  4. Use spaces between tools if you want the skill to follow the specification and work in Claude Code.
  5. Do not rely on it to block anything. In Claude Code it only grants. Use disallowed-tools or a deny rule to take a tool away.

If you are writing a skill from scratch, how to create an agent skill covers the other fields, and what a malicious skill can do shows what to look for when you read someone else's.

How we got these numbers

The skill list and paths come from data/skills.json (crawl of November 16, 2026: 1,972 skills in 47 repositories). On November 23, 2026, each repository was cloned at depth 1 from its default branch, and the YAML front matter of each SKILL.md at its recorded path was parsed. Tool names were split on spaces and commas outside parentheses; a grant counts as unscoped shell access when it names Bash or Bash(*). Repositories change, so a skill edited since November 16 may differ from its scan. The scan results are from data/scan.json (November 16, 2026); the flagged lines were re-read by hand on November 23. Claude Code behavior is from its skills documentation and the specification text from agentskills.io, both read on November 23, 2026. We did not run any of the 235 skills for this page.

Questions

Does allowed-tools stop a skill from using tools that are not listed?

Not in Claude Code. Its documentation says the field does not restrict which tools are available: every tool stays callable, and your permission settings still decide whether Claude must ask before using a tool the skill did not list. To remove tools while a skill is active, Claude Code has a separate field, disallowed-tools; to block a tool everywhere, add a deny rule to your permission settings.

How long does the allowed-tools grant last?

In Claude Code, for the turn that invokes the skill. The grant clears when you send your next message, even though the skill's text stays in context, and it applies again if the skill is invoked again. To approve a tool for a whole session, add an allow rule to your permission settings instead.

Can my own settings override a skill's allowed-tools?

Yes. Claude Code's documentation says deny and ask rules in your permission settings still override allowed-tools. If you never want a skill to run, say, git push without asking, an ask or deny rule for that command wins over the skill's grant.

Should I use commas or spaces between tools?

The Agent Skills specification describes a space-separated string and marks the field experimental. Claude Code also accepts commas or a YAML list. Spaces work in both, so use spaces if you want the skill to follow the specification. Of the 235 public skills we read, 143 use spaces, 88 commas and 4 a YAML list.