escalate

escalate is a skill for Claude Code from ryanczak/rexyMCP. It costs 31 tokens per session (3,017 once invoked), scanned A, original, MIT.

A decision tool for handling a failed or over-budget development phase. It chooses whether to refine the instructions and retry, take over the work directly, or resume an interrupted attempt.

In plain words
What is it for?
Use it after a phase executor reports a hard failure or exceeds its budget, when deciding how to continue the work.
Why use it?
It turns failure information into a next action instead of restarting blindly. The decision uses the executor’s report, the phase requirements, project standards, and related bug reports.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the rexymcp plugin — 5 skills, 1 MCP server shipped together

Good fit Use it after a phase executor reports a hard failure or exceeds…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ryanczak/rexymcp/escalate
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 ryanczak/rexyMCP --skill escalate
Clone the repo
git clone --depth 1 https://github.com/ryanczak/rexyMCP

Made for: Claude Code.

Or install rexymcp, the plugin that ships this one along with the rest of its 5 skills, 1 MCP server.

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 escalate

README.md
[![agentmods](https://agentmods.dev/badge/skills/ryanczak/rexymcp/escalate.svg)](https://agentmods.dev/skills/ryanczak/rexymcp/escalate)
Your own site
<a href="https://agentmods.dev/skills/ryanczak/rexymcp/escalate"><img src="https://agentmods.dev/badge/skills/ryanczak/rexymcp/escalate.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,017 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.00031 $0.03017
Opus 5 $0.00015 $0.01509
Sonnet 5 $0.00006 $0.00603
Haiku 4.5 $0.00003 $0.00302

Measured 7d ago against content hash a61eaad5d98e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

escalate 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 7d 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.

plugin/skills/escalate/SKILL.md · 272 lines

How it starts

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

Escalate Skill

This skill handles escalation decisions when the executor returns a hard_fail or budget_exceeded result. Given the briefing, you choose a lever: refined re-dispatch (default for weak models), session takeover (last resort), or resume. The decision is judgment-heavy — wrong defaults burn the architect-executor split.

Read these first

Before any action:

  1. Read the briefing from the returned PhaseResult.briefing. This is your primary input — it contains one_line, current_blocker, what_was_tried, and diagnostics.
  2. Read the phase doc (resolve <phase> from the argument) to understand the original spec, its acceptance criteria, and what the executor was attempting.
  3. Read <repo>/docs/dev/STANDARDS.md for context on the engineering contract the executor was held to.
  4. If the briefing references specific turns, query the session log via executor_log_tail + get_turn MCP tools using the phase's log_path.
  5. Read any open bug reports in the milestone's bugs/ directory that reference this phase.

The repo root is <repo> — resolve it from CLAUDE_PROJECT_DIR, ANTIGRAVITY_PROJECT_DIR, or the nearest directory containing the milestone layout.

1. Refuse non-failure results

Check PhaseResult.status:

  • If "complete": this is a review, not an escalation. Point the user at /rexymcp:review <phase> and stop. Escalate is not for clean results.
  • If "hard_fail" or "budget_exceeded": proceed to §2.
  • If "cancelled": proceed to §2 — a deliberately-stopped run is the clearest resume candidate (its partial work is already on disk). See the Resume lever.

2. Choosing a lever

A hard_fail briefing is a signal: the executor reached the budget, hit a diagnostic it couldn't resolve, lost track of state, or otherwise stopped without producing a clean PhaseResult. The escalation question is what changes so the next attempt succeeds.

On a NoProgressStall, run the project's gates against the partial tree yourself before picking a lever — build, lint, tests. A stall is usually a nearly-finished phase: the executor writes most of the work, then loops re-reading instead of running a gate. The minute of gate-running decides the lever (if the missing piece is small, resume with the diagnosis; if the missing piece is the very edit it stalled on, the stall itself is the wall) and it finds defects nothing else will — the executor stalled before running any gate, so its partial work is unverified by construction and the briefing cannot show what's broken in it. Do not treat the stall as evidence the work is bad; the design is typically right and what's missing is integration.

Read the full file on GitHub · 272 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. 7d ago First seen · 272 lines · 31 tokens per session scan A a61eaad5d98e

Subscribe to this mod's changes

escalate is a skill published in the GitHub repository ryanczak/rexyMCP (86 stars, last pushed 20d ago), licensed MIT. It adds 31 tokens to every session and 3,017 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens