Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Engineering-PLUSv0.1.7In 1 marketplace
Cost control for the EPLUS Claude desktop fleet: records the session model at SessionStart, injects the routing rule on each prompt only when the session runs on Opus or Fable, and ships sonnet-standard and haiku-fast workers to delegate to. Expensive spawns need an explicit click.
Claude hands work to one, or you mention it with @.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Cost control for the Cowork fleet. On this paid 3P deployment the main thread usually runs on Opus or Fable, the two most expensive tiers, and a single day has cost hundreds of dollars with no delegation at all. This plugin detects when a session is on an expensive tier, puts the routing rule in context at that moment, and ships two cheap workers, Sonnet and Haiku, to hand work to. There is no Opus or Fable worker on purpose: an expensive thread pushes work down, never sideways. Hard reasoning and review of client-facing output stay on the main thread, which is already the capable model.
Field result (2026-09-03, two Cowork exports): the SessionStart payload
carries no model field, so step 1 below never fires on Cowork today. The
first prompt of every session gets the env-check note; from the second prompt
on, the transcript names the model and detection is exact. The model was
observed reading its own Model: line correctly, so the first-prompt note
is reliable. Cost of that fallback on a Sonnet or Haiku session: about 80
tokens once.
The desktop app tells the model which model it is in the env block of its
instructions (Model: claude-opus-5[1m] and similar). Hooks cannot see that
text; they see only their JSON payload. Two payloads carry the model:
model field. note-model.ps1 records it to a
per-session file and emits nothing, so this costs zero context tokens.route-check.ps1 reads the recorded
value, falls back to the last assistant message's model in the transcript
tail, and otherwise treats the tier as unknown.| Detected tier | What route-check injects on the prompt |
|---|---|
| Opus or Fable | first prompt: the full digest, about 110 tokens; later prompts: a one-line reminder, about 25 tokens. Both tell the model to confirm against its own env Model: line. Subagent hand-backs and task notifications get nothing (see below). |
| Sonnet or Haiku | nothing |
| Unknown | a one-line instruction to check the env Model: line and, if it names Opus or Fable, read the skill |
| Component | Path | Purpose |
|---|---|---|
| Skill | skills/model-routing/SKILL.md | The policy: read your env Model line, the cost order, the two real cost drivers (tool calls re-read context; context never shrinks), what to delegate to which worker, how to hand work down, how to talk about models. The cost table lives here only. |
| Worker | agents/sonnet-standard.md | Sonnet 5. Research, reading, drafting, coding, loops. Finishes the task, returns Result / Assumptions / Gaps / Stakes, never asks questions. May push mechanical sub-steps to haiku-fast. |
| Worker | agents/haiku-fast.md | Haiku 4.5, 128K context. Reformatting, extraction, classification, list work, small file checks. Returns Result / Assumptions / Gaps / Escalate. |
| Hook | scripts/note-model.ps1 | SessionStart: records the payload model to %TEMP%\eplus-model-routing\<session>\model.txt (and plugin data when set), plus the payload's key names as a diagnostic; emits nothing. |
| Hook | scripts/route-check.ps1 | UserPromptSubmit: tier detection and the injection above. |
| Hook | scripts/spawn-gate.ps1 | PreToolUse on Agent: logs every spawn to routing.log; returns ask when a spawn requests Opus or Fable. |
Switches: EPLUS_NO_MODEL_ROUTING=1 disables recording and injection;
EPLUS_ALLOW_EXPENSIVE_SPAWN=1 disables the gate but keeps the spawn log.
The prose that used to sit in a top-level description field of
hooks/hooks.json lives here: the plugins reference documents no such field,
so it is kept out of the file the app parses.
npx claudepluginhub engineering-plus/eplus-plugin-catalog --plugin eplus-model-routingPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.