Command-line interface for inspecting and managing db0 memories.
npm install @db0-ai/clidb0 list # list all memories
db0 list --scope user # filter by scope
db0 search "dark mode" # semantic search
db0 stats # memory statistics by scope and status
db0 export > memories.json # export all memories as JSON
db0 import < memories.json # import memories from JSON| Flag | Description |
|---|---|
--db <path> |
Path to db0.sqlite (auto-detected from OpenClaw) |
--scope <scope> |
Filter by scope (user, session, task, agent) |
--limit <n> |
Max results |
--json |
Output as JSON |
See the main db0 README for full documentation.
MIT