[BUG] AskUserQuestion silently skipped when explicitly listed in skill's allowed-tools
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 AskUserQuestion is added to the allowed-tools list in a skill's SKILL.md frontmatter, the tool call is silently skipped — the question is never rendered to the user. The UI briefly shows a blank interaction entry like:
● User answered Claude's questions:
⎿ (empty)
...and the skill immediately continues execution without waiting for any user input.
What Should Happen?
Listing AskUserQuestion in allowed-tools should either:
- Work correctly
- Emit an explicit warning that AskUserQuestion is not compatible with allowed-tools
It should not silently swallow the interaction.
Error Messages/Logs
No error messages are produced. The only visible symptom is the empty interaction entry in the UI.
Steps to Reproduce
- Create a skill at .claude/skills/test-skill/SKILL.md with AskUserQuestion in allowed-tools:
name: test-skill
description: Reproduces the AskUserQuestion bug
allowed-tools: AskUserQuestion
Use AskUserQuestion with:
- Question: "Which option do you choose?"
- Options: Option A, Option B, Option C
- Run /test-skill in Claude Code.
- Observe: the question is never shown; a blank entry appears and execution moves on.
- Now remove AskUserQuestion from allowed-tools (leave the field empty or omit it entirely).
- Run /test-skill again.
- Observe: the question renders correctly and the user can select an answer.
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.63 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗