Common patterns and recipes for MemoClaw.
memoclaw store "User prefers dark mode" \ --importance 0.8 \ --tags preferences,ui
memoclaw store "Correction: The database connection uses port 5433, not 5432" \ --importance 0.95 \ --tags corrections
memoclaw recall "user's theme preference"
memoclaw recall "database configuration" \ --namespace project-api \ --limit 10
memoclaw store-batch \ '{"content": "Uses PostgreSQL 15", "importance": 0.9}' \ '{"content": "Deploys to Railway", "importance": 0.8}' \ '{"content": "Team of 3 developers", "importance": 0.7}'
memoclaw ingest \ --messages '[{"role":"user","content":"I prefer dark mode and use vim."},{"role":"assistant","content":"Got it!"},{"role":"user","content":"My timezone is PST."}]' \ --auto-relate
memoclaw suggested --category stale --limit 5
# CLI exits with non-zero codes on errors memoclaw delete some-id || echo "Delete failed"