avtc-pi-ask-user-question
v1.0.4
Published
A question tool for the agent — single/multi-select or free-text, with subagent forwarding and attention alerts.
Readme
avtc-pi-ask-user-question
A question tool for the agent — single/multi-select or free-text, with subagent forwarding and attention alerts.
Features
- Single & multi-select — pick one option or check several; each option has a label and description
- Free-text "Other" — every question has a row to type a custom answer
- Multiline free-text (
Ctrl/Shift/Cmd+Enter= newline) - Multi-question tabs — up to four questions in one dialog, each with a short header
- Subagent forwarding — questions from subagent
avtc-pi-subagentsessions are bridgedavtc-pi-subagent-ui-bridgeto the root UI as a single unified dialog - Attention alerts — integrates with
avtc-pi-notificationto notify you when the agent is waiting - Dialog coordination — uses
avtc-pi-ui-componentsdialog coordinator to prevent overlapping dialogs across extensions.
Tools
| Tool | Description |
|---|---|
| ask_user_question | Ask the user 1–4 structured questions (single-select, multi-select, or free-text) and wait for answers |
What it looks like
Single-select

Multi-select, multiple questions, and multiline free-text

Submit review

Installation
pi install npm:avtc-pi-ask-user-questionUsage
Once installed, the tool is available to the agent automatically. Ask it to clarify something before proceeding — it calls ask_user_question, you answer in the TUI, and it continues with your answers:
Help me scaffold a new web app. Ask me what you need to know first.Key bindings
| Key | Action |
|---|---|
| ↑ ↓ | Move cursor |
| Enter | Select / confirm / submit |
| Space | Toggle (multi-select) |
| Tab | Open the free-text editor (on the "Other" row) |
| ← → | Switch tabs |
| Esc | Cancel (or discard free-text) |
Full suite
Check out the full suite of related extensions, avtc-pi — deterministic feature development, subagent delegation, working-memory, behavioral learning, parallel-work guardrails, durable decisions, notifications, and more.
Developed with Z.ai — get 10% off your subscription via this referral link.
Attribution
Inspired by Claude Code's AskUserQuestion tool.
Fork of ghoseb/pi-askuserquestion.
License
MIT
