Skip to content

Repository files navigation

omp-presets

Named model-role presets for Oh My Pi (omp).

License: MIT Presets

Each .yml file is a config overlay that pins only modelRoles (and cycleOrder where relevant). It merges cleanly over your existing global config at launch, so providers, auth, themes, and tools stay untouched.

Contents

Presets

Providers down the left, presets across the top. Each cell links to that provider's .yml for the preset.

Provider DeepSeek Codex Claude
Vercel AI Gateway deepseek.yml codex.yml claude.yml
OpenRouter deepseek.yml codex.yml claude.yml
OpenAI Codex codex.yml
Anthropic claude.yml

A preset may be available through more than one provider — use one provider flavor per preset at a time.

Structure

omp-presets/
├── vercel-ai-gateway/
│   ├── README.md
│   ├── deepseek.yml
│   ├── codex.yml
│   └── claude.yml
├── openrouter/
│   ├── README.md
│   ├── deepseek.yml
│   ├── codex.yml
│   └── claude.yml
├── openai-codex/
│   ├── README.md
│   └── codex.yml
├── anthropic/
│   ├── README.md
│   └── claude.yml
├── CONTRIBUTING.md
└── LICENSE

Quick start

git clone https://github.com/MagiqueDeveloper/omp-presets.git ~/omp-presets
omp --config ~/omp-presets/vercel-ai-gateway/deepseek.yml

Quick-switching aliases

Append to ~/.zshrc (or ~/.bashrc), then source ~/.zshrc:

# DeepSeek — pick ONE provider:
alias omp-ds='omp --config ~/omp-presets/vercel-ai-gateway/deepseek.yml'
# alias omp-ds='omp --config ~/omp-presets/openrouter/deepseek.yml'

# Codex — pick ONE provider:
alias omp-codex='omp --config ~/omp-presets/openai-codex/codex.yml'
# alias omp-codex='omp --config ~/omp-presets/vercel-ai-gateway/codex.yml'
# alias omp-codex='omp --config ~/omp-presets/openrouter/codex.yml'

# Claude — pick ONE provider:
alias omp-claude='omp --config ~/omp-presets/anthropic/claude.yml'
# alias omp-claude='omp --config ~/omp-presets/vercel-ai-gateway/claude.yml'
# alias omp-claude='omp --config ~/omp-presets/openrouter/claude.yml'
Alias Preset
omp-ds DeepSeek
omp-codex Codex
omp-claude Claude

Caveats

  • --config overlays are launch-time only: they pin roles for a session but cannot flip models mid-session (upstream modelRolePresets proposal).
  • Files contain only model-role selectors — no API keys or secrets. Supply credentials through omp's normal auth (/login, env vars, or your own models.yml).
  • omp --profile <name> also isolates state, but relocates far more than model routing. These overlays are the lightweight alternative.

Contributing

See CONTRIBUTING.md. Licensed under the MIT License.

About

Model-role presets for Oh My Pi (omp) — drop-in config overlays for quick-switching model routing.

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Contributors