omp packages

@richardgill/pi-preset0.0.10

Pi extension for named presets that can set model, thinking level, tools, and per-preset system prompt instructions.

GitHub Actions Published 17 days ago ~312 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

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
  • /preset opens the selector
  • /preset implement activates a preset directly
  • ctrl+shift+u cycles presets