/ai-delegation:openrouter-modelsfrom ai-delegation
Covers the router's hosted models — discover current ids and prices from the public catalog, self-enforce spend the router does not meter, respect the free-tier logging caveat, and request onboarding of a model not yet served.
Ships in ai-delegation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A hosted model reaches delegated work only through a router alias, placed by
the delegation hook; a session never names the model behind it. This skill
covers what is available, what it costs, and the rules around it.
local-subagents covers when to delegate and the mechanics of the call.
Two different kinds of limit. Treating them the same is how money gets spent.
Enforced at the router: the set of models your credential may reach. That
is an allowlist you cannot edit, so a 400 for an unlisted model means the
policy worked — it costs nothing and is a correct answer.
NOT enforced, in the general case: your spend. Metering spend per caller needs shared state plus a credential per caller, and a deliberately stateless router may have neither. Where that is so, no ceiling exists anywhere except in your own behaviour.
A cap is real only because you apply it. If your deployment states a figure, use theirs; if it states none, name one yourself. Do not proceed without a number — "stop at the cap" means nothing if no cap is named, and an unnamed cap is how an account-wide credential ends up metered by nothing at all.
openrouter-spend-<YYYY-MM-DD>). After each paid call, estimate its cost
from the response's token usage times the per-token prices you discovered,
and add it. Check the total before every paid call.If your deployment DOES enforce spend, it says so, and a 429 or a
spend-cap message is then also a correct answer to defer on. Trust what your
deployment states over this skill, which describes the general case.
Many free hosted endpoints log prompt and session content provider-side, and some train on it. Send them public or synthetic material only.
Never through a free tier: secrets and credentials, anything read from or adjacent to the secret store, private infrastructure topology or hostnames, incident detail, personal or customer data. That material either goes to a locally served tier or is not delegated at all. When in doubt, treat it as confidential — the cost of using a paid tier is bounded, the cost of a leak is not.
The hosted catalog is public and keyless, so pricing research costs nothing:
curl -fsS --max-time 15 https://openrouter.ai/api/v1/models | jq '
.data[] | {id, context_length,
prompt_usd_per_mtok: ((.pricing.prompt | tonumber) * 1000000),
completion_usd_per_mtok: ((.pricing.completion | tonumber) * 1000000)}'
Useful selections:
.data[] | select(.id | endswith(":free")) | .id.Refresh this when you actually need it (prices move), not on a schedule.
A model existing upstream does not mean the router serves it. The catalog
above tells you what exists and what it costs; the router's own contract tells
you what you may actually call. The served list comes from
local-subagents step 3. Never write a model id
into a rule, skill, doc, or config — that is a second spelling that drifts from
the registry, and this skill deliberately names none.
Prices, limits, and promotions live only on the router model entry, and benchmark results live only in the published dataset; every other place links to them instead of copying a number that drifts.
Onboarding is an infrastructure change — a registry entry plus a credential — so it is not self-serve. When discovery shows a model clearly worth having, open one request through your session's normal work-routing destination (never a public issue tracker), containing: the exact upstream model id, the current prompt and completion price per million tokens, the context length, the concrete task class that justifies it, and the expected spend inside your budget. Check for an existing open request first — never duplicate. Real upstream ids only; never propose a generic alias.
State the model or tier that actually produced each result — the locally served brain when you did not escalate, and every escalation model when you did.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jacobpevans-ai/claude-code-plugins --plugin ai-delegation7 skills in this plugin
/auto-maintainSuperseded by /agentops:orchestrate and /agentops:navigate. Use those skills instead./delegate-to-aiSuperseded by /agentops:orchestrate. Use that skill instead./fast-subagentUse for any routine/checkable step — summarize, extract, classify, reformat, draft boilerplate, first pass over a file — every such step, all session. One command; the router's fast role picks the backend and its fallbacks. Names no model ids.Other plugins' skills for the same job