coordinator-hygiene

coordinator-hygiene is a skill for Claude Code, Codex from houshuang/limbic. It costs 115 tokens per session (1,259 once invoked), scanned C, original, MIT.

A set of working rules for coordinating long, multi-step projects or several coding agents. It covers handing work between threads, waiting for jobs, running checks, and treating destructive commands carefully.

In plain words
What is it for?
Use it to write handoff state, start a fresh thread when the task changes, wait for long jobs without constant polling, and pause before commands such as deleting files or resetting Git work.
Why use it?
A coordinator thread can become expensive when it repeats a large context for every tool call, and careless commands can delete or reset work. These rules reduce repeated context and lower the risk of damaging a project.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to write handoff state, start a fresh thread when the task changes, wait for long jobs without constant polling, and pause before commands such as deleting files or resetting Git work.

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

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 coordinator-hygiene

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/houshuang/limbic/coordinator-hygiene"><img src="https://agentmods.dev/badge/skills/houshuang/limbic/coordinator-hygiene.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,259 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00115 $0.01259
Opus 5.5 $0.00046 $0.00504
Sonnet 5.5 $0.00023 $0.00252
Haiku 4.5 $0.00012 $0.00126

Measured 9d ago against content hash 315de88f1d13, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-01, from the pricing page.

Security

Grade C, and why

coordinator-hygiene scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

description: "Keep a long-running coordinating thread from becoming the bill, and keep its destructive commands from becoming the incident. Use when running a multi-step or multi-agent project from one thread — deciding
skills/coordinator-hygiene/SKILL.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Coordinator hygiene

The coordinating thread is usually the most expensive thing in the project. Measured: one thread made 3,838 requests over three days at a median 148K context with a median 204-token output, through 38 compactions — 65% of a project's entire spend, with tool output returned under 2% of the input bill. Another burned 221M tokens on 11 user messages, four of them "continue".

Cost = number of tool calls × standing context. Everything below attacks one of those two factors.

One thread per task; state lives in a file

Write the handoff file first, update it as you go, and start a new thread when the task changes. HANDOFF.md holds: what is done, what is in flight, the pinned revision, the next action. Hand off rather than continuing past ~80 tool calls or ~100k tokens.

"Continue ambitiously" on a 150K-token thread is the single most expensive instruction available, because every subsequent tool call replays that context.

Never poll

Do not wait/sleep/re-check a subagent from a large context — polling cost 32.7M tokens in one thread. Either run the long command in the foreground with a timeout, or check the artefact the job writes (a file, a ledger row, a status line), once, when you have reason to think it is done. A background job that reports on completion is free; a loop that asks is not.

Read narrowly

  • rg with line ranges, never cat of a 672 KB monolith. If lookups are JSON dumps, build the CLI: in one project MATCH appeared 3 times against 1,174 calls that dumped or grepped the graph.
  • git show/git diff always with --stat or a path. Committed generated site data turns a 9-line fix into a 259 KB diff that then re-enters context.
  • Never load an image at original resolution into a coordinator. One call was 12 MB. Downscale, or send it to a worker.
  • Process docs are not free either: in one repo 33% of patches were HANDOFF, LOG, WORKPLAN and INDEX churn — twice the patch text that reached the data.

Read the full file on GitHub · 99 lines

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 · 99 lines · 115 tokens per session scan C 315de88f1d13

Subscribe to this mod's changes

coordinator-hygiene is a skill published in the GitHub repository houshuang/limbic (3 stars, last pushed 3d ago), licensed MIT. It adds 115 tokens to every session and 1,259 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-22.

Related

Other skills, from other repositories

sentence-transformers

Framework for state-of-the-art sentence, text, and image embeddings. Provides 5000+ pre-trained models for semantic similarity, clustering, and retrieval. Supports multilingual, domain-specific, and multimodal models. Use for generating embeddings for RAG, semantic search, or similarity tasks. Best for production…

davila7/claude-code-templates · 67 tokens

backfill

Reconstruct an OKF bundle by event-sourcing a repository's history (git log and Claude session transcripts). Use when creating an .okf/ bundle for an existing repository that predates this skill, or when resuming an interrupted backfill session. Triggers on: "reconstruct the OKF bundle", "backfill the knowledge…

scaccogatto/okf-skills · 80 tokens

mstar-branch-worktree

A Morning Star guide for Git branches and worktrees. A worktree is a separate working directory connected to the same Git repository, allowing isolated changes.

btspoony/mstar-harness · 194 tokens

mstar-conventions

A guide to Morning Star project folders, plan files, documentation boundaries, and Git branches. It explains where plans, specifications, iterations, knowledge, and project files belong.

btspoony/mstar-harness · 237 tokens

memex-sync

Sync Zettelkasten cards across devices via git.

iamtouchskyer/memex · 15 tokens

cocosearch-commit

Use when committing changes — analyzes staged (or unstaged) diffs with CocoSearch semantic search and dependency impact to generate comprehensive Conventional Commit messages. Reviews changes thoroughly, then asks user to approve, edit, or abort the commit.

VioletCranberry/coco-search · 53 tokens