Command cheat sheet
Prefer the feature guides for explanations. This page is a dense index only.
Install and agents
Section titled “Install and agents”make prereqs && make installstatefulmemory installstatefulmemory install --agent cursorstatefulmemory install --no-git-hooks→ Install · Wire into your agent
Observations
Section titled “Observations”statefulmemory obs save --type decision --title "…" --content "…" --session "$SID"statefulmemory obs save --anchor src/auth.rs::login --title "…" --content "…"statefulmemory obs recent --limit 10statefulmemory obs history <id>statefulmemory obs relations <id>statefulmemory obs reextract [--since <rfc3339>]statefulmemory obs reindex [--force]Search and context
Section titled “Search and context”statefulmemory obs search "auth"statefulmemory obs search "auth" --mode bm25statefulmemory obs search "auth" --max-tokens 800statefulmemory obs context --query "deploy" --limit 20statefulmemory obs context --max-tokens 500statefulmemory obs context --include-staleAnchors and verify
Section titled “Anchors and verify”statefulmemory verifystatefulmemory verify --quietDecide and mem
Section titled “Decide and mem”statefulmemory decide "Should we keep SQLite?"statefulmemory mem export --out backup.memstatefulmemory mem export --out secret.mem --seed-file ./phrase.txtstatefulmemory mem import backup.mem→ Decide · Mem archives
statefulmemory config showstatefulmemory daemon statusstatefulmemory doctor [--repair]statefulmemory tuistatefulmemory logs --lines 50statefulmemory eval --smoke --save-scorecard card.json→ Config · LoCoMo eval · Troubleshooting
TTY → text; pipes → JSON. Override with --output {text,json,yaml}.