pi-questions

Minimal ask_questions tool for Pi

Package details

extension

Install pi-questions from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-questions
Package
pi-questions
Version
0.3.4
Published
May 4, 2026
Downloads
898/mo · 422/wk
Author
drsh4dow
License
unknown
Types
extension
Size
15.9 KB
Dependencies
0 dependencies · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions/ask-questions.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-questions

npm version CI

One Pi tool for asking the user.

Sometimes Pi needs input from the user. The user - yes, you - does not want to type it into chat. This is the tool for that.

Install

pi install npm:pi-questions

What it does

pi-questions adds ask_questions.

The tool opens a small TUI flow, asks one or more questions, and returns the answers as structured data.

Each question can have short options. A custom answer is always available.

Behavior

  • asks questions in the interactive TUI
  • supports selectable options
  • always includes Write your own answer
  • supports a review step for multiple questions
  • returns normal results for cancel and non-interactive sessions
  • does not start child agents or call model/provider APIs; telemetry only sees the surrounding assistant turns

Controls

  • j/k or arrows: move
  • 1-9: pick option
  • Enter: select or submit
  • h/←: back
  • l: select
  • Esc: cancel