Skip to content

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

FlagDescription
-h, --helpShow context-sensitive help
-R, --repo=PATHPath to a repository file (overrides workspace lookup)
-v, --verboseVerbose output

Top-level command groups

Workspace and bootstrap

CommandPurpose
bones doctorCheck development environment health
bones initCreate a workspace
bones joinLocate an existing workspace (walks up from cwd)
bones upWorkspace bootstrap: .bones/, agent.id, hooks, skill templates
bones hub startStart the hub (idempotent; auto-runs on first verb that needs it)
bones hub stopStop the hub fossil server and embedded NATS
bones downReverse 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

CommandPurpose
bones validate-plan <path>Validate a slot-annotated plan; --list-slots emits JSON
bones peekOpen 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

CommandPurpose
bones tasks create <title>Create a new task
bones tasks listList 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 watchStream task lifecycle events
bones tasks statusSnapshot of all tasks by status
bones tasks link <from> <to>Link two tasks with an edge type
bones tasks primePrint agent-tasks context (prime)
bones tasks autoclaimRun one autoclaim tick
bones tasks aggregateAggregate 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.

CommandPurpose
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 timelineShow repository history
bones repo cat <artifact>Output artifact content
bones repo infoRepository statistics
bones repo hash <files>Hash files (SHA1 or SHA3)
bones repo delta create/applyCreate or apply a delta
bones repo config ls/get/setRepository config
bones repo query <sql>Execute SQL against the repository
bones repo verifyVerify repository integrity
bones repo resolve <name>Resolve symbolic name to UUID
bones repo extract [files]Extract files from a version
bones repo wiki ls/exportWiki operations
bones repo tag ls/addTag operations
bones repo open [dir]Open a checkout in a directory
bones repo statusWorking-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