/claude-memory:memory-setupfrom claude-memory
This 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.
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.
Interactive guided setup for the claude-memory plugin. Walk the user through each step, asking for their input before proceeding.
First, check the current state of the installation:
~/.config/claude-memory/.venv/bin/python3 ${CLAUDE_PLUGIN_ROOT}/scripts/diagnose.py 2>/dev/null || python3 ${CLAUDE_PLUGIN_ROOT}/scripts/diagnose.py
This returns a JSON array of check results. Present them as a status table to the user:
| Component | Status | Detail |
|---|---|---|
| Python version | ok/fail | version number |
| Virtual environment | ok/fail | path |
| ... | ... | ... |
Use checkmarks and X marks for status. If everything is "ok", tell the user the plugin is already configured and ask if they want to reconfigure. If there are failures, explain what needs fixing.
Ask the user which LLM provider they want to use for observation extraction and consolidation. Present these options clearly:
gemini-3.1-flash-lite-preview. Requires GOOGLE_API_KEY.claude-haiku-4-5-20251001. Requires ANTHROPIC_API_KEY.gpt-4o-mini. Requires OPENAI_API_KEY.claude -p. Slightly slower but zero additional cost.Wait for the user to choose before proceeding. If the diagnostics showed an API key already set, mention which provider it corresponds to.
If the user chose Google, Anthropic, or OpenAI:
export GOOGLE_API_KEY="your-key" (get from https://aistudio.google.com/)export ANTHROPIC_API_KEY="your-key"export OPENAI_API_KEY="your-key"~/.zshrc, ~/.bashrc, or ~/.secrets.env) for persistenceIf the user chose "claude" or "local", skip this step.
If the user chose "local", ask for the endpoint URL (default: http://localhost:8080).
Ask if they want to use the default model or specify a custom one. Show the default for their chosen provider:
| Provider | Default Model |
|---|---|
gemini-3.1-flash-lite-preview | |
| Anthropic | claude-haiku-4-5-20251001 |
| OpenAI | gpt-4o-mini |
| Claude | haiku |
| Local | default |
Most users should keep the default. Only advanced users need to change this.
Ask if the user wants to customize these (show defaults — most users should keep them):
claude -p if the configured provider's API key is missingOnce all choices are collected, write the config file:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/write_config.py \
--provider "<chosen_provider>" \
--model "<chosen_model>" \
--fallback-to-claude "<true_or_false>" \
--retention-days <days> \
--max-inject-tokens <tokens>
For local provider, add --local-url "<url>".
Show the user the resulting config that was written to ~/.config/claude-memory/config.json.
Execute the plugin setup script to create the venv, install dependencies, and initialize the database:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/setup.sh
If this fails, help the user debug based on the error output.
Run diagnostics again to confirm everything passes:
~/.config/claude-memory/.venv/bin/python3 ${CLAUDE_PLUGIN_ROOT}/scripts/diagnose.py 2>/dev/null || python3 ${CLAUDE_PLUGIN_ROOT}/scripts/diagnose.py
Present the updated status table. All checks should now be "ok".
Give the user a concise summary of what was set up:
~/.config/claude-memory/config.json~/.config/claude-memory/.venv/Remind the user about available slash commands:
/memory-query <topic> — Search memories/memory-status — Check database health/memory-consolidate — Manually trigger consolidation/memory-forget <query> — Remove observationsWhat SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/memory-consolidateThis 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"./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-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