coordinate-recover

coordinate-recover is a skill for Claude Code, Codex from hogancv/coordinate-agents. It costs 43 tokens per session (883 once invoked), scanned A, original, MIT.

A recovery guide for Coordinate Agents tasks that stop because a command fails, times out, or becomes stuck. It helps inspect the facts and resume a task only when appropriate.

In plain words
What is it for?
It helps diagnose failed, stale, or errored tasks and recover individual tasks or task graphs. It can also stop or clean up a task graph.
Why use it?
It avoids guessing whether a failed task is safe to restart and avoids automatic retry loops. It makes recovery an explicit decision.

Skill for Claude CodeCodex

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

Good fit It helps diagnose failed, stale, or errored tasks and recover individual tasks or task graphs. It can also stop or clean up a task graph.

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

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 coordinate-recover

README.md
[![agentmods](https://agentmods.dev/badge/skills/hogancv/coordinate-agents/coordinate-recover/github.svg)](https://agentmods.dev/skills/hogancv/coordinate-agents/coordinate-recover)
Your own site
<a href="https://agentmods.dev/skills/hogancv/coordinate-agents/coordinate-recover"><img src="https://agentmods.dev/badge/skills/hogancv/coordinate-agents/coordinate-recover/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 coordinate-recover

Your own site · 80×15
<a href="https://agentmods.dev/skills/hogancv/coordinate-agents/coordinate-recover"><img src="https://agentmods.dev/badge/skills/hogancv/coordinate-agents/coordinate-recover.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 883 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00043 $0.00883
Opus 5 $0.00022 $0.00441
Sonnet 5 $0.00009 $0.00177
Haiku 4.5 $0.00004 $0.00088

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

Security

Grade A, and why

coordinate-recover 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 9d 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/coordinate-recover/SKILL.md · 74 lines

What it actually says

Coordinate Recover

Use coordinate_agents_recover_inspect, coordinate_agents_task_status, and coordinate_agents_task_resume for single-Task recovery. For a Task Graph, use coordinate_agents_task_graph_recover, coordinate_agents_task_graph_resume, coordinate_agents_task_graph_stop, and coordinate_agents_task_graph_cleanup. Recovery is facts-first and never an automatic retry. If MCP is unavailable, or the user explicitly requests debugging, let <skill-dir> be the absolute directory containing this loaded SKILL.md and use the bundled fallback:

node "<skill-dir>/../coordinate-agents/scripts/runtime-entry.mjs" ...

The normal Plugin path starts with coordinate_agents_recover_inspect, followed by coordinate_agents_task_status or coordinate_agents_task_resume only when the recovery decision requires them. The following commands are fallback/debug syntax only:

node "<skill-dir>/../coordinate-agents/scripts/runtime-entry.mjs" task status --root "<repository>" --json
node "<skill-dir>/../coordinate-agents/scripts/runtime-entry.mjs" status --root "<repository>" --json
node "<skill-dir>/../coordinate-agents/scripts/runtime-entry.mjs" agent doctor --root "<repository>" --json
node "<skill-dir>/../coordinate-agents/scripts/runtime-entry.mjs" task graph-recover --root "<repository>" --id task-... --json
node "<skill-dir>/../coordinate-agents/scripts/runtime-entry.mjs" task graph-resume --root "<repository>" --id task-... --subtask <subtaskId> --json
node "<skill-dir>/../coordinate-agents/scripts/runtime-entry.mjs" task graph-stop --root "<repository>" --id task-... --json
node "<skill-dir>/../coordinate-agents/scripts/runtime-entry.mjs" task graph-cleanup --root "<repository>" --id task-... --json

Inspect the Task's lastError, the bounded runtime artifact, Agent Bus state, the sessionId Session status/inspect facts, and any matching commit or evidence. Explain the concrete error code and the smallest repair. Session inspection is read-only: do not restart, replay input, attach to a different PID, or resume the Task while collecting facts. Do not claim a missing capability as a successful result.

Only after the user explicitly asks to continue, invoke:

node "<skill-dir>/../coordinate-agents/scripts/runtime-entry.mjs" task resume --root "<repository>" --id task-... --json

task resume only clears the explicit recovery gate; it does not launch an Implementer. After the user confirms the repair, use task dispatch so the Task API performs executable validation, Bus handoff, launch, and state/error propagation as one operation.

For graph recovery, task graph-recover inspects durable Session, worktree, commit, and evidence records and records an interrupted FAILED subtask only when no healthy Session or verified completion exists. It never infers success from filenames or prose. task graph-resume is a separate explicit decision: it reuses a verified healthy Runtime-owned Session/worktree, or returns an exited/failed Session to READY for a later explicit graph dispatch. Failed prerequisites keep dependents BLOCKED until this valid recovery path runs. Use task graph-stop to mark active graph work STOPPED and close only Runtime-owned Sessions, followed by task graph-cleanup when needed. Both operations use bounded, ownership-checked cleanup and preserve user worktrees, branches, refs, commits, and evidence; repeated recovery/resume/stop/cleanup calls are idempotent.

TASK_NOT_FOUND, STALE_CLAIM, AGENT_EXIT_NONZERO, AGENT_TIMEOUT, and AUTH_REQUIRED remain facts to report; they do not authorize silent retries.

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. 9d ago First seen · 74 lines · 43 tokens per session scan A 919511bd97e0

Subscribe to this mod's changes

coordinate-recover is a skill published in the GitHub repository hogancv/coordinate-agents (102 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 883 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.