setup_routing

Solid

Configures per-project model and effort routing so Opus + high/xhigh thinking is spent only where it changes output quality and high-volume mechanical work runs on Sonnet. Use when the user says "setup_routing", "/setup_routing", "set up model routing", "configure model routing", "route tasks by model", or "make this project use Opus/Sonnet per task". Independently analyzes the repo, classifies it into a sensitivity profile (Opus-dominant, Mixed core/scaffold, Sonnet-default, or a Balanced fallback), proposes a tag-driven routing policy, waits for explicit confirmation, then writes a sentinel-delimited routing block into the project CLAUDE.md. The pinned-model executor subagents the policy references ship with the plugin (agents/); customized per-project copies in .claude/agents/ are an opt-in override.

AI & Automation 4 stars 0 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
23
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Model & Effort Routing Setup (`setup_routing`) > **CodeOps Skills Version**: 3.19.0 Configure **per-project model and effort routing** for the project the user is currently in, so that expensive reasoning (Opus, high/xhigh thinking) is spent only where it changes output quality, and high-volume mechanical work runs on Sonnet. Invoked as `/codeops:setup_routing` or the typeable alias `/setup_routing`. ## The two-layer principle (preserve this throughout) Routing has **two layers**, and they must stay coordinated: 1. **Policy layer (soft, behavioral).** A block in the project's `CLAUDE.md` decides *which model* each phase runs on — inline-first — and which pinned executor backs a dispatch when one is warranted, expressed as a rule over task tags. 2. **Enforcement layer (hard, guaranteed).** Each executor subagent's frontmatter pins both `model:` (which model runs) and `effort:` (which reasoning effort runs) when that executor is invoked. Claude Code enforces both, overriding the user's session/`settings.json`/env config — so routing works *regardless of what the user has already configured*. The sole exception is the `CLAUDE_CODE_SUBAGENT_MODEL` env var, which sits above subagent frontmatter and forces every subagent onto one model (a deliberate global cost-cap escape hatch — surface it in Phase 5). > The policy is only trustworthy because the pinned executors exist to back it. Since v3.2.0 the > two executors (`plan-task-executor`, `plan-task-execu...

Details

Author
blendsdk
Repository
blendsdk/claude-codeops
Created
1 months ago
Last Updated
yesterday
Language
Shell
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

model-routing

Complexity-based routing of tasks across Fable 5 (T3), Opus 4.8 (T2), Sonnet 4.6 (T1) and Haiku recon (T0). Use when planning any multi-step work, when deciding which subagent should execute a task, when writing a dispatch brief, or when an executor fails and escalation is needed.

1 Updated today
alebgl77
AI & Automation Solid

agent-routing

Decide which model (Haiku/Sonnet/Opus) and effort level each subagent gets, when to cascade cheap-first behind a verifier, and how to run improvement loops safely (evaluator-as-selector, stop on regression). Covers the Managed Agents effort mechanics (per-agent effort levels, cost lever) and how to watch a subagent fan-out stream live so loop and escalation gates have something to observe. Use when spawning subagents via the Agent or Workflow tools, when fanning out more than a handful of agents, or when the user asks which model or effort a task should route to. Routing heuristics grounded in measured calibration data (references/calibration-2026-07-15.md), not vibes; the Managed Agents API specifics are operational, not calibrated.

134 Updated today
oaustegard
AI & Automation Listed

agent-runbook

Routing runbook for engineering tasks across the agent stack (ao spawn, GSD, OMC, /goal, /loop, /schedule, inline, codex, gemini, Claude Flow swarm). Use when uncertain which execution mode to choose, before any non-trivial action. Outputs a composed pipeline, not just one mode. Hard rules and gates live in global CLAUDE.md; this skill is the HOW for routing.

0 Updated 2 days ago
search-atlas-group