← Catalog

@nehlis/pi-effort

Pi extension that adds /effort for quickly changing reasoning/thinking level.

Extension

Install

Install with PiG

pig install npm:@nehlis/pi-effort

Install with Pi

pi install npm:@nehlis/pi-effort
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/effort.ts"
  ]
}

README

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

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-effort

Then restart Pi or run:

/reload

Usage

/effort low
/effort medium
/effort high
/effort xhigh

With no argument, /effort opens an interactive selector in Pi's TUI.

Levels

InputResult
off, none, 0off
minimal, min, 1minimal
low, 2low
medium, med, 3medium
high, hi, 4high
xhigh, max, maximum, 5xhigh

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-effort

Validate package contents before publishing:

npm run pack:dry

Type-check:

npm install
npm run check

Publishing

This package is scoped, so publish it publicly with:

npm publish --access public

The package includes the pi-package keyword and a pi.extensions manifest so it can be discovered by Pi's package catalog.

License

MIT