AskUserQuestion returns empty inside Skill tool (GSD plugin context)
Resolved 💬 7 comments Opened Mar 3, 2026 by katex35 Closed Apr 2, 2026
Bug Description
When AskUserQuestion is called inside a skill invoked via the Skill tool (specifically GSD /gsd:update), the tool returns immediately with an empty answer without showing the interactive prompt UI to the user.
Steps to Reproduce
- Have GSD installed (global, v1.22.x)
- Run
/gsd:updatewhich triggers the Skill tool - The update workflow calls
AskUserQuestionwith options ("Yes, update now" / "No, cancel") - Expected: User sees the question UI and selects an option
- Actual: Tool returns immediately with empty answer:
User has answered your questions: .
Environment
- Claude Code version: 2.1.63
- OS: macOS (Darwin 24.6.0)
- Shell: zsh
- GSD version: 1.22.4 (global install)
Hooks Configuration
No PreToolUse hooks configured. Only:
SessionStart:gsd-check-update.jsPostToolUse:gsd-context-monitor.js
Related Issues
- #10400 — bypass permissions (fixed in 2.0.67)
- #13439 — PreToolUse hook conflict (fixed in 2.0.76)
- #29547 — skill/plugin
allowed-toolsbypassingrequiresUserInteraction()(closed) - #29733 — general empty answer issue
Analysis
This appears to be the same root cause as #29547: the skill's allowed-tools list includes AskUserQuestion, causing the permission evaluator to auto-approve it via alwaysAllowRules before requiresUserInteraction() is checked. The fix from #29547 may not have shipped in 2.1.63 yet.
Log Evidence
⏺ User answered Claude's questions:
⎿
The empty ⎿ confirms no user selection was captured.
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗