@xynogen/pix-ask
Pi tool — structured questionnaire UI (ask_user)
Package details
Install @xynogen/pix-ask from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@xynogen/pix-ask- Package
@xynogen/pix-ask- Version
0.1.2- Published
- Jun 18, 2026
- Downloads
- not available
- Author
- xynogen
- License
- MIT
- Types
- extension
- Size
- 40.5 KB
- Dependencies
- 1 dependency · 2 peers
Pi manifest JSON
{
"extensions": [
"src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pix-ask
Pi tool — structured questionnaire UI (ask_user).
What it does
Registers the ask_user tool in Pi. When the agent needs to resolve ambiguous requirements, it presents up to 4 structured multiple-choice questions in a TUI dialog. Each question requires 2–4 options with labels and descriptions; supports multi-select and markdown side-by-side previews for richer context. Single-select questions auto-append a "Type something." row for free-form input and always include "Chat about this" as an escape hatch. In non-interactive (RPC/JSON) mode, falls back to text-based prompts. The agent uses this tool before proceeding rather than guessing at intent.
Install
pi install npm:@xynogen/pix-ask
Full distro
To install the complete pix suite (all packages + Pi itself):
curl -fsSL https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.sh | sh
License
MIT