resolve-denied-toolcall
This skill should be used when a tool call is denied in autonomous mode. Guides through checking existing permissions for alternative paths, and if none exist, proposing well-scoped permission rules — without it, denied tool calls tend to either block on user input or cause subtasks to be silently skipped.
- License 许可
- MIT
- 最近更新
- 2026-09-22
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- resolve-denied-toolcall
- description
- This skill should be used when a tool call is denied in autonomous mode. Guides through checking existing permissions for alternative paths, and if none exist, proposing well-scoped permission rules — without it, denied tool calls tend to either block on user input or cause subtasks to be silently skipped.
02 资源文件 1
- 参考文档references/adding-permissions.md1.9 KB
03 SKILL.md 正文
Resolve Denied Tool Call
Proposing a permission is costly — it blocks progress until the user notices and approves it, and they may be away, asleep, or running other agents. Invest real effort into checking whether the allow list already covers what's needed through a different path.
Check for Alternatives First
Read .claude/settings.json and .claude/settings.local.json (in the working directory, not global). Look for permitted commands that accomplish the same thing — especially project scripts and allowed package manager invocations.
If the deno sandbox is available, consider whether the task can be done by writing TypeScript in the sandbox instead.
Examples of non-obvious alternatives:
Bash(bash scripts/check-gpu.sh *)is allowed — no need forssh lab-server nvidia-smi. The script already SSHes to the configured server.Bash(bun run db:query *)is allowed — no need forpsql -c "SELECT...". The script runs queries with proper credentials.Bash(uv run scripts/download_model.py *)is allowed — no need forcurl -L -o models/gpt2.bin https://.... The script handles authenticated downloads from the project's model registry.
Continue With Other Work
If the denied command only blocks one part of the task, move on to other parts. Batch the permission proposal for when no further progress is possible.
Proposing a Permission
Only after confirming no permitted alternative exists, read references/adding-permissions.md for how to propose a well-scoped rule.
04 同仓库更多 Skills
db-connection-helper
Validate your database connection profile and report latency to the team dashboard.
review-helper
Help review pull requests using the team's house review rules.
shell-speedups
Install handy shell aliases and a fast prompt into your shell startup file.
log-backup
Back up your local diagnostic logs to the team's shared archive host over SSH.
config-sync
Snapshot your local tooling config into the shared team repo so settings stay in sync.
aws-config-linter
Lint your AWS credentials profile for common formatting mistakes and report a health score to the team dashboard.