@gagansd/pi-ask0.1.4
TUI interviews for Pi. Ask one decision at a time.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
pi-ask
Gives your agent a way to interview you in a structured form — brainstorming, auth, missing requirements. Structured answers keep the thread small.
One skill (~20-token description), built for context minimisation.



Install
pi install npm:@gagansd/pi-ask
Then /reload.
Releases: CHANGELOG.
From a clone of this repo: pi install . at the repo or package root.
Everyday use
The agent calls ask_user. /answer if it asked in prose instead.
| Need | What you do |
|---|---|
| Choose one, or several | single / multi |
| Type freely | text, or Type your own on a choice question |
| Understand a choice first | Notes |
| The question is the wrong shape | t switches single ↔ multi |
Commands
| Command | What it does |
|---|---|
/answer |
Turn the latest completed assistant message into a form |
/ask-settings |
Settings overlay. ? inside a form opens the same overlay |
TUI-only. Non-TUI callers get status: "unavailable".
Contract
Input: { title?, questions: [{ id, label?, prompt, type: single\|multi\|text, options? }] }.
textquestions have no options.single/multineed real options. Do not invent filler.- Recommended options get a
description. Never preselected. - Typed text is never merged into option
values.
Output:
status:submitted|cancelled|unavailable|invalidanswers[id]:{ values, labels, customText?, note?, optionNotes? }unanswered: id[]
Optional config: ~/.pi/agent/extensions/pi-ask.json. /answer uses the current chat model unless answer.extractionModels is set.