coord-dirty
Skill0 starsChanged 47 days agoApache-2.0View on GitHub
Inspect coord project worktrees for dirty files and likely unfinished agent or worker ownership. Use when the user says /coord-dirty, asks which worktrees are dirty, asks what agent left files behind, or asks for dirty coord state across a project or all registered projects.
In this repository20 other files it gives its agents.
- coord-archive-indexSkill
- coord-assignSkill
- coord-auditSkill
- coord-checkSkill
- coord-discardSkill
- coord-helpSkill
- coord-initSkill
- coord-loop-doctorSkill
- 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
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 6
Read-only diagnostic for dirty coord worktrees.
- Distinctive: line 15
Run the helper from the current directory unless the user asks otherwise:
- Very specific: line 18
All registered projects: "${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord-dirty" --all-projects
- Very specific: line 23
If output is long, show the head and tail with a [...
- Very specific: line 38
Default scope is the current coord project.
- Distinctive: line 40
Prefer the helper output over ad hoc git commands unless the helper itself is missing or fails.
≈ “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
Read-only diagnostic for dirty coord worktrees. Do not mutate files, task state, commits, branches, or launchd services from this skill.
Syntax
/coord-dirty [--project <name-or-path>] [--all-projects] [--json]
Workflow
- Run the helper from the current directory unless the user asks otherwise:
- Current project:
"${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord-dirty" - One project:
"${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord-dirty" --project <name-or-path> - All registered projects:
"${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord-dirty" --all-projects - Machine-readable output: add
--json
- Current project:
- Report the helper output plainly. Preserve the distinction between proven
state and
likely_owner; likely ownership is a heuristic from task status, worker locks, worker logs, branch names, and dirty status. - If output is long, show the head and tail with a
[... N lines truncated ...]marker and always keep FAIL/WARN lines. Summarize by project, keeping dirty worktree rows and worker hints. Do not hide helper errors.
Interpretation
coord worker activemeans the project worker lock PID is currently alive.codex on <task>orclaude on <task>comes from a*-workingtask status.latest worker runcomes from.coord/worker.log; it is a recent hint, not proof that the agent owns all current dirty files.pre-existing before <agent>means the worker logged that the checkout was already dirty before that agent started.manual/task branchandmanual task worktreeare branch/path heuristics.
Rules
- Read-only only.
- Default scope is the current coord project. Use
--all-projectsonly when the user explicitly asks for all repos/projects/worktrees. - Prefer the helper output over ad hoc git commands unless the helper itself is missing or fails.
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.

