coord-loop-doctor
Skill0 starsChanged 47 days agoApache-2.0View on GitHub
Diagnose stuck, quiet, token-heavy, or repeatedly requeued coord loops. Use when coord-loop seems unreliable, tasks sit in needs-brainstorming or *-working too long, wrapper state looks stale, or the user asks why coord is not moving.
In this repository20 other files it gives its agents.
- coord-archive-indexSkill
- coord-assignSkill
- coord-auditSkill
- coord-checkSkill
- coord-dirtySkill
- coord-discardSkill
- coord-helpSkill
- coord-initSkill
- coord-promoteSkill
- coord-refineSkill
- coord-requeueSkill
- coord-reviewSkill
- coord-shape-reviewSkill
- coord-shapeSkill
- coord-splitSkill
- coord-statusSkill
- coord-tokensSkill
- coord-unblockerSkill
- merge-to-mainSkill
- rebase-to-mainSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill before starting another expensive loop.
- Distinctive: line 12
When diagnosing coord behavior, read these first:
- Very specific: line 18
Read task-files-reference.md only when authoring or transitioning tasks.
- Very specific: line 24
Check the project's state files and log: .coord/worker.state, .coord/worker.log.
- Distinctive: line 25
Check launchd service state, recent logs, and provider retry markers.
- Very specific: line 26
Check whether the task is genuinely runnable or blocked by depends_on.
- Distinctive: line 27
Check whether main checkout dirt or fast-forward failure prevented pickup.
- Very specific: line 28
Use coord-status, coord-requeue, coord-unblocker, and coord-tokens only when they match the diagnosis.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Coord Loop Doctor
Use this skill before starting another expensive loop. The goal is one diagnosis and the smallest safe recovery action.
Required Reading
When diagnosing coord behavior, read these first:
${COORD_TOOLS:-$HOME/Projects/coord-wright}/docs/coordination.md${COORD_TOOLS:-$HOME/Projects/coord-wright}/docs/codex-coordination.mdorclaude-coordination.md, depending on the stuck agent${COORD_TOOLS:-$HOME/Projects/coord-wright}/docs/task-files.md
Read task-files-reference.md only when authoring or transitioning tasks.
Workflow
- Resolve the canonical project root. Do not mutate queue state from sibling task worktrees.
- Inspect the handoff or task with the smallest useful coord view:
show --handoff, thenshow --compact, then scoped files only if needed. - Check the project's state files and log:
.coord/worker.state,.coord/worker.log. - Check launchd service state, recent logs, and provider retry markers.
- Check whether the task is genuinely runnable or blocked by
depends_on. - Check whether main checkout dirt or fast-forward failure prevented pickup.
- Use
coord-status,coord-requeue,coord-unblocker, andcoord-tokensonly when they match the diagnosis.
Classification
Return exactly one primary classification:
healthyqueue-starveddependency-blockedprovider-limitedstale-wrapperstuck-taskdirty-mainneeds-human
Use Grill-Me
Invoke grill-me when recovery would mutate task state, when multiple worktrees could own recovery, or when the fix is a wrapper change rather than a one-task requeue.
Output
Report classification, evidence, smallest recovery action, and whether a follow-up task should be shaped.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

