The Golden Rule of Overrides

NEVER hack core system prompts via AGENTS.md injection. OMP uses an elegant, β€œOh My Zsh”-style Overlay Filesystem at ~/.omp/agent/. If a file exists here, it cleanly shadows and replaces the core package default. 100% native, zero dirty hacks.

πŸ—οΈ The Overlay Architecture

TargetOverlay PathAction / Effect
πŸ€– Agent Roles~/.omp/agent/agents/<role>.mdDrop designer.md or plan.md here. Instantly overwrites the built-in agent persona for all projects.
βš™οΈ Model Tiers~/.omp/agent/config.ymlEdit the modelRoles: block to remap smol, slow, or default to different LLMs on the fly.
πŸͺ„ Magic Words~/.omp/agent/system/<notice>.mdShadow core system notices (like ultrathink-notice.md) to redefine what magic words do globally.
πŸ”§ Skills & Tools~/.omp/agent/skills/<skill>.mdExpand the agent’s capabilities. Auto-loaded as skill://<name>. Managed via manage_skill.

⚑ Quick-Start: Overwriting an Agent

Want to completely redefine the Designer agent?

  1. Locate: Decide which agent to overwrite (e.g., designer).
  2. Create: Open or create ~/.omp/agent/agents/designer.md.
  3. Write: Define your absolute, god-tier instructions:
    # Custom Designer
    You are the ultimate UX/UI god. Strictly use Tailwind CSS v4 and standard OKLCH colors...
  4. Deploy: The moment OMP spawns the designer, it uses your overlay. Zero restarts.

🧠 Pro-Tips for Peak Efficiency

  • Config is Live: Saving config.yml updates model routing instantly. No server reboots required.
  • Keep it Modular: Only overlay what you explicitly need to change. Let the core package handle the rest.
  • Know the Scope:
    • AGENTS.md = Project-specific context (lives in your repo).
    • ~/.omp/agent/ = Global architecture overlay (lives on your machine).