@nehlis/pi-effort
v0.1.0
Published
Pi extension that adds /effort for quickly changing reasoning/thinking level.
Maintainers
Readme
pi-effort
A tiny Pi package that adds /effort, a slash command for changing the active reasoning/thinking level without opening model settings.
Install
pi install npm:@nehlis/pi-effortThen restart Pi or run:
/reloadUsage
/effort low
/effort medium
/effort high
/effort xhighWith no argument, /effort opens an interactive selector in Pi's TUI.
Levels
| Input | Result |
| --- | --- |
| off, none, 0 | off |
| minimal, min, 1 | minimal |
| low, 2 | low |
| medium, med, 3 | medium |
| high, hi, 4 | high |
| xhigh, max, maximum, 5 | xhigh |
Pi may clamp the requested level depending on the active model's capabilities. When that happens, /effort reports both the requested and effective levels.
Local development
Clone the repo and run the extension locally:
pi -e .Or install it from a local checkout:
pi install /path/to/pi-effortValidate package contents before publishing:
npm run pack:dryType-check:
npm install
npm run checkPublishing
This package is scoped, so publish it publicly with:
npm publish --access publicThe package includes the pi-package keyword and a pi.extensions manifest so it can be discovered by Pi's package catalog.
License
MIT
