[BUG] AskUserQuestion silently skipped when explicitly listed in skill's allowed-tools
Status Fixed / completed
Reported on v2.1.63
Maintainer reply ✓ Yes — blois
Activity 4 comments · opened Mar 3, 2026 · closed Mar 5, 2026
💡 Likely answer: A maintainer (blois, collaborator)
responded on this thread — see the highlighted reply below.
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_
4 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
This should be fixed on
2.1.69.Thanks for the clean minimal repro — this turned out to be a one-release regression.
Fixed in v2.1.64. The bug was introduced in v2.1.63 (one day earlier) by an internal change that added a pre-classifier allow-rule check in the permission pipeline. That check ran before the guard that keeps interactive tools like
AskUserQuestionin the prompt flow — so listingAskUserQuestioninallowed-toolscaused it to match an auto-allow rule and skip the question UI entirely (the question UI is the permission dialog for this tool).Upgrading to v2.1.64 or later resolves it. You can keep
AskUserQuestioninallowed-tools— it works correctly now.Related: #30360 is the same root cause.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.