[BUG] AskUserQuestion silently skipped when explicitly listed in skill's allowed-tools

Resolved 💬 4 comments Opened Mar 3, 2026 by MatthiasTeks Closed Mar 5, 2026

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:

  1. Work correctly
  2. 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

  1. 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
  1. Run /test-skill in Claude Code.
  2. Observe: the question is never shown; a blank entry appears and execution moves on.
  3. Now remove AskUserQuestion from allowed-tools (leave the field empty or omit it entirely).
  4. Run /test-skill again.
  5. 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_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗