CLI Commands

Complete reference for all Clawdius CLI commands.

Global Flags

FlagShortDescription
--no-tui-nRun without TUI (headless mode)
--cwd-wWorking directory (default: .)
--output-format-fOutput format: text, json, stream-json
--quiet-qSuppress progress indicators
--config-CPath to config file
--lang-LOutput language (en, zh, ja, ko, de, fr, es, it, pt, ru)

Commands

clawdius chat [MESSAGE]

Send a message to the LLM.

FlagShortDescriptionDefault
--provider-PLLM provideranthropic
--model-mModel to useProvider default
--session-sSession ID to continueNew session
--mode-MAgent modecode
--editor-eOpen external editorDisabled
--exitNon-interactive modeAuto
--quietSuppress output except responseDisabled
--auto-approveAuto-approve tool executionsDisabled

clawdius auto <TASK>

Autonomous CI/CD mode.

FlagDescriptionDefault
--providerLLM provideranthropic
--modelModelProvider default
--max-iterationsMax iterations50
--run-testsRun tests after changesDisabled
--auto-commitCommit automaticallyDisabled
--fail-on-test-failureFail on test failureDisabled
--output-formatCI output formattext

clawdius init [NAME]

Initialize a Clawdius project.

clawdius setup [--quick] [--provider]

Interactive setup wizard.

clawdius sessions [--delete ID] [--search QUERY]

List and manage sessions.

clawdius generate <PROMPT>

Generate code with AI.

FlagShortDescriptionDefault
--files-fTarget files (comma-separated)None
--mode-Msingle-pass, iterative, agentsingle-pass
--trust-Tlow, medium, highmedium
--max-iterations-iMax iterations5
--dry-runPreview onlyDisabled
--provider-PLLM provideranthropic
--model-mModelProvider default

clawdius git <COMMAND>

CommandDescription
commit [FILES...]Stage and commit with AI message
diffShow working diff
diff --stagedShow staged diff
statusShow git status

clawdius checkpoint <COMMAND>

CommandDescription
create <desc>Create a checkpoint
listList checkpoints
show <id>Show checkpoint details
restore <id>Restore a checkpoint
compare <id1> <id2>Compare two checkpoints
delete <id>Delete a checkpoint
cleanup --keep NKeep only N most recent

clawdius timeline <COMMAND>

CommandDescription
create <name>Create timeline entry
listList entries
watchAuto-create on file changes
rollback <id>Rollback to checkpoint
diff <from> <to>Compare checkpoints
history <file>File change history

clawdius auth <COMMAND> (requires keyring feature)

CommandDescription
set <provider>Store API key
get <provider>Retrieve API key
delete <provider>Delete API key

clawdius modes <COMMAND>

CommandDescription
listList all modes
create <name>Create custom mode
show <name>Show mode details

clawdius models <COMMAND>

CommandDescription
listList local models
pull <model>Pull a model
healthCheck Ollama server
currentShow current model

clawdius sprint <TASK>

Run a multi-phase agentic sprint.

FlagDescriptionDefault
--max-iterationsMax build-test iterations3
--real-executionEnable real executionDisabled
--auto-approveSkip confirmationsDisabled
--providerLLM providerdeepseek
--modelModelProvider default
--resumeResume from saved stateDisabled

clawdius config <COMMAND>

CommandDescription
showShow current config (keys masked)
get <key>Get a config value
set <key> <value>Set a config value
pathShow config file path
listList available keys

Other Commands

CommandDescription
clawdius refactor --from LANG --to LANG [PATH]Cross-language refactoring
clawdius test <FILE>Generate tests
clawdius doc <FILE>Generate documentation
clawdius analyze [PATH]Architecture drift analysis
clawdius watch [PATH]Watch files for changes
clawdius editEdit prompt in external editor
clawdius memoryManage project memory
clawdius webhookManage webhooks
clawdius metricsShow performance metrics
clawdius telemetryConfigure telemetry
clawdius complete <FILE> <LINE> <COL>Code completions
clawdius verify --proof PATHLean 4 proof verification
clawdius server --host H --port PHTTP server
clawdius shipPre-ship checks and commit messages
clawdius skillList and execute skills