pi-prompt-template-model
Prompt template model selector for pi — route specific prompt templates to specific models.
Install
pi install npm:pi-prompt-template-model
Installs from npm into ~/.pi/agent/.
Add -l for project-local (.pi/). Manage with pi list / pi update / pi remove.
What this package can reach
Detected automatically from the source at
version 0.10.0.
This describes access, not safety — you decide whether it's appropriate for what
the package claims to do.
- Behavior — Changes how the agent thinks Modifies the system prompt, injects messages, or rewrites conversation context.
- Extension bus — Talks to other extensions Uses pi.events to emit or listen on a shared channel, so it can coordinate with — or be driven by — other installed extensions.
- Commands — Runs shell commands Spawns processes on your machine.
- Files — Reads files outside your project Touches paths beyond the working directory, such as your home folder.
- Keystrokes — Reads raw terminal input Hooks ui.onTerminalInput, so it sees what you type. Legitimate for shortcut handling; the same access a keylogger needs.
- Subagents — Spawns agents or sessions Runs additional agents. Ask whether it caps iterations and spend.
- New tools — Adds model-callable tools Gives the agent new abilities. Additive and visible, unlike an override.
- UI — Draws its own interface Renders widgets, footers, dialogs or full-screen views.
What it actually did when run
observedLoaded in a sandbox with no network, a read-only filesystem and a recording stand-in for pi's API. This is what it called — not what the source suggests it might.
Tools registered run-prompt
Events subscribed agent_endbefore_agent_startmodel_selectsession_before_treesession_start
APIs called registerCommandregisterMessageRendererregisterToolui.notify
Run against version 0.10.0 on 2026-08-01.
Registration-time behaviour under default settings; other configurations may differ.
Reviews
0 publishedSign in with GitHub to write a review, reply, or vote.
No reviews yet — be the first.
More in
- @dietrichgebert/ponytail — Lazy senior dev mode for AI agents — the best code is the code you never wrote. Bias towar…
- @plannotator/pi-extension — Interactive plan review with annotations — mark up agent plans and messages before executi…
- @juicesharp/rpiv-ask-user-question — A structured questionnaire the model can put to you when it would otherwise guess — answer…
- @juicesharp/rpiv-todo — A todo list for the model, rendered as a live TUI overlay that survives /reload.