escalation

escalation is a skill for Claude Code, Codex from anatolykoptev/dozor. It costs 44 tokens per session (518 once invoked), scanned A, original, MIT.

A guide for escalating unresolved problems to other agents, such as an orchestrator for coordination or a devops agent for infrastructure and code issues.

In plain words
What is it for?
Use it to diagnose an issue, try safe fixes, choose the right specialist, and pass along findings, attempted fixes, and the help needed.
Why use it?
It provides a path forward when diagnosis and safe fixes do not resolve a problem.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to diagnose an issue, try safe fixes, choose the right specialist, and pass along findings, attempted fixes, and the help needed.

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

Made for: Claude Code, Codex.

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 escalation

README.md
[![agentmods](https://agentmods.dev/badge/skills/anatolykoptev/dozor/escalation/github.svg)](https://agentmods.dev/skills/anatolykoptev/dozor/escalation)
Your own site
<a href="https://agentmods.dev/skills/anatolykoptev/dozor/escalation"><img src="https://agentmods.dev/badge/skills/anatolykoptev/dozor/escalation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for escalation

Your own site · 80×15
<a href="https://agentmods.dev/skills/anatolykoptev/dozor/escalation"><img src="https://agentmods.dev/badge/skills/anatolykoptev/dozor/escalation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 518 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.00044 $0.00518
Opus 5 $0.00022 $0.00259
Sonnet 5 $0.00009 $0.00104
Haiku 4.5 $0.00004 $0.00052

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

Security

Grade A, and why

escalation 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 10d 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.

skills/escalation/SKILL.md · 64 lines

What it actually says

Escalation Skill

When you encounter a situation you cannot fully resolve, escalate to the right agent.

Agent Network

Agent When to escalate
orchestrator Cross-domain issues, need human decision, status reports, coordination between multiple agents
devops Code bugs, build failures, config changes, complex debugging beyond log analysis

Process

  1. DIAGNOSE FIRST — always try to understand the problem yourself (server_triage, server_inspect).
  2. ATTEMPT FIX — if the fix is safe (restart, cleanup), try it and verify.
  3. CHOOSE AGENT — pick the right agent based on the table above.
  4. PROVIDE CONTEXT — include in your a2a_call message:
    • What you found (triage results, error logs, metrics)
    • What you already tried (restarts, cleanups, their outcomes)
    • What you need from them (investigation, decision, fix)
  5. FOLLOW UP — include the agent's response in your answer to the user.

Examples

Service crash loop → devops:

api-service crashes in a restart loop. Logs show OOM at 512MB.
Already restarted 2x, same result.
Need: memory limit increase or code-level fix.

Disk critical → orchestrator:

Disk at 95%. Ran cleanup, freed 2GB, still at 91%.
Options: prune docker images (~8GB) or expand disk.
Need: decision on which approach.

Cascading failure → orchestrator:

Database, api-service, worker-service all unhealthy.
Root cause: database connection limit reached.
Need: coordinated restart plan, may affect other agents.

Build error → devops:

Deploy failed at build stage.
Error: go build — missing module github.com/example/lib.
Need: code fix or go.mod update.

When NOT to Escalate

  • Simple restarts that fix the issue
  • Routine health checks with all services healthy
  • Cleanup/maintenance tasks within your capabilities
  • Single service issues you can diagnose and resolve yourself
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. 10d ago First seen · 64 lines · 44 tokens per session scan A 3802057d9aa6

Subscribe to this mod's changes

escalation is a skill published in the GitHub repository anatolykoptev/dozor (5 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 518 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-31.

Related

Other skills, from other repositories