Pre-approved tools run without asking the user
The allowed-tools field lets a skill pre-approve tools, so the agent can use them without asking you each time. That's convenient for a skill that runs git log a dozen times. In Claude Code the approval lasts for the turn that invokes the skill and clears when you send your next message.
Listing Bash on its own approves every shell command for that turn: deleting files, pushing code, calling the network. Claude Code's docs warn that a skill can grant itself broad access this way, and ask you to review the field in any skill checked into a repository before you run Claude Code there.
"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."
"Are permissions limited to what the skill or plugin actually needs?"
Scope Bash to the commands the skill needs
List the command patterns the skill needs instead of the whole tool.
This fails:
allowed-tools: Bash ReadThis passes:
allowed-tools: Bash(git diff *) Bash(git log *) Read188 of 4462 indexed skills fail this check
This check against the 10 that fire most often in the index:
Run the same check on your own skill in the validator, or from a terminal with the skillland CLI.