pi-echo-output-styles
Command-driven persona/tone switching (concise/explanatory/learning + custom project styles)
Package details
Install pi-echo-output-styles from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-echo-output-styles- Package
pi-echo-output-styles- Version
0.1.0- Published
- Aug 13, 2026
- Downloads
- 131/mo · 131/wk
- Author
- hegdesumanth.dev
- License
- unknown
- Types
- extension
- Size
- 7.1 KB
- Dependencies
- 1 dependency · 1 peer
Pi manifest JSON
{
"extensions": [
"."
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-echo-output-styles
Command-driven persona/tone switching, using before_agent_start's systemPrompt override.
Design note
This package appends the active style's text to ctx.getSystemPrompt() rather than replacing it outright — a full replacement risks silently discarding the tool-usage guidance baked into Pi's default prompt, which this module has no way to reconstruct. Appending a persona/tone overlay is a smaller, safer claim than "alternate system prompt," and is what's actually built here.
Usage
/output-style # list available styles, active one marked
/output-style concise # switch (persisted per-project in .pi/echo/output-style.json)
/output-style default # reset to Pi's unmodified prompt
Ships three built-in styles (styles/*.md in this package): concise, explanatory, learning. Project-local styles go in .pi/echo/styles/*.md (nearest ancestor, same resolution pi-echo-core uses for permissions/state); a project-local file with the same name as a built-in overrides it.