Use small --help and small <command> --help for the exact current surface. This page is the high-level map of the shipped CLI.
| Command | Description |
|---|---|
small init |
Initialize .small/ artifacts |
small draft |
Create draft intent or constraints artifacts for human review |
small accept |
Accept draft intent or constraints into canonical files |
small agents |
Manage the SMALL harness block in AGENTS.md |
small plan |
Manage plan tasks and dependencies |
small progress |
Append or migrate progress entries |
small checkpoint |
Update plan status and progress atomically |
small apply |
Execute one bounded command and record the outcome |
small handoff |
Generate or update handoff.small.yml |
small start |
Initialize or repair run handoff state |
| Command | Description |
|---|---|
small validate |
Validate canonical artifacts against schemas |
small lint |
Enforce invariant rules beyond schema validation |
small check |
Run validate, lint, and verify |
small verify |
CI/local enforcement gate |
small doctor |
Diagnose workspace issues and suggest fixes |
small status |
Show compact signal-first project state |
small emit |
Emit structured SMALL state in JSON |
small selftest |
Verify the installed CLI and runtime basics |
| Command | Description |
|---|---|
small fix |
Normalize or repair known SMALL artifact issues |
small reset |
Start a new run without losing audit history |
small run |
Snapshot, list, diff, show, and restore run history |
small archive |
Archive the current run state for lineage retention |
small version |
Print CLI and supported spec versions |
small completion |
Generate shell completion scripts |
| Flag | Description |
|---|---|
--dir |
Target directory containing .small/ when supported by the command |
--workspace |
Workspace scope (root, examples, or any) when supported by the command |
--strict |
Enable strict mode for lint, verify, or check |
--json |
Emit machine-readable output when supported |
--help |
Show command help |
-v, --version |
Print version from the root command |
Initialize a new workspace:
small init --intent "Build authentication service"Check project status:
small status
small check --strictInspect run history:
small run snapshot
small run list --limit 10
small run diff <fromReplayId> <toReplayId> --fullRepair common state drift:
small fix --runtime-layout
small doctor