tierdecay-routing

tierdecay-routing is a skill for Claude Code, Codex from alebgl77/tierdecay. It costs 53 tokens per session (613 once invoked), scanned A, original, MIT.

A routing procedure for choosing how much planning and execution effort a coding task should receive. It uses repository records, task risk, ambiguity, and prior results to select a tier or request recertification.

In plain words
What is it for?
Use it when dispatching tasks, writing agent briefs, choosing models or reasoning effort, and escalating work after failures.
Why use it?
It reduces arbitrary agent selection and helps send critical, risky, or complex work to a higher review tier while keeping straightforward work at a lower tier.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when dispatching tasks, writing agent briefs, choosing models or reasoning effort, and escalating work after failures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alebgl77/tierdecay/tierdecay-routing
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.

Any agent
npx skills add alebgl77/tierdecay --skill tierdecay-routing
Clone the repo
git clone --depth 1 https://github.com/alebgl77/tierdecay

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tierdecay-routing

README.md
[![agentmods](https://agentmods.dev/badge/skills/alebgl77/tierdecay/tierdecay-routing/github.svg)](https://agentmods.dev/skills/alebgl77/tierdecay/tierdecay-routing)
Your own site
<a href="https://agentmods.dev/skills/alebgl77/tierdecay/tierdecay-routing"><img src="https://agentmods.dev/badge/skills/alebgl77/tierdecay/tierdecay-routing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tierdecay-routing

Your own site · 80×15
<a href="https://agentmods.dev/skills/alebgl77/tierdecay/tierdecay-routing"><img src="https://agentmods.dev/badge/skills/alebgl77/tierdecay/tierdecay-routing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 613 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00053 $0.00613
Opus 5.5 $0.00021 $0.00245
Sonnet 5.5 $0.00011 $0.00123
Haiku 4.5 $0.00005 $0.00061

Measured 13d ago against content hash 303924748cc3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tierdecay-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 13d 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.

core/agent-skills/tierdecay-routing/SKILL.md · 51 lines

How it starts

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

TierDecay routing

Tiers are roles: T3 frontier planning, architecture, review of critical diffs · T2 heavy execution (refactors, concurrency, migrations, perf) · T1 standard execution (specced features, tests, docs) · T0 read-only recon. Bindings (model × reasoning effort) live in .tierdecay/MODELS.md.

1. Decide — deterministic precedence

Prefer the tierdecay MCP tools when the client exposes them (tierdecay_playbook, then tierdecay_route); otherwise apply the same order by hand from .tierdecay/ledger.md and .tierdecay/playbook.md:

  1. Critical work (security, money, irreversible) or risk 3 → T3.
  2. Class has a QUARANTINE entry → T3, revise the entry first.
  3. Live entry with an epoch: other than the current binding epoch → RECERTIFY at the entry's provenance tier, entry quoted.
  4. Live entry → PROBE one tier below its provenance, entry quoted verbatim in the brief, unless that is below its sticky floor:.
  5. Class in ledger PRIORS (≥3 rows) → its empirical tier.
  6. Otherwise score the rubric: ambiguity 0–2, reasoning depth 0–3, blast radius 0–2, risk surface 0–3. 0–3 → T1 · 4–6 → T2 · ≥7 or any axis maxed → T3. Strong tests → down one; critical path → up one.

Class signature: 2–4 hyphenated tokens, verb-object-surface (add-endpoint-rest). Reuse an existing signature before minting one.

2. Dispatch — self-contained brief

OBJECTIVE:   <one sentence>
CONTEXT:     <recon findings; the playbook entry verbatim when probing>
FILES:       <exact in-scope paths>
CONSTRAINTS: <perf, deps, style, compatibility>
ACCEPTANCE:  <tests / observable behaviour — non-negotiable>
REPORT:      CHANGES · TESTS · DEVIATIONS · PLAYBOOK (PB-n applied → pass|fail | stale: why) · BLOCKERS

No dispatch without acceptance criteria.

3. Escalate

Two failed acceptance runs at a tier → one tier up with both failure reports attached verbatim. A BLOCKED report returns to the orchestrator, never to another executor.

Read the full file on GitHub · 51 lines

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. 13d ago First seen · 51 lines · 53 tokens per session scan A 303924748cc3

Subscribe to this mod's changes

tierdecay-routing is a skill published in the GitHub repository alebgl77/tierdecay (1 stars, last pushed 8d ago), licensed MIT. It adds 53 tokens to every session and 613 once invoked, about $0.0002 per session on Opus 5.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-10-02.

Related

Other skills, from other repositories

actuarial-scientist

Think and work like an expert Actuarial Scientist. Use when a task calls for Actuarial Scientist judgment. Reasons from mortality tables (qx, period/cohort, select/ultimate) and Chain-Ladder/Mack reserving through GLM/GAM frequency–severity and Tweedie pricing, limited-fluctuation and Bühlhmann-Straub credibility…

K-Dense-AI/scientific-agents · 117 tokens

cancer-biologist

Think and work like an expert Cancer Biologist. Use when a task calls for Cancer Biologist judgment. Reasons from hallmark capabilities, clonal evolution, and TME context; separates driver from passenger, cell-autonomous from stromal mechanisms, and 2D artifacts from PDO/PDX-validated dependencies using TCGA, DepMap…

K-Dense-AI/scientific-agents · 85 tokens

accelerator-physicist

Think and work like an expert Accelerator Physicist. Use when a task calls for Accelerator Physicist judgment. Reasons from beam optics, RF cavities, emittance budgets, and loss maps while treating halo and impedance-driven instabilities as first-class failure modes.

K-Dense-AI/scientific-agents · 59 tokens

agronomist

Think and work like an expert Agronomist. Use when a task calls for Agronomist judgment. Reasons from 4R stewardship and G×E×M through MRTN economic N, calibrated soil-test extractants, penetrometer compaction diagnosis, on-farm strip mixed models, partial budgets, and AgroEcoList reporting while treating…

K-Dense-AI/scientific-agents · 97 tokens

algebraist

Think and work like an expert Algebraist. Use when a task calls for Algebraist judgment. Reasons from carriers, operations, and morphisms through isomorphism theorems, universal properties, exact-sequence and homological tools (Ext, Tor, snake lemma), and computational systems like GAP, Magma, SageMath, and Lean while…

K-Dense-AI/scientific-agents · 113 tokens

anatomist

Think and work like an expert Anatomist. Use when a task calls for Anatomist judgment. Reasons from homology, EPB, and von Baer principles through gross dissection, diceCT/μCT/MRI pipelines, UBERON–PATO EQ annotation, MorphoSource/oVert digitization, geometric morphometrics, and NAV/TA2 nomenclature while treating…

K-Dense-AI/scientific-agents · 102 tokens