An Oh My Pi extension for saving and switching complete sets of model-role assignments from a terminal UI.
- Save the current model-role assignments as a named profile.
- Apply a complete profile in one action.
- Edit individual role assignments with OMP's model browser.
- Rename, search, and delete profiles.
- Support built-in and custom OMP roles without maintaining a fixed role list.
- Respect OMP's global or project model-role storage mode.
- Detect concurrent profile-file changes instead of overwriting them.
- Oh My Pi 18.2.5 or newer
Install the extension directly from GitHub:
omp plugin install github:MRGRD56/omp-model-profilesReload plugins in an active OMP session:
/reload-plugins
Alternatively, restart OMP. Confirm the extension is enabled with:
omp plugin list --jsonOpen the interface with:
/profiles
The default shortcut is Ctrl+Alt+P.
Opening the manager clears the screen before reading profiles. If loading takes longer than 600 ms, a loading indicator appears until the manager is ready. Press Esc or Ctrl+C to cancel while loading.
| Key | Action |
|---|---|
↑ / ↓ |
Select a profile or role |
Enter |
Apply a profile or choose a model |
Tab or ← / → |
Switch between profiles and role details |
n |
Create a profile from the current assignments |
e |
Rename the selected profile |
d |
Delete the selected profile |
/ |
Search profiles |
Delete |
Set the selected role to Auto while choosing a model |
Esc |
Go back or close the interface |
Ctrl+C |
Close Model Profiles from any panel or nested screen |
To change the shortcut, add this setting to the active OMP config.yml:
modelProfilesExtension:
keybindings:
openProfiles: ctrl+alt+pProfiles are stored in model-profiles.yml inside the active OMP agent directory. The file follows the active OMP profile and honors XDG and PI_CODING_AGENT_DIR configuration.
