/claude-memory:memory-consolidatefrom claude-memory
This skill should be used when the user asks to consolidate memories, merge observations, synthesize insights, run consolidation, or clean up memory. Trigger phrases include "consolidate memories", "merge observations", "run consolidation", "synthesize insights", "clean up memory".
Ships in claude-memory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Manually trigger memory consolidation to synthesize observations into insights.
Before consolidating, check how many unconsolidated observations exist. Consolidation requires at least 3 unconsolidated observations.
If the user wants to preview, or if {{dry_run}} is "true", run a dry run first:
~/.config/claude-memory/.venv/bin/python3 ${CLAUDE_PLUGIN_ROOT}/scripts/consolidate.py --dry-run 2>/dev/null || python3 ${CLAUDE_PLUGIN_ROOT}/scripts/consolidate.py --dry-run
This outputs JSON showing:
unconsolidated_count — how many observations are pendingthreshold — minimum needed (3)would_consolidate — whether consolidation would proceedobservations — list of observations that would be consolidated (id, content preview, priority, topics, importance)Present this as a readable preview to the user. If would_consolidate is false, explain that more observations are needed.
If the user confirms (or didn't request dry run), execute consolidation in the foreground:
~/.config/claude-memory/.venv/bin/python3 ${CLAUDE_PLUGIN_ROOT}/scripts/consolidate.py --foreground 2>/dev/null || python3 ${CLAUDE_PLUGIN_ROOT}/scripts/consolidate.py --foreground
This outputs JSON with the consolidation result:
summary — Synthesized summary across related observationsinsight — Key pattern or insight discoveredconnections — Links found between observationssource_ids — IDs of observations that were consolidatedredundant_ids — Observations marked as redundant (importance reduced)observation_count — Total observations that were processedIf the result is {"status": "no_consolidation", ...}, explain that consolidation couldn't proceed (not enough observations, or LLM call failed).
Show the user:
GOOGLE_API_KEY, ANTHROPIC_API_KEY, etc.)What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/memory-forgetThis skill should be used when the user wants to forget something, delete memories, remove observations, clear outdated information, or reduce memory importance. Trigger phrases include "forget about", "delete memories", "remove observations", "clear memory of", "forget what we learned about"./memory-queryThis skill should be used when the user asks to search, query, or recall project memories, observations, or past session history. Trigger phrases include "what do you remember about", "search memory for", "recall", "what did we decide about", "find past observations on", "check memory for", "show me what we learned about". Also triggered by /memory-query./memory-setupThis skill should be used when the user asks to set up, configure, or install the claude-memory plugin, check memory health, diagnose memory issues, or reconfigure their LLM provider. Trigger phrases include "set up memory", "configure memory", "memory setup", "setup memory plugin", "diagnose memory", "check memory setup", "reconfigure memory provider", "fix memory". Also triggered by /memory-setup./memory-statusThis skill should be used when the user asks about memory database statistics, memory health, how many memories are stored, database size, or observation counts. Trigger phrases include "memory stats", "how many memories", "memory status", "show memory health", "database size", "observation count".npx claudepluginhub seangsisg/deja-claude --plugin claude-memoryOther plugins' skills for the same job