.claude/skills/model-escalation/SKILL.md
Advisory model escalation based on task outcome tracking
npx skillsauth add baekenough/oh-my-customcode model-escalationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Tracks task outcomes and advises model upgrades when failures are detected. Advisory-only — the orchestrator makes the final decision (R010).
haiku → sonnet → opus
| Condition | Action | |-----------|--------| | 2+ failures with same model for same agent type | Advise escalation | | 3+ consecutive failures across any agent type | Advise global escalation | | Sustained success after escalation | Advise de-escalation |
| Parameter | Default | Description |
|-----------|---------|-------------|
| failure_threshold | 2 | Failures before escalation advisory |
| consecutive_threshold | 3 | Consecutive failures for global advisory |
| cooldown_tasks | 5 | Successes before de-escalation advisory |
PostToolUse (Task) → task-outcome-recorder.sh
Records: agent_type, model, success/failure, error_summary
Storage: /tmp/.claude-task-outcomes-$PPID (JSON lines, max 50)
PreToolUse (Task) → model-escalation-advisor.sh
Reads outcomes → counts failures → advises escalation via stderr
Advisory only — never blocks, never modifies tool input
--- [Model Escalation Advisory] ---
Agent type: {agent_type}
Current model: {current_model}
Recent failures: {count}/{threshold}
⚡ Recommended: Escalate to {next_model}
Cost impact: {multiplier} per task
---
development
Generate and maintain a persistent codebase wiki — LLM-built interlinked markdown knowledge base (Karpathy LLM Wiki pattern)
development
Use the project wiki as RAG knowledge source — search wiki pages to answer codebase questions before exploring raw files
tools
Analyze task trajectories to propose reusable SKILL.md candidates from successful patterns
data-ai
hada.io RSS feed monitoring for AI agent/harness articles with automated /scout analysis