Skip to content
AI & Agents
Command

/manage-memory

Manage conversation memory database

From plugin
claudest
2762 skills8 agents2 commands
> /plugin marketplace add gupsammy/Claudest

Command definition

manage-memory.md
description: Manage conversation memory database
allowed-tools: [Bash, Read]
argument-hint: "<subcommand: sync|search|stats|import>"

Memory Management Command

You are handling the `/manage-memory` command for managing the conversation memory database.

Available Subcommands

| Subcommand | Description | |------------|-------------| | `sync` | Force sync current session to database | | `search <query>` | Quick FTS search, return snippets | | `stats` | Show DB size, project/session/message counts | | `import` | Re-import all conversations from ~/.claude/projects |

Implementation

Based on the user's subcommand, execute the appropriate action:

sync

Force sync the current session to the database immediately:

# Get session ID from environment and sync
python3 "${CLAUDE_PLUGIN_ROOT}/hooks/sync_current.py" <<< '{"session_id": "'"$CLAUDE_SESSION_ID"'"}'

Then report the result to the user.

search <query>

Search conversations using full-text search:

python3 "${CLAUDE_PLUGIN_ROOT}/skills/recall-conversations/scripts/search_conversations.py" --query "<query>" --max-results 5

Display the results in a readable format.

stats

Show database statistics:

python3 "${CLAUDE_PLUGIN_ROOT}/hooks/import_conversations.py" --stats

Display the stats including database size, number of projects, sessions, and messages.

import

Re-import all conversations:

python3 "${CLAUDE_PLUGIN_ROOT}/hooks/import_conversations.py"

Report the import results.

User Arguments

The user provided: `$ARGUMENTS`

Parse the subcommand and any additional arguments, then execute the appropriate action. If no subcommand is provided or an unknown subcommand is given, show the available subcommands.

Read more
@gupsammy
Ships withclaudest

A highly opinionated plugin marketplace for augmenting your Claude Code. Battle-tested skills and tools that actually work.

27632 skills8 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
276
Star history of gupsammy/Claudest on GitHub, a chart by star-history.com

Other commands on claudest.

More commands from other plugins.

devbox-entrypoint

devbox-entrypoint

Command

Context: runloop resumes a devbox by re-running the same entrypoint script, which invokes `cn serve --id <agentId> ...`. Because…

@continuedev@continuedevInstall Command
c

c

Command

Shortcut for "continue working" — pick the work in flight back up exactly where it stopped and keep going until it is done or…

lifeos2w20k
@danielmiessler@danielmiesslerInstall Command