# CLI Reference

All commands available in the sitter CLI.

## Work Item Commands

sitter create

Create a new work item with a title and optional spec/context.

sitter create --title <title> [flags]
FlagDescription
--titleTitle of the work item (required)
--contextSpec/description. Use @filename for file, - for stdin
--tagsComma-separated tags (e.g. bug,urgent,v2)
--repoTarget repository (owner/name format)
--blocked-byID of work item that blocks this one (repeatable)
--auto-startAuto-start when all blockers complete

Examples:

$ sitter create --title "Add dark mode" --context @spec.md
$ sitter create --title "Fix login bug" --tags bug,urgent
$ echo "Details..." | sitter create --title "Refactor auth" --context -

sitter list

List all work items, optionally filtered by status or tags.

sitter list [flags]
FlagDescription
--statusFilter by status (defined, queued, in_progress, in_review, done, blocked, waiting)
--tagFilter by tag (repeatable, AND logic)
--tagsFilter by comma-separated tags (AND logic)
--allInclude completed (done) work items

Examples:

$ sitter list
$ sitter list --status in_progress
$ sitter list --tag bug --all

sitter status

Show detailed status of a specific work item, including activity timeline and agent info.

sitter status <id>

sitter start

Start a coding agent on a work item. The agent runs in an isolated git worktree.

sitter start <id>

sitter stop

Stop a running agent on a work item.

sitter stop <id>

sitter delete

Delete a work item and clean up its worktree.

sitter delete <id>

sitter logs

View agent logs for a work item. Use -f to follow in real time.

sitter logs <id> [flags]
FlagDescription
-f, --followFollow log output (like tail -f)

Examples:

$ sitter logs add-dark-mode -f

sitter update

Update fields on an existing work item.

sitter update <id> [flags]
FlagDescription
--titleNew title
--contextNew context/spec. Use @filename for file, - for stdin
--statusNew status (defined, in_progress, in_review, done, blocked)
--tagsReplace tags (comma-separated)

Examples:

$ sitter update add-dark-mode --context @updated-spec.md
$ sitter update add-dark-mode --status blocked

sitter tag

Add one or more tags to a work item.

sitter tag <id> <tag1> [tag2] ...

sitter untag

Remove one or more tags from a work item.

sitter untag <id> <tag1> [tag2] ...

sitter push

Manually push changes and create a PR for a work item. Requires GitHub App to be configured.

sitter push --work-id <id>
FlagDescription
--work-idWork item ID (required)

## Configuration Commands

sitter config

Manage agent profiles (coding, review). View or update CLI, model, and prompt settings per agent type.

sitter config agents [name] [flags]

Examples:

$ sitter config agents # List all profiles
$ sitter config agents coding # Show coding agent config
$ sitter config agents coding --model claude-opus-4-6 # Change model
$ sitter config agents review --prompt @prompt.txt # Set custom prompt

## Server Commands

sitter serve

Start the API server and dashboard.

sitter serve [flags]
FlagDescriptionDefault
--portPort to listen on51773

sitter install

Install sitter as a systemd service. Linux only, requires sudo.

sudo sitter install [flags]
FlagDescriptionDefault
--portPort to run the service on51773
--userUser to run the service asauto-detected

sitter uninstall

Remove the sitter systemd service.

sudo sitter uninstall

sitter restart

Restart the sitter systemd service.

sitter restart [flags]
FlagDescription
--forceForce restart even if agents are running

sitter upgrade

Pull the latest version, rebuild, and restart.

sitter upgrade [flags]
FlagDescription
--checkCheck for updates without applying
--forceForce upgrade even if agents are running

## GitHub Commands

sitter repos

List repositories accessible to the configured GitHub App.

sitter repos

sitter setup

Configure GitHub App authentication for automated PR creation.

sitter setup github-app

## Other

sitter version

Show the installed version of sitter.

sitter version