pi-questions-helper

Answer questions from lengthy pi agent responses in an interactive widget.

Packages

Package details

extension

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

$ pi install npm:pi-questions-helper
Package
pi-questions-helper
Version
0.1.0
Published
May 9, 2026
Downloads
44/mo · 11/wk
Author
surfdude75
License
MIT
Types
extension
Size
1.3 MB
Dependencies
0 dependencies · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions"
  ],
  "image": "https://raw.githubusercontent.com/surfdude75/pi-questions-helper/refs/heads/master/assets/preview.png"
}

Security note

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

README

pi-questions-helper

Agent replies can be long enough that important questions, recommendations, and alternatives get buried in the middle, forcing annoying back-and-forth and extra iterations when something goes unanswered. pi-questions-helper brings those questions back into focus in an interactive widget on the current screen, just above the prompt editor, so you can answer each one and build a complete reply without forgetting anything.

pi-questions-helper is a pi extension that extracts questions from the last assistant reply, collects your answers one by one, and prepares a Q&A reply in the prompt editor.

pi-questions-helper preview

Features

  • extracts questions from the last assistant response
  • presents questions one by one in an interactive widget above the prompt editor
  • keeps the generated reply editable instead of submitting it automatically
  • shows alternatives and recommended answers when the assistant provided them
  • marks recommended items and displays the reason when one was given
  • lets you type a number to copy an alternative into the answer editor
  • supports direct free-form answers even when alternatives are available
  • displays helper model, thinking level, token usage, and cost
  • uses isolated in-memory helper sessions to avoid polluting the main session
  • lets you choose the helper model and thinking level

Install

pi install npm:pi-questions-helper

After installing or editing the extension, reload pi:

/reload

How it works

  1. Run /questions-helper after an assistant reply.
  2. The extension extracts questions, alternatives, and recommendations using a helper model.
  3. A question widget appears above the prompt editor.
  4. Answer each question directly, or choose a numbered alternative when shown.
  5. Review your answers.
  6. The extension loads a complete Q&A reply into the prompt editor.
  7. Edit the prepared reply if needed, then submit it yourself.

Usage

Run the helper:

/questions-helper

Configure helper model and thinking:

/questions-helper model auto
/questions-helper model <model-pattern>
/questions-helper thinking off|minimal|low|medium|high|xhigh

Show status or help:

/questions-helper status
/questions-helper help

Answering questions

The question reply interface shows the helper model, thinking level, token usage, and cost for the question extraction run.

When the assistant explicitly provides alternatives or a recommended answer, the helper shows them as a numbered list. If the assistant explicitly recommended one of the items, the helper marks it and shows the reason when one was given. Type a number and press Enter to copy that item into the answer editor, then press Enter again to submit it or edit it first. You can always ignore the list and type a direct answer instead.

Output

The helper inserts the exact extracted questions and your answers into the editor. The prepared reply is not submitted automatically, so you can edit it before sending.