[December 01, 2026]
Skills
Declare allowed-tools: for OpenCode
If the skill only needs cargo test, do not ask for a general terminal. Keep the skill in the project skills path and avoid Cursor-only @ mentions.
────────────────────────────────────────────────────────
Declare allowed-tools: for OpenCode
Tip: Least privilege
If the skill only needs cargo test, do not ask for a general terminal. Keep the skill in the project skills path and avoid Cursor-only @ mentions.
allowed-tools: Bash(cargo test*)
Gotcha: allowed-tools: * (for opencode)
The skill can now curl | sh. A skill that says use Composer will confuse this runtime.
allowed-tools: ["*"]
Source: https://docs.anthropic.com/en/docs/agents-and-tools/agent-skills
────────────────────────────────────────────────────────
<-- back to posts