@youngjurry/pi-ask
Interactive single- and multi-question ask tool for the Pi coding agent
Package details
Install @youngjurry/pi-ask from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@youngjurry/pi-ask- Package
@youngjurry/pi-ask- Version
0.1.2- Published
- Aug 30, 2026
- Downloads
- 400/mo · 13/wk
- Author
- youngjurry
- License
- MIT
- Types
- extension
- Size
- 20.4 KB
- Dependencies
- 0 dependencies · 4 peers
Pi manifest JSON
{
"extensions": [
"./ask.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-ask
An interactive question tool for the Pi coding agent, with single- and multi-question flows, multi-select options, and custom freeform answers.
Features
- Ask one or multiple questions in a tabbed TUI
- Select multiple options with
Space - Add a custom freeform answer alongside selected options
- Review all answers before submitting
- Optional question IDs and option values for simpler, more reliable tool calls
- Theme-aware rendering with progress and answer summaries
Install
Copy ask.ts into Pi's global extension directory:
mkdir -p ~/.pi/agent/extensions
curl -fsSL https://raw.githubusercontent.com/smithyyang/pi-ask/main/ask.ts \
-o ~/.pi/agent/extensions/ask.ts
Then run /reload inside Pi.
Tool input
Only prompt, options, and each option's label are required:
{
"questions": [
{
"prompt": "Which approach should we use?",
"options": [
{
"label": "Keep the current implementation"
},
{
"label": "Refactor it",
"description": "Simplify the schema and retain compatibility"
}
]
}
]
}
Optional fields:
- Question
id: generated asq1,q2, etc. when omitted - Question
label: short tab label, generated asQ1,Q2, etc. when omitted - Option
value: defaults to the option label when omitted - Option
description: secondary text shown below the label
Controls
↑/↓: moveSpace: toggle an option or open custom inputEnter: confirm and advanceTab/←/→: switch pages in multi-question modeEsc: cancel