@richardgill/pi-preset
Pi extension for named presets that can set model, thinking level, tools, and per-preset system prompt instructions.
Package details
Install @richardgill/pi-preset from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@richardgill/pi-preset- Package
@richardgill/pi-preset- Version
0.0.8- Published
- May 24, 2026
- Downloads
- 491/mo · 60/wk
- Author
- richardgill
- License
- unknown
- Types
- extension
- Size
- 12.7 KB
- Dependencies
- 2 dependencies · 3 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
preset
Pi extension for named presets that can set model, thinking level, tools, and per-preset system prompt instructions.
Part of pi-extensions.
Install with pi
pi install npm:@richardgill/pi-preset
or locally
pi install ~/code/pi-extensions/main/extensions/preset
Configure
You can override individual settings in preset.jsonc.
The default location is ~/.pi/agent/preset.jsonc, or $PI_EXTENSION_CONFIG_DIR/preset.jsonc when set.
{
"presets": {
"plan": {
"provider": "openai-codex",
"model": "gpt-5.2-codex",
"thinkingLevel": "high",
"tools": ["read", "bash"],
"instructions": "Planning mode. Do not edit files."
},
"implement": {
"provider": "anthropic",
"model": "claude-sonnet-4-5",
"thinkingLevel": "high",
"tools": ["read", "bash", "edit", "write"],
"instructions": "Implementation mode. Make focused changes."
}
}
}
Usage
pi --preset plan
/presetopens the selector/preset implementactivates a preset directlyctrl+shift+ucycles presets