route

A routing guide for choosing the right type of coding subagent, model, and effort level for each delegated task.

In plain words
What is it for?
Use it whenever you are deciding whether to delegate work, how to divide a large task, or which agent setup should handle a unit of work.
Why use it?
It helps split work into focused units and keeps simple tasks from using more resources than needed. Past successes and failures inform later routing choices.

Skill for Claude CodeCodex

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 skills/toejough/engram/route
Any agent
npx skills add toejough/engram --skill route
Clone the repo
git clone --depth 1 https://github.com/toejough/engram

Made for: Claude Code, Codex.

Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,645 The whole file, excluding the scripts and references it only reads on demand.
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.00051 $0.04645
Opus 5 $0.00026 $0.02322
Sonnet 5 $0.00010 $0.00929
Haiku 4.5 $0.00005 $0.00464

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

Security

Grade A, and why

route 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.

agent-instructions/skills/route/SKILL.md · 280 lines

How it starts

The opening of the file, as written. The whole thing — 280 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Route — default to the cheapest tier, escalate on evidence, remember what works

You are an orchestrator. You route, decompose, and synthesize; you do not do object-level work yourself. There is no inline escape — easy work is delegated to a cheap model, not skipped.

The rubric is memory, not a hard-coded table. Every unit starts at the cheapest / fastest available tier. The only thing that raises the starting tier is recalled evidence that this kind of work has failed cheaper before. When a dispatch fails, you fix the spec and — if it fails again — escalate one tier. Every dispatch is recorded, and those records are what /learn crystallizes and /recall surfaces, so the starting tier for similar work reflects real evidence next time. Cold-start is cheapest-for-everything; as evidence accrues, the effective rubric warms up on its own — via recall, not by editing this file.

Orchestration work vs object-level work

The line that keeps "delegate everything" from collapsing into either "delegate nothing" or "delegate the act of delegating":

  • You do (orchestration): routing/decomposition decisions, dispatching subagents, sequencing steps, updating the task list, running the meta-skills that ARE the workflow (/recall, /learn, planning), and synthesizing subagents' returned results into the next decision or the user-facing report.
  • You delegate (object-level): writing code or prose, running tests/builds, judgment calls on the artifact, reviewing the artifact — anything that produces or evaluates the deliverable.

How to pick a tier

  1. Recall first (you, the orchestrator). Before dispatching, check recalled memory for tier-performance evidence on this kind of work ("cheap tier sufficed for X" / "cheap failed on Y — needs mid"). Recalled evidence sets the starting tier. Aggregate evidence notes (route-evidence-<work-kind> — see Record every dispatch) surface through this same plain recall; no special query and no counting is ever on the read path.
  2. Absent evidence, default to the cheapest / fastest tier — for EVERY unit, no exceptions. This includes work that feels genuinely hard: hard debugging, cross-cutting refactors, correctness-critical reviews, greenfield design. Your sense that a unit "needs a strong model" is a prediction of difficulty, which is not evidence — "genuinely complex" and "looks hard" are the same hunch in different words, and the hunch is exactly what this loop replaces. You learn a unit needs a higher tier by watching the cheap tier fail (step 3), never by forecasting it. On a cold start with no recalled evidence, a race condition, an 8-file refactor, and a new API design all start cheap — same as a variable rename.
  3. Escalate on failure, spec-first:
    • First fail → the failure is usually a spec failure, not a model failure. Rewrite the handoff (sharper files, acceptance checks, tighter do-NOT-touch), retry the same tier. The builder never gets to guess twice off the same spec.
    • Second fail on the same unit → escalate one tier and retry.
    • Repeat until it passes or you reach the deep tier.
  4. Memory discounts the tier (a special case of evidence lowering it). A unit whose needed knowledge is recallable — a known convention, prior decision, crystallized diagnostic — drops one tier (floored at cheap), because the model applies recalled knowledge instead of deriving it. (Measured 2026-06-28 at the deep→mid boundary — vault note 135.)

Read the full file on GitHub · 280 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 280 lines · 51 tokens per session scan A c8fe3d23dec9

Subscribe to this mod's changes

route is a skill published in the GitHub repository toejough/engram (8 stars, last pushed 2d ago), licensed Apache-2.0. It adds 51 tokens to every session and 4,645 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

copilotkit-develop

Use when building AI-powered features with CopilotKit v2 -- adding chat interfaces, registering frontend tools, sharing application context with agents, handling agent interrupts, and working with the CopilotKit runtime.

CopilotKit/CopilotKit · 46 tokens

harness-creator

Build, audit, and improve harnesses that make AI coding agents reliable: AGENTS.md/CLAUDE.md instruction files, feature/state tracking, verification gates, scope boundaries, session handoff, memory persistence, context budgets, tool-permission safety, and multi-agent coordination. Use this whenever a coding agent is…

walkinglabs/learn-harness-engineering · 142 tokens

hive.worker-delegation

Concrete patterns for breaking colony work into parallel worker jobs via runplaybook — when fan-out helps, how to model the goal as a tracker table, write the worker skill, author the playbook, pilot, and let convergence retry/resume the gap.

aden-hive/hive · 58 tokens

skill-creator-linter

Internal tool (not user-invocable). Called by meta-skill-creator as a DAG step (kind: agent) to lint a candidate meta-skill SKILL.md against G1 (parse + reference check + xmlescape grep + structural lint) and G2 (scheduler dry-run with stub executors). Deterministic, sub-second, no LLM. Returns JSON diagnostics.

opensquilla/opensquilla · 84 tokens

rule

Skill "rule" from x-cmd/x-cmd, covering rule — rules to rule, 核心命令, 规则文件格式, 示例 and 验证规则文件格式.

x-cmd/x-cmd · 0 tokens

browserwing-admin

Manage and operate BrowserWing — an intelligent browser automation platform. Install dependencies, configure LLM, create/manage/execute automation scripts, use AI-driven exploration to generate scripts, browse the script marketplace, and troubleshoot issues.

MemTensor/MemOS · 47 tokens