manage-memory — Claude Code command: what it does, how to install
manage-memory controls the conversation memory database in Claude Code through manual syncing, full-text searches, and usage statistics.
no license ★ 276 updated 2026-10-29
/plugin marketplace add gupsammy/Claudest
/plugin install claude-memory@ClaudestWhat manage-memory does
The /manage-memory slash command provides direct control over the indexed chat database. It accepts specific subcommands and delegates operations to Python scripts included with the plugin, relying on Bash and Read tools.
Four operations are available. Running sync flushes the active session using the $CLAUDE_SESSION_ID variable, while search runs a full-text query returning up to 5 matching snippets. The stats argument displays database size alongside session, project, and message counts, and import parses discussions from ~/.claude/projects again. Passing an invalid subcommand displays the help reference.
Execution relies strictly on having python3 available in your system path, because every subcommand triggers a helper script in the background.
What it helps with
- save the active conversation session directly to the database
- run full-text searches across past discussions
- check database disk footprint and stored message metrics
- re-index project histories found inside
~/.claude/projects
Example prompts for the agent
- /manage-memory sync
- /manage-memory search "auth middleware"
- /manage-memory stats
How to install manage-memory
1Plugin marketplace
/plugin marketplace add gupsammy/Claudest/plugin install claude-memory@Claudest2Manually: put the files in place
.claude/commands/manage-memory.mdCall it with /manage-memory. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/manage-memory.mdCall it with /prompts:manage-memory. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/manage-memory.prompt.mdManually: put the files in place
.gemini/commands/manage-memory.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about manage-memory
How to install manage-memory in Claude Code?
Register the marketplace source by executing /plugin marketplace add gupsammy/Claudest, then install the component using /plugin install claude-memory@Claudest.
What does manage-memory do?
It manages conversation history records, giving you commands to force sync current interactions, inspect database metrics, query past messages, and import projects.
What dependencies does manage-memory require to run?
It needs python3 accessible in the terminal environment, as all subcommands invoke helper Python scripts through the Bash tool.