CLI
The bones binary is a single Kong-driven entry point covering workspace setup, the orchestrator, and runtime task management. Run bones <command> --help for flag-level details on any subcommand.
Global flags
| Flag | Description |
|---|---|
-h, --help | Show context-sensitive help |
-R, --repo=PATH | Path to a repository file (overrides workspace lookup) |
-v, --verbose | Verbose output |
Top-level command groups
Workspace and bootstrap
| Command | Purpose |
|---|---|
bones doctor | Check development environment health |
bones init | Create a workspace |
bones join | Locate an existing workspace (walks up from cwd) |
bones up | Workspace bootstrap: .bones/, agent.id, hooks, skill templates |
bones hub start | Start the hub (idempotent; auto-runs on first verb that needs it) |
bones hub stop | Stop the hub fossil server and embedded NATS |
bones down | Reverse bones up: stop hub, remove .bones/, prune hooks |
Per ADR 0041, bones up is scaffold-only. The hub auto-starts on first verb invocation; bones hub start is only needed when you want to verify the hub is up explicitly.
Orchestrator
| Command | Purpose |
|---|---|
bones validate-plan <path> | Validate a slot-annotated plan; --list-slots emits JSON |
bones peek | Open the hub Fossil repo in the system fossil ui web view (timeline, branches, files). Optional enhancement — prints a one-line install hint and exits cleanly when fossil isn’t on PATH. --port=N to pin the UI port. |
Tasks
| Command | Purpose |
|---|---|
bones tasks create <title> | Create a new task |
bones tasks list | List tasks (filters: --ready, --stale=N, --orphans, --status=, --claimed-by=, --all, --json) |
bones tasks show <id> | Show a task |
bones tasks update <id> | Update a task |
bones tasks claim <id> | Claim a task |
bones tasks close <id> | Close a task |
bones tasks watch | Stream task lifecycle events |
bones tasks status | Snapshot of all tasks by status |
bones tasks link <from> <to> | Link two tasks with an edge type |
bones tasks prime | Print agent-tasks context (prime) |
bones tasks autoclaim | Run one autoclaim tick |
bones tasks aggregate | Aggregate per-slot task summary |
bones tasks dispatch parent/worker are hub-only verbs; they’re hidden
from --help and intended for invocation by the dispatch flow itself.
Repository
bones repo exposes the underlying Fossil surface for human inspection. Most agents use the coord Go API; the CLI is here for diagnostics.
| Command | Purpose |
|---|---|
bones repo new <path> | Create a new repository |
bones repo clone [url [path]] | Clone a remote repository |
bones repo ci -m MSG <files> | Checkin file changes |
bones repo co [version] | Checkout a version |
bones repo ls [version] | List files in a version |
bones repo timeline | Show repository history |
bones repo cat <artifact> | Output artifact content |
bones repo info | Repository statistics |
bones repo hash <files> | Hash files (SHA1 or SHA3) |
bones repo delta create/apply | Create or apply a delta |
bones repo config ls/get/set | Repository config |
bones repo query <sql> | Execute SQL against the repository |
bones repo verify | Verify repository integrity |
bones repo resolve <name> | Resolve symbolic name to UUID |
bones repo extract [files] | Extract files from a version |
bones repo wiki ls/export | Wiki operations |
bones repo tag ls/add | Tag operations |
bones repo open [dir] | Open a checkout in a directory |
bones repo status | Working-tree status |
See also
- Quickstart — the hands-on walkthrough
- Concepts — what each command operates on
- Skills — Claude Code skills layered on top of these commands