pi-branch-ask
Interactive ask tool for pi with branching questionnaire support
Package details
Install pi-branch-ask from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-branch-ask- Package
pi-branch-ask- Version
0.1.0- Published
- Feb 27, 2026
- Downloads
- 19/mo · 4/wk
- Author
- egornomic
- License
- MIT
- Types
- extension
- Size
- 38 KB
- Dependencies
- 0 dependencies · 4 peers
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-branch-ask
Interactive ask tool extension for pi coding agent with single/multi-select questions and branching flows. Agent can prepare multiple questions and branch them depending on user's answers.
Install
pi install npm:pi-branch-ask
Or from git:
pi install git:github.com/egornomic/pi-branch-ask
Usage
Once installed, the extension registers a branch-ask tool for interactive questionnaires with branching logic.
How it works
Run A: user picks "Fix a bug"
What do you want to do?
> 1. Fix a bug
2. Build a feature
How bad is the bug?
> 1. Critical
2. Minor
Returned summary:
goal: 1. Fix a bug
severity: 2. Minor
scope: (not asked)
Run B: user picks "Build a feature"
What do you want to do?
1. Fix a bug
> 2. Build a feature
How big is the feature?
> 1. Small
2. Large
Returned summary:
goal: 2. Build a feature
severity: (not asked)
scope: 1. Small
This is the key behavior: the second question changes immediately based on the user's first choice.