Synopsis
Description
memory manages profClaw’s context memory index. The memory system indexes files and conversation history into chunks that are retrieved during agent execution to provide relevant context. Commands let you search the index, trigger a sync from disk, inspect what is indexed, and clear everything.
Subcommands
| Subcommand | Alias | Description |
|---|---|---|
search <query> | - | Search memory for relevant chunks |
stats | - | Show index statistics |
sync | - | Sync memory index from disk files |
files | ls | List all indexed files |
clear | - | Delete all memory chunks and the index |
memory search <query>
Performs a semantic search over the memory index and returns the most relevant chunks.
Search query string. Matched semantically against indexed content.
Maximum number of chunks to return.
Output as JSON with scores, file paths, and content.
memory stats
Output statistics as JSON including chunk count, file count, token estimate, embedding model, and last sync time.
memory sync
Crawls the configured memory directories and updates the index - adding new files, updating changed files, and removing deleted files.
Output sync result as JSON with counts for added, updated, and removed chunks.
memory clear
Skip the confirmation prompt. Required for non-interactive use.
Output
{"ok": true} on success.Examples
Related
profclaw summary- Browse AI work summaries (separate from memory)profclaw status- Shows memory chunk count in the overview- Memory Configuration - Configure which directories to index