model-escalation

Track task outcomes and provide advisory escalation recommendations based on failure patterns.

13|6|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/baekenough/second-brain --skill model-escalation-baekenough
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-escalation
Source: https://github.com/baekenough/second-brain/tree/main/.claude/skills/model-escalation
Command: npx skills add https://github.com/baekenough/second-brain --skill model-escalation-baekenough

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Tracks task outcomes and provides advisory escalation recommendations based on failure patterns. Advisory-only — the orchestrator makes the final decision (R010).

Core Features & Use Cases

  • Tracks task outcomes and recognizes failure patterns to trigger escalations.
  • Provides structured escalation advisories with next-model recommendations and cost impact.
  • Persists outcomes to support de-escalation decisions and stability.

Quick Start

Run the task-outcome-recorder.sh and model-escalation-advisor.sh scripts to enable the escalation workflow.

Frequently Asked Questions about model-escalation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is advisory model escalation and how does it manage AI task outcomes?

Advisory model escalation tracks task outcomes and provides recommendations for escalating or de-escalating models based on failure patterns. It operates in an advisory-only capacity, meaning the orchestrator retains the final decision on whether to act on the escalation advice.

How do I track task failure patterns to recommend model escalation?

You track task failure patterns by running the task-outcome-recorder.sh and model-escalation-advisor.sh scripts. The recorder persists task outcomes as JSON lines to /tmp, which the advisor script then reads to generate structured escalation advisories.

Does the model escalation advisor block input or interrupt agent orchestration?

The model escalation advisor never blocks input or interrupts orchestration. It operates asynchronously by reading recorded outcomes and returning advisories, ensuring the primary agent workflow continues without latency or forced interruptions.

Can I use advisory model escalation across multiple agent types and models?

Yes, advisory model escalation applies across multiple agent types and models. It evaluates failure patterns against configured thresholds to determine when to escalate or de-escalate, supporting diverse AI architectures without requiring specific model dependencies.

What is the best way to handle AI model de-escalation after task failures stabilize?

The best way to handle de-escalation is by persisting task outcomes to support stability analysis. The advisor script reads this historical data to recommend de-escalation when failure patterns subside and outcomes stabilize below configured thresholds.

Why do I need advisory-only escalation instead of automatic model switching?

Advisory-only escalation is needed because it provides structured next-model recommendations and cost impact analysis without forcing a switch. This allows the orchestrator to evaluate context and make the final decision, preventing unnecessary or costly model changes.