/coordinator-kit:coordination-statefrom Coordinator Kit
Use the bundled coordinator SQLite database for tasks, events, decisions, questions, lanes, profiles and handoffs. Run first-use migration of STATE/plan/decision companions, reconcile imported records, then read and write canonical state through the CLI.
Ships in Coordinator Kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The canonical record is <workspace>/.coordinator/coord.db, created by the bundled
Python CLI. Python 3.9+ with sqlite3 is required; no pip packages or
server are needed. This replaces writable STATE.md, plan.md, decisions, question queues, operating
profiles, repo maps and coordination logs. Concept/design/validation artifacts and behavioral
instructions remain files. Retired filenames contain compatibility pointers, not parallel state.
Use the script's resolved absolute path and explicit workspace root (which may contain several
Git repos). The plugin's SessionStart hook runs migration on startup/resume in recognized
coordinator workspaces when supported, enabled and trusted. Codex requires user trust for bundled
hooks. If hooks are untrusted, disabled, unavailable, or the workspace is new, bootstrap
must run the same ensure --init command before coordination. Never claim migration succeeded
from plugin installation alone.
python3 <plugin-root>/scripts/coord.py --root <workspace> ensure --init
python3 <plugin-root>/scripts/coord.py --root <workspace> summary
python3 <plugin-root>/scripts/coord.py --root <workspace> review list
ensure snapshots recognized legacy coordination files and databases, imports original bytes
and searchable sections in a transaction, checks integrity and archive bytes, then replaces
Markdown sources with pointers. It is idempotent and resumes interrupted cutover. Every original
is recoverable with source list / source show ID --output NEW_PATH, as well as from its
.coordinator/migrations/ archive. Existing SQLite stores are imported via consistent snapshots;
the originals are preserved with .MIGRATED.md pointers and an explicit integration-review item.
Repoint their old readers/writers before treating the new database as the sole live backend.
Recognizable checklist/legacy DB records are imported conservatively. Uncertain statuses, free
prose, holds/lifts, questions, operating configuration and stop notes require coordinator
reconciliation, not guessed approvals. Use review show SECTION_ID, create/update canonical
records carrying original requirements/provenance, then review resolve SECTION_ID --note TEXT --refs RECORD_ID .... Use --historical only after verifying that a section has no remaining
operational content. Do not dismiss an active constraint simply to clear the queue. Imported
needs_review records also need a deliberate status update. summary.ready_for_dispatch must
be true before dispatch; it certifies migration readiness, not authorization to run every task.
Migration bookkeeping is authorized on the first run; do not ask permission again. It preserves
source data and does not alter product repos, release permissions, or unrelated instructions.
On error, retain the records and source files, report the concrete failure, repair it and rerun
ensure. No fallback to a second writable Markdown backlog. See the
storage and migration reference for discovery/recovery details.
Commands emit JSON except render. For writes, prefer --data <workspace-local JSON file> or
--data - (stdin) over shell-quoting long JSON. Never put secrets in these records.
task put ID --data FILE creates/merges a record; task show ID, task list --open read it.
Fields include title, status, source, source_text, goal, acceptance, dependencies,
priority, repo, branch, commits, environment, blocked_on, next_step, evidence.
queue_pos is a positive integer (null clears it); user_initiated and needs_user are JSON
booleans. awaiting_release means verified/on-test and waiting only for release permission;
it requires release_target, acceptance criteria and verification evidence. A user-initiated
next action stays out of release questions and automatic dispatch until the user starts it.
Active/completed tasks require acceptance criteria. Use --if-version N after a read when a
concurrent coordinator might update the same record. Put merges fields, never silently drops them.decision put ID --data FILE stores the exact sourced instruction, scope, and type: hold
when applicable. decision supersede OLD NEW --data FILE records a sourced lift/replacement
and marks the original superseded in one transaction. Scope must still be checked by the
coordinator; a new id is not approval.verify pass|fail TASK --note TEXT [--ref REPORT] (pass also needs --target ENV) records a
verdict; verify start TASK is the check before dispatching another fix/verify cycle and
verify status TASK prints the count. At two failed cycles (profile verify_cycle_cap
overrides) the task becomes blocked, further in_progress/verifying updates are refused,
and verify clear TASK --question ID accepts only an answered question with
type: verify_escalation, the same cycle and the task in tasks; it permits one more cycle.
The counter fields cannot be changed through task put.commitment add ID --text TEXT --channel CH --source MSG records something the coordinator
told the user it would do or not do ("I will ask before X", a threshold, a time). Active ones
appear in summary and status as active_commitments. Close with commitment withdraw ID --channel CH --source MSG --reason TEXT (refused unless the channel matches where it was
stated) or commitment fulfil ID --evidence REF.slot claim SERIES --task ID [--first N] [--another] assigns the next number of a shared
sequence (migration numbers, ports) at dispatch, once per task unless --another;
slot list SERIES shows the claims. Lane records may carry deadline (timezone-aware ISO
time) for the combined watch.brief-contract --scratch .coordinator-scratch/TASK [--steps N] prints the execution contract
for agent briefs; it needs no database.question put ID --data FILE uses queued/presented/answered/parked states. Store exact options,
default, outbound id, answer and answer_source. The DB permits only one presented question;
reply correlation and stale-option checks still follow coordinator-kit:question-protocol.
Set tasks: ["TASK_ID"] to link decisions explicitly; text mentioning a task is not a link.
After answering/parking, select the next valid queued question; presenting/sending is a separate
action, never an automatic side effect of a database write.lane put ID --data FILE claims a checkout with status: active, checkout, task, agent,
model, resources and checkpoint path. One active lane per normalized checkout is enforced.
A lane with shared_checkout: true and an agent_id (recorded by the autolane hook for an
agent in a checkout others also use) is unique per agent instead. Lane lane names the work
lane; task lane assigns a task to one. idle gives one ranked pick per idle work lane and
FREE-SLOTS; idle block|unblock LANE --reason records why a lane cannot start
(lane filling).
Set released only after settling writers, child processes and mutations. External-resource
collisions across different checkouts still require coordination.profile put workspace --data FILE stores topology, models, communication policy, receiver
ownership, persistence and plugin/spine versions. handoff put ID --data FILE stores stop/resume
intent and ordered remaining actions; resolved handoffs stay in history. guideline records
retain reusable rules and their rationale.--actor agent event add TEXT --record TASK_ID --kind verify_pass --ref SHA --key UNIQUE
appends evidence without changing status. Agent CLI mode disallows coordination transitions;
this is a workflow boundary, not a sandbox against a process with direct filesystem access.event list, search WORDS, review list, and source list locate live and historical evidence.
status --limit 3 gives a compact operational JSON view, including the one presented question
and next pending tasks. sweep gives read-only follow-up items; --stale-hours 6 controls when
to inspect liveness, while optional --available-slots N uses freshly checked capacity for
dispatch candidates. Neither command sends messages or supplies approval. A timezone-aware
--now on sweep supports offline replay; normal operation uses the actual clock.
Missing capacity produces check_capacity; unranked/undefined work produces prepare_task;
held candidates produce review_dispatch_scope so a scoped hold cannot silently hide the queue.
--available-slots auto takes FREE-SLOTS and one pick per idle work lane from idle.
Before waiting, run sweep --available-slots auto --check-idle (or N): JSON idle_ready plus exit 0
means no recorded follow-up remains, exit 2 means action or concrete blocker accounting is
required, and exit 1 is an error. Follow the required cycle;
a read-only suggestion is not a substitute for actually asking or dispatching.
Read commands open the canonical database with SQLite mode=ro and query_only; they do
not initialize, migrate, repair, chmod or fall back to a preserved legacy source. Run ensure
explicitly at bootstrap. Bridge adapters must retain this boundary instead of importing a
legacy constructor that writes during a supposedly read-only status call.
status.active_tasks deduplicates tasks by active lanes and includes optional canonical
public_summary/summary_updated_at. Question views retain channel/thread/lane provenance.
sweep also reports queue collisions, closed tasks still queued and lane/task mismatches.
The optional Telegram status updater writes its own
telegram_idle_status.v1 meta entry and exchange events. Task summaries and feed configuration
stay in canonical task/profile records; no state companion or schema rebuild is required.
render returns a human view; optional output belongs under .coordinator/reports/ and is never
authoritative. check validates DB and preserved sources; backup NEW_PATH creates a consistent
SQLite snapshot. Commit that snapshot in the designated coordination repo when required;
never copy a live database file or initialize Git at a multi-repo workspace root for convenience.Read summary, active profile/handoff records and the relevant tasks on resume. Keep original
intent, holds and answers with source references; use actual clock timestamps and measured
revisions. The database retains the event history, so there is no need to rewrite or compact
large state files. This narrow bookkeeping access does not grant access to product databases.
These optional queue/release fields use the existing record payload; schema 1 databases open
without a table rebuild. Existing on-test tasks and old free-text blockers are not automatically
reclassified or granted approval. Reconcile them from their sources. Legacy database import
continues to preserve every original column under legacy and require review before dispatch.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nikolamin/claude-coordinator-kit --plugin coordinator-kitOther plugins' skills for the same job
15 skills in this plugin
/agent-brief-hygieneWrite bounded, self-contained coordinator dispatch briefs with original requirements, falsifiable premises, resource ownership, evidence paths, and safe handoff rules. Use before dispatching a builder, investigator, fixer, or verifier./backlog-disciplineRoute coordinator follow-ups and external signals into the canonical task record, check stale ticket premises, and preserve the founder's original intent. Use at intake or when an agent discovers work outside its current scope./bootstrapInitialize or resume a coordinator through the bundled database, automatically migrate legacy STATE/plan/decision companions on first updated-plugin use, reconcile imported records, and restore agent/inbox ownership without replacing project instructions.