[BUG] Inconsistent tool permission behavior in skill's allowed-tools
Resolved 💬 3 comments Opened Dec 9, 2025 by trungbui2000 Closed Dec 10, 2025
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When a skill is invoked with tools listed in its allowed-tools, some Bash commands run without permission while others still prompt for permission, despite both being listed in the skill's allowed-tools.
Specifically:
Bash(acli:*)commands run without permissionBash(curl:*)commands still ask for permission
Both tools are:
- Listed in the skill's
allowed-toolsinSKILL.md - NOT in the global
~/.claude/settings.jsonpermissions.allowarray - Being used during the same skill invocation
What Should Happen?
aclicommands run without permission (expected)curlcommands prompt for permission (unexpected)
Steps to Reproduce
- Setup skill with allowed-tools:
Create a skill at ~/.claude/skills/test/SKILL.md with:
```yaml
---
name: test-skill
description: test-skill
allowed-tools: ["Bash(acli:)", "Bash(curl:)",
---
- Configure global permissions:
In ~/.claude/settings.json:
{
"permissions": {
"allow": [
"Skill(jira)",
"Read(~/.claude/**/*)",
// Note: Bash(acli:*) and Bash(curl:*) are NOT here
]
}
}
- Invoke the skill
Expected Behavior
- Both
acliandcurlcommands should run without asking for permission.
Actual Behavior
aclicommands run without permission (expected)curlcommands prompt for permission (unexpected)
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.62
Platform
AWS Bedrock
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗