open-delegate-routing

A routing rule for sending supported delegated tasks through open-delegate and choosing lower-cost model options first. OpenRouter is a service that provides access to models from different providers.

In plain words
What is it for?
Use it when delegating work to models named in the configured model list or to OpenRouter models, including waiting for results and continuing a delegated session.
Why use it?
It prevents the agent from using the wrong delegation path or unexpectedly switching to a more expensive model.

Cursor rule

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/verbalize-public/open-delegate/open-delegate-routing
Clone the repo
git clone --depth 1 https://github.com/Verbalize-public/open-delegate
Per session 359 This file is loaded in full into every session.
When invoked 359 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00359 $0.00359
Opus 5 $0.00179 $0.00179
Sonnet 5 $0.00072 $0.00072
Haiku 4.5 $0.00036 $0.00036

Measured 2d ago against content hash 67f3b21d2319, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

open-delegate-routing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

rules/open-delegate-routing.mdc · 28 lines

What it actually says

open-delegate routing

Prefer cheaper OpenCode alternatives when delegating work out of the current Cursor chat.

When to use ode_delegate (+ ode_await)

If a persona / Task request names a model that is:

  1. in ODE_MODELS — the built-in cheap force catalog, or whatever OPEN_DELEGATE_ODE_MODELS / the live ode_delegate tool description lists, or
  2. an OpenCode id starting with openrouter/,

you must call ode_delegate then ode_await (or ode_await with timeoutMs: 0 for a peek), not the native Task / subagent tool.

Pass the OpenCode provider/model id as-is. Do not invent Cursor-slug remaps and do not “helpfully” upgrade to Anthropic/OpenAI flagships (Opus, Sonnet, Fable, GPT Sol/Terra).

When to prefer native Task

Use the native Task / subagent tool only when the named model is Cursor-native and not on the ODE_MODELS force list.

How to drive the bridge

Follow skill ode-delegate for the core loop (ode_delegateode_await → transcript / resume via ode_delegate({ sessionId }) / cancel). Omit model to use OPEN_DELEGATE_DEFAULT_MODEL or the OpenCode server default (prefer a cheap Zen free pin when configuring). Optional waitMs on ode_delegate can collapse short tasks into one tool call.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 28 lines · 359 tokens per session scan A 67f3b21d2319

Subscribe to this mod's changes

open-delegate-routing is a cursor rule published in the GitHub repository Verbalize-public/open-delegate (1 stars, last pushed 1mo ago), licensed MIT. It adds 359 tokens to every session, about $0.0018 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.