@clawdb/cli
v0.1.18
Published
Command line interface for provisioning ClawDB, managing local server state, and exercising the full API surface from a terminal.
Readme
@clawdb/cli
Command line interface for provisioning ClawDB, managing local server state, and exercising the full API surface from a terminal.
Install
npm install -g @clawdb/cliOr run it without installing:
npx @clawdb/cli@latest <command>Quick Start
clawdb init
clawdb status
clawdb memory remember "Ship release notes on Thursday"
clawdb memory search "release notes"Command Groups
Top-level commands:
initstartstopstatusreadyversion
Cloud commands:
cloud logincloud logoutcloud status
MCP commands:
mcp install-claudemcp install-cursormcp install-vscodemcp install-continuemcp install-zedmcp print-config
Session commands:
session createsession validatesession revoke <sessionId>session count
Memory commands:
memory remember <content>memory remember-typed <content>memory update <id> <content>memory search <query>memory recall <ids...>memory listmemory delete <id>
Branch commands:
branch fork <name>branch listbranch get <id>branch get-by-name <name>branch trunkbranch diff <id>branch merge <source>branch discard <id>branch archive <id>
Sync commands:
sync runsync pushsync pullsync reconcilesync status
Reflection commands:
reflect runreflect jobsreflect job <jobId>reflect facts <agentId>reflect preferences <agentId>reflect contradictions <agentId>reflect resolve <agentId> <contradictionId>
Transaction commands:
tx begintx remember <txId> <content>tx remember-typed <txId> <content>tx commit <txId>tx rollback <txId>
Environment
The CLI reads CLAWDB_URL, CLAWDB_API_KEY, CLAWDB_AGENT_ID, DATABASE_URL, and .clawdb.env when present.
