@juicesharp/rpiv-advisor

Pi extension: lets the model ask a stronger reviewer model for a second opinion before it acts

Package details

extension

Install @juicesharp/rpiv-advisor from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@juicesharp/rpiv-advisor
Package
@juicesharp/rpiv-advisor
Version
1.1.4
Published
May 3, 2026
Downloads
7,001/mo · 3,497/wk
Author
juicesharp
License
MIT
Types
extension
Size
32.6 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

rpiv-advisor

npm version License: MIT

Let the model ask a stronger model for a second opinion before it acts. rpiv-advisor adds the advisor tool and /advisor slash command to Pi Agent — the working model can hand the full conversation to a reviewer (e.g. Opus) and resume with its plan, correction, or stop signal.

Advisor model selector

Features

  • Reviewer model selector/advisor opens a picker over any model in Pi's registry, plus a reasoning-effort picker for reasoning-capable models.
  • Persisted across sessions — selection saved at ~/.config/rpiv-advisor/advisor.json (chmod 0600).
  • Off by default — the advisor tool is excluded until you pick a model; choose "No advisor" to disable.
  • Zero-parameter handoff — calling advisor forwards the full serialized conversation branch; no manual prompt needed.

Install

pi install npm:@juicesharp/rpiv-advisor

Then restart your Pi session.

Usage

Configure an advisor model with /advisor — the command opens a selector for any model registered with Pi's model registry, plus a reasoning-effort picker for reasoning-capable models. Selection persists across sessions at ~/.config/rpiv-advisor/advisor.json (chmod 0600).

The advisor tool is registered at load but excluded from active tools by default; selecting a model via /advisor enables it. Choose "No advisor" to disable.

advisor takes zero parameters — calling it forwards the full serialized conversation branch to the advisor model, which returns guidance (plan, correction, or stop signal) that the executor consumes.

License

MIT