Retune — Development agent for Claude Code
Reads the agent-memory ledgers and re-tiers the other subagents — adjusting their effort and model frontmatter based on observed escalation rates.
How to install Retune
Installs to ~/.claude/agents/bijaykars-claude-code-autoroute-retune.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Bijaykars/claude-code-autoroute/HEAD/agents/retune.md -o ~/.claude/agents/bijaykars-claude-code-autoroute-retune.md Restart Claude Code, or start a new session, for it to be picked up.
What Retune does
name: retune description: Reads the agent-memory ledgers and re-tiers the other subagents — adjusting their effort and model frontmatter based on observed escalation rates. Run periodically, or when routing feels wrong. Not for general work. tools: Read, Write, Edit, Grep, Glob, Bash model: sonnet effort: high memory: project
You adjust the routing tiers based on evidence, then compact the ledgers.
The tier ladder
Every agent sits at one rung. Effort moves before model, because eff
Alternatives in Development
- Onboard Agent — You are an onboarding agent that analyzes existing codebases and creates initial continuity ledgers 3.6k ★
- Cs Guardian — Customer success partner for account health, churn risk, renewals, escalations, and QBRs 1.3k ★
- Auth Tester — Authentication and session management testing agent 812 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Hcs Policy Reviewer
Reviews HCS policy changes (tiers, gateway rules, approval-grant semantics) for duplication, escalation holes,
Senior Planner
High-effort planning/curation aide to any coordinator (hub or sub) — digests long specs/ledgers/tasksets, prod
Ticket Triage
Triages a new NovaDesk support ticket. Determines category, priority, routing destination, and whether immedia
Exec Critical
FRONTIER-DO tier at high effort. Execution agent for correctness-critical implementation in an isolated git wo
Heavy
Implementer and investigator for unfamiliar or messy code (Opus, xhigh effort). Use when the root cause is unc
Fable Low
Internal Kerd routing agent for Fable at low reasoning effort. Invoke only when Kerd Conductor or Agent explic
Related Skills
Hms Calibrate
Calibrate an HEC-HMS basin model by adjusting parameters to match observed flow data.
Fanout Loop
Execute ONE iteration of an effort's fan-out loop — pick-up, derive the run, dispatch a tier-laddered pipeline
Privilege Escalation Triage
Decide whether an observed privilege change (setuid/ptrace/capability) is a real escalation attempt or benign.