You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use AskUserQuestion tool on Claude Code for structured user input #745
Superpowers is cross-platform (Claude Code, Cursor, Codex, OpenCode, Gemini CLI), so skills use plain text for user questions. This is the right default. However, Claude Code provides a dedicated AskUserQuestion tool with structured UI — selectable options, multi-select, headers, and previews — and skills could use it when available.
Problem
Skills like brainstorming and writing-plans frequently pause for user input (confirming designs, choosing between options, clarifying requirements). Plain text works but misses the structured UX that Claude Code offers:
Clear, scannable options instead of reading paragraphs to find the question
Structured responses that reduce ambiguity
Visual distinction between output and questions
Proposed Solution
Add platform-aware guidance to skills that pause for user input: prefer AskUserQuestion when available, fall back to text otherwise. Since Claude Code makes AskUserQuestion available as a tool, skills can simply reference it conditionally:
"When asking the user a question with discrete options, use the AskUserQuestion tool if available. Otherwise, present options as numbered text."
This keeps cross-platform compatibility intact while improving UX on Claude Code.
Skills affected
Any skill that pauses for user input, primarily:
brainstorming — multiple rounds of clarifying questions
writing-plans — spec confirmation checkpoints
executing-plans — "ready to proceed?" gates
requesting-code-review — review scope selection
Acceptance Criteria
Skills that pause for user input prefer AskUserQuestion when the tool is available
Falls back to plain text on platforms without the tool
No breaking changes for non-Claude-Code environments
Activity
feat: prefer AskUserQuestion for structured user input on Claude Code
obra commentedon Mar 15, 2026
Dupe of #114 - See #114 (comment)