← Catalog

pi-questions

Minimal ask_questions tool for Pi

Package

Install

Install with PiG

pig install npm:pi-questions

Install with Pi

pi install npm:pi-questions
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./extensions/ask-questions.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.3.4 (README.md). PiG does not review it.

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