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

  1. Have GSD installed (global, v1.22.x)
  2. Run /gsd:update which triggers the Skill tool
  3. The update workflow calls AskUserQuestion with options ("Yes, update now" / "No, cancel")
  4. Expected: User sees the question UI and selects an option
  5. 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.js
  • PostToolUse: 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-tools bypassing requiresUserInteraction() (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.

View original on GitHub ↗

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