@richardgill/pi-preset
v0.0.6
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
Create preset.jsonc in your pi agent config folder:
{
"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
