allowed-tools
Definition
An experimental SKILL.md frontmatter field listing tools the agent may use without asking while the skill is active. Support varies by agent.
In more detail
The value is a space-separated list of tool names or patterns. Support varies between agents, and the field is marked experimental in the specification.
When reviewing a third-party skill, check this field: a skill that pre-approves broad shell access deserves a closer look.
Related terms
Least privilege
Granting an agent or tool only the permissions and data access its task requires, and nothing more, so a mistake does less damage.
SKILL.md
The required file in an Agent Skill: YAML frontmatter with at least a name and description, followed by the Markdown instructions.
Agent Skill
A folder with a SKILL.md file, plus optional scripts and references, that gives an agent instructions for a task and is loaded only when needed.
Read more about allowed-tools
- Scan a third-party Agent Skill before you install it
Read every file, grep scripts for risky patterns, run a skill scanner, then record a yes or no and pin it.
- SKILL.md template and frontmatter cheat sheet
A copy-ready SKILL.md template with frontmatter and body, the six frontmatter fields in the Agent Skills spec with their limits, and the YAML mistakes to avoid.
- Are Agent Skills safe? A security checklist for third-party skills
Are agent skills safe? What can go wrong when you install someone else's skill, what researchers found in public registries, and a fifteen-minute review.