@richardgill/pi-preset
v0.0.10
Published
Pi extension for named presets that can set model, thinking level, tools, and per-preset system prompt instructions.
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-presetor locally
pi install ~/code/pi-extensions/main/extensions/presetConfigure
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
