[November 27, 2026]
Skills
Declare allowed-tools: for Cursor Agent
If the skill only needs cargo test, do not ask for a general terminal. Put the skill where Cursor loads SKILL.md and keep the description searchable.
────────────────────────────────────────────────────────
Declare allowed-tools: for Cursor Agent
Tip: Least privilege
If the skill only needs cargo test, do not ask for a general terminal. Put the skill where Cursor loads SKILL.md and keep the description searchable.
allowed-tools: Bash(cargo test*)
Gotcha: allowed-tools: * (for cursor agent)
The skill can now curl | sh. A description that says helper will never be selected for a concrete task.
allowed-tools: ["*"]
Source: https://docs.anthropic.com/en/docs/agents-and-tools/agent-skills
────────────────────────────────────────────────────────
<-- back to posts