From codagent
Guides interactive user questioning: tool selection (mcp__ide__askQuestion, request_user_input), batch 2-4 related questions, serial for branches. For clarifications, confirmations, requirements.
npx claudepluginhub codagent-ai/agent-skills --plugin codagentThis skill uses the workspace's default tool permissions.
This skill encodes how to ask users questions effectively. It is **not invoked directly** by the user — it is invoked by other skills whenever they need to collect information through interactive dialogue.
Authors Claude Code skills using AskUserQuestion tool for interactive user input, decisions, multi-select options, free-text answers, and multi-step workflows. Covers mechanics, constraints, response handling, and wiring patterns.
Systematically interviews users to clarify ambiguities, preferences, and constraints before implementation. Activates on /ring:interview-me or detected task ambiguity.
Asks minimal clarifying questions to resolve underspecified requirements like objectives, scope, constraints, and acceptance criteria before implementing. Invoke explicitly via /ask-questions-if-underspecified.
Share bugs, ideas, or general feedback.
This skill encodes how to ask users questions effectively. It is not invoked directly by the user — it is invoked by other skills whenever they need to collect information through interactive dialogue.
Prefer a dedicated question/input tool when the runtime makes one available for the current turn, but do not fail just because that tool is unavailable.
Use this decision order:
mcp__ide__askQuestion or ask_followup_question when available.request_user_input when available.request_input, ask_user, or similar).The goal is to explicitly pause for user input before continuing. A dedicated tool is preferred because it enforces the pause, but an interactive plain-chat question is the correct fallback when the runtime does not expose that tool.
Do not proceed past an unresolved user decision. If you ask a question with a dedicated tool, wait for the tool response. If you ask in plain chat, end the turn and wait for the user's reply. In headless mode, return the ambiguity instead of inventing an answer.Prefer asking 2–4 questions at a time when the caller skill does not require serial discovery. Batching reduces round-trips and respects the user's time.
Group related questions into a single tool call when:
Good batch example (for a spec clarifying session):
- What happens when a user submits the form with an empty required field — validation error inline, or blocked on submit?
- Should validation run on blur (leaving the field) or only on submit?
- Are there any fields that should be optional in draft mode but required on final submit?
Ask a single question when:
Good serial example:
"Before I write the spec file, does this look right to you?" ← wait for yes/no before continuing
Even when asking serially, prefer the dedicated question tool when available; otherwise ask directly in chat and stop.
When another skill says "use the appropriate tool for asking the user a question or requesting input":