coord-tokens
Skill0 starsChanged 47 days agoApache-2.0View on GitHub
Show current token spend per agent across coord tasks. Read-only — no commits. Use when the user says "/coord-tokens", "show tokens", "how many tokens left", or before deciding which agent to assign.
- Commits and pushes
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-loop-doctorSkill
- coord-promoteSkill
- coord-refineSkill
- coord-requeueSkill
- coord-reviewSkill
- coord-shape-reviewSkill
- coord-shapeSkill
- coord-splitSkill
- coord-statusSkill
- coord-unblockerSkill
- merge-to-mainSkill
- rebase-to-mainSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
If a helper exits non-zero, print its stderr and continue with whatever output is available — partial data is still useful.
- Distinctive: line 28
Do not summarise, do not interpret — show the raw output so the user sees what the helpers actually report.
- Very specific: line 34
Read-only; never call coord update, git add, git commit, or git push.
≈ “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
Display token usage for Claude and Codex coord runs. Read-only; never mutates anything.
Project-root preflight:
- Resolve the canonical project checkout before running token helpers:
COORD_MAIN=$("${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord-project-root") && cd "$COORD_MAIN" - This is required when the skill is invoked from a sibling task worktree; token reporting should reflect the main queue and worker state.
Syntax
/coord-tokens
Workflow
- Run the helpers.
- Claude side:
bash "${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord-tokens.sh" - Codex side:
bash "${COORD_TOOLS:-$HOME/Projects/coord-wright}/bin/coord-tokens.sh" --agent=codex - If a helper exits non-zero, print its stderr and continue with whatever output is available — partial data is still useful.
- Claude side:
- Present output.
- Print a short header:
Token spend (Claude / Codex). - Stream each helper's output with a one-line label per section.
- Do not summarise, do not interpret — show the raw output so the user sees what the helpers actually report.
- Print a short header:
- No commits, no pushes, no file edits. This skill is observational.
Rules
- Read-only; never call
coord update,git add,git commit, orgit push. - Surface helper errors verbatim; do not retry or work around them.
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.

