Omp Agent Role Router — AI skill for Claude Code
omp extension: routes Claude Code / Codex plugin subagents to omp model roles by declared tier.
How to install Omp Agent Role Router
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open fedorovvvv/omp-agent-role-router and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Omp Agent Role Router does
omp extension: routes Claude Code / Codex plugin subagents to omp model roles by declared tier.
Alternatives in AI
- Agency Orchestrator — 🚀 One sentence → multi-AI-role collaboration → complete plan in minutes 453 ★
- Module Feature — Add a new feature (model + service + controller + views + routes + tests) to an existing module 407 ★
- Create Module — Scaffold a fully-typed module with controller, service, router, schema, and model files 325 ★
README
omp-agent-role-router
An [omp](https://github.com/can1357/oh-my-pi) extension that gives Claude Code plugin subagents back a sensible model.
The problem
omp drops the `model:` field of agents that come from Claude Code marketplace plugins (`opus`, `sonnet`, `haiku` in their frontmatter). Without that field, a subagent has no model of its own — it just runs on whatever model your main session happens to be on right now, including a mid-turn retry fallback. A `haiku`-tier agent can end up burning `opus`. A `sonnet`-tier reviewer can end up running on your session's accidental Codex fallback.
| without this extension | with this extension | |
|---|---|---|
guardian (opus) |
whatever your session is on | @default |
planner (sonnet) |
whatever your session is on | @task |
forge-advisor (haiku) |
whatever your session is on | @smol |
It reads each agent's own declared tier and gives it an omp **role** (`@default`, `@task`, `@smol`, …) instead — never a concrete model. What that role actually resolves to is still entirely up to your own `modelRoles`.
Install
omp plugin install github:fedorovvvv/omp-agent-role-router
No build step, nothing else to configure. It works immediately.
Default mapping
| declared tier | routed to |
|---|---|
opus |
@default |
sonnet |
@task |
haiku |
@smol |
gpt-flagship (Codex sol/astra/…) |
@default |
gpt-mid (Codex terra/*-codex) |
@task |
gpt-mini (Codex luna/*-mini/*-nano) |
@smol |
Configuration
Zero-config already does the right thing. To change it, add an `agentRoleRouter` block to `~/.omp/agent/config.yml` or `/.omp/config.yml`:
agentRoleRouter:
tiers:
opus: "@slow" # change what a whole tier routes to
agents:
guardian: "@slow" # override one specific agent by name
noisy-agent: false # leave this one alone, whatever its tier
plugins:
some-plugin: false # leave every agent of this
Related Skills
AI Execution Router
Claude Code skill that routes software-engineering issues to an execution profile (model role, effort, effort
Minga Router
Stop paying Opus prices for typo fixes. A Claude Code skill that routes each subagent task to the cheapest mod
Shoal
只需定義一次 agent role,shoal 就能依照個廠牌 agent 配好模型、權限與 prompt,自動 orchestration;毋需撰寫任何程式。 / Define agent roles once. sh
Smart Task
Multiuse task command that routes work through a JEV-style triage step into the right effort lane and model ti
Gemini Model Router
Local-first agentic terminal that routes prompts across local Gemma 4 (vLLM), Gemini CLI, and Claude Code — pi
Evolve Router
A local-first LLM routing gateway that thinks before it routes — a decision model (Jev / laya) picks the most
Related Agents
Review Cross
Cross-model correctness review of a diff, on a different model from the main session (roles.toml review-cross;
Sap Cloud Consultant
SAP S/4HANA Cloud Public Edition 한국어 컨설턴트. Clean Core, Key User Extensibility(Custom Logic/Fields/CDS), 3-Tier
Model Router
Use when dispatching work and unsure which model tier to use — returns a recommended model and effort level ba