Skip to content

Running from the CLI

The dashboard is the primary way to run worca, but every run mode is also available from the worca CLI — useful for scripting, CI, and headless environments.

worca run starts a pipeline. The everyday form launches into an isolated git worktree (parallel-safe), mirroring the dashboard’s default:

Terminal window
worca run --worktree --prompt "Add rate limiting to the public API"

Common flags:

FlagPurpose
--prompt TEXTInline work request.
--source REFExternal source — gh:issue:42 or bd:bd-abc123.
--spec PATH / --plan PATHA spec file, or a pre-written plan that skips the Planner.
--template IDApply a template before running (feature, bugfix, …).
--worktreeRun in an isolated worktree. Falls back to in-place if the runtime lacks run_worktree.py.
--branch BRANCHBase branch the worktree forks from (--worktree only; default: HEAD).
--guide PATHA normative reference guide injected into planning (--worktree only, repeatable). See Guides.
--param KEY=VALUEOverride a template parameter (repeatable).

Run in-place (no worktree) by omitting --worktree — the pipeline runs against your working tree directly.

Terminal window
worca pause <run-id>
worca resume <run-id>
worca stop <run-id>
worca status <run-id>

worca multi-status shows every parallel pipeline at once.

worca run is a thin wrapper over the pipeline entry-point scripts in .claude/worca/scripts/. For fleet and workspace runs you call those scripts directly — run_fleet.py and run_workspace.py — covered in Fleet runs and Workspace runs. The full flag tables for all four scripts are in the Pipeline scripts reference.