/askq:ask-user-questionfrom askq
Ask the user one or more multiple-choice questions in a native GUI window and get their answers back. Use when you need a decision from the user (choosing between valid approaches, confirming an option, picking from a list) and want a real window instead of the in-terminal picker — works across panes, unfocused terminals, and agents without a native AskUserQuestion tool.
Ships in askq. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Pops a native window (the askq binary) rendering multiple-choice questions and
returns the selected answers as JSON. Blocking: it waits until the user submits
or cancels.
Prefer this over writing prose with numbered options and asking the user to type a number.
askq ships as a global npm CLI. The right prebuilt binary for the platform is
pulled in automatically (macOS arm64, Linux x64/arm64):
npm install -g askq-cli # installs the `askq` command
(The package is askq-cli; the command it installs is askq. If askq isn't on
PATH, npx -y askq-cli … works without installing.)
If the askq MCP server is registered (.mcp.json for Claude Code,
.cursor/mcp.json for Cursor), call the tool:
ask_user_question({ "questions": [ ... ], "title": "...", "context": "..." })
It returns a JSON object mapping each question text to the chosen label.
askq installed)Pipe the questions JSON to stdin, read the answer JSON from stdout. Get the exact
contract with askq --help.
echo '{"questions":[{"question":"Pick one","header":"Demo","multiSelect":false,
"options":[{"label":"A","description":"first"},{"label":"B"}]}]}' \
| askq
# => {"questions":[...],"answers":{"Pick one":"A"}}
Exit 0 = answered (parse .answers); exit 1 = user cancelled (fall back / ask
again).
{ "questions": [ {
"question": "text shown — also the KEY in the answers map", // required
"header": "short label, e.g. Framework", // optional
"multiSelect": false, // optional, default false
"options": [
{ "label": "React", // required; this exact string is returned
"description": "one-line detail", // optional
"preview": "monospace side-pane text shown on hover" } // optional
]
} ] }
answers[question] = "<label>".", " (e.g. "SSR, PWA").Keep it to 1–4 focused questions; each option's label should be a distinct,
mutually exclusive choice.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub angusfu/askq --plugin askq