escalation

Solid

Confidence-based model tier escalation for agent tasks. Defines when to escalate from Haiku to Sonnet to Opus, escalation signals, and the never-skip-tiers rule. Use when an agent fails or underperforms.

AI & Automation 364 stars 68 forks Updated today MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
85
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
94
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Model Escalation ## Escalation Tiers ``` Haiku (junior-coder, docs, explainer, optimizer) ↓ on failure Sonnet (coder, tech-lead, reviewer, qa, architect, explorer) ↓ on failure Opus (senior-coder, planner, red-teamer) ``` ## Never Skip Tiers - ALWAYS try the next tier first before jumping to Opus - Haiku → Sonnet → Opus (never Haiku → Opus directly) - Each tier gets ONE attempt before escalation - Exception: if the task is known to require Opus (architecture, cross-cutting), start there ## Escalation Signals Escalate to the next tier when: - **Test failures**: Agent's code fails tests and agent can't fix in one retry - **Clippy warnings**: Agent introduces warnings it can't resolve - **Wrong output schema**: Agent produces output that doesn't match expected format - **Tech-lead BLOCKED twice**: Tech-lead rejects the same agent's work twice on the same task - **Task timeout**: Agent exceeds expected completion time by 2x - **Repeated hook blocks**: Agent triggers enforcement hooks 3+ times on the same operation ## Do NOT Escalate When - Task is simply large (break it down instead) - Agent needs more context (add skills/instructions instead) - Infrastructure error (retry, don't escalate) - First-time failure on a reasonable task (retry once at same tier) ## Escalation Protocol 1. Diagnose the failure (see `capability-diagnostic` skill) 2. Determine if it's a model capability issue (Step 3 of diagnostic) 3. If yes: re-assign task to next tier agent with original...

Details

Author
majiayu000
Repository
majiayu000/claude-skill-registry
Created
5 months ago
Last Updated
today
Language
HTML
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

escalation-governance

Assess whether to escalate models. Use when evaluating reasoning depth.

297 Updated today
athola
AI & Automation Listed

human-escalation

An agent that knows the boundary of its own authority and competence - pausing to involve a human when decisions carry risk, when requirements are ambiguous, or when the task exceeds what autonomous execution should handle. Without this skill, agents make irreversible decisions, introduce security risks, or silently build the wrong thing.

2 Updated today
varunk130
Data & Documents Listed

cost-tier-routing

Use BEFORE doing direct file search, bulk reads, data import/export, or routine coding edits in the main conversation. Routes work to the cheapest model that can do it correctly — haiku for search/IO, sonnet for coding, opus for orchestration/architecture. Triggers when about to call Read on >2 files, Grep/Glob across the repo, batch CSV/JSON transforms, or any "where is X / list all Y / count Z" question. Also triggers when the orchestrator (you, on opus) is about to write straightforward code that a sonnet subagent could handle.

1 Updated 2 days ago
The-Artificer-of-Ciphers-LLC
AI & Automation Listed

advisor-mode

Tiered model routing — classifies incoming tasks by complexity and dispatches to the correct model tier: Tier C (Haiku, simple/high-volume), Tier B (Sonnet, mid-complexity), Tier A (Sonnet + Opus advisor, strategic/complex), Tier A+ (Opus solo, highest stakes). Uses Anthropic's native advisor_20260301 API tool for Tier A dispatch. Enforces plan-before-act discipline: Opus advises on the PLAN, executor carries out the plan. Budget control via max_uses parameter. Trigger on: "what tier is this", "classify this task", "dispatch this", "which model should handle", "advisor mode", "route this task", "run this as tier A", "check my advisor budget", "run with opus advisor", "advisor dispatch", "tier routing".

0 Updated yesterday
cerebrocybersolutions
AI & Automation Listed

bosskuai-cross-model-escalation

Use this when the current model is stuck, low-confidence, missing a capability, or repeating failed attempts. It defines how to bring in another model, tool surface, or session for scoped assistance across Claude, Codex, and Cursor without losing ownership of the task.

5 Updated 3 days ago
wankimmy