/claude-memory:setup-memoryfrom claude-memory
Automatically installs, configures, or upgrades ClaudeMemory on the user's machine. Detects current state, runs init or doctor, and verifies 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.
This skill automatically sets up or upgrades ClaudeMemory based on your current state.
When invoked, it will:
Check current installation status
Determine required action
Execute setup/upgrade automatically
claude-memory doctor for health check.claude/CLAUDE.mdProvide next steps
IMPORTANT: This skill should take action, not just provide instructions.
gem list claude_memory
claude-memory --version
claude-memory doctor
Analyze the output to determine current state.
gem list shows no claude_memory entry, the gem is not installed.
Guide the user: gem install claude_memoryCLAUDE_PLUGIN_ROOT is set), hooks and MCP
are managed by the plugin — only databases and memory instructions need setup.claude-memory init (ask user for --global flag preference)For Fresh Install:
claude-memory init (with --global if selected)claude-memory doctor to verify.claude/CLAUDE.mdFor Upgrade:
claude-memory doctor (auto-runs migrations).claude/CLAUDE.mdclaude-memory stats for smoke testFor Verification:
claude-memory doctor.claude/CLAUDE.mdProvide a clear summary:
Always remind the user:
memory.status or memory.recall "<topic>"~/.claude/memory.sqlite3 - Global knowledge (preferences, conventions).claude/memory.sqlite3 - Project-specific facts and decisions.claude/CLAUDE.md - Workflow instructions for memory-first usage.claude/settings.json - Hooks for automatic ingestion.claude.json - MCP server configuration.claude/rules/claude_memory.generated.md - Published snapshotClaudeMemory automatically ingests transcripts on these events:
User has never installed ClaudeMemory:
claude-memory init with appropriate flagsdoctorUser updated gem but not configuration:
claude-memory doctor (auto-migrates schema).claude/CLAUDE.mdUser wants to check current status:
claude-memory doctorclaude-memory stats.claude/CLAUDE.mdIf automatic setup fails, provide these solutions:
Permission Denied
chmod +x $(which claude-memory)
Database Locked
claude-memory recoverMissing Ruby ClaudeMemory requires Ruby 3.2.0+. Check with:
ruby --version
Hooks Not Working Re-run setup:
claude-memory init
After successful setup, always remind users:
memory.recall "<topic>"memory.decisions, memory.conventions, memory.architectureThis workflow leverages distilled knowledge from previous sessions.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub codenamev/claude_memory --plugin claude-memory5 skills in this plugin
/project-analysisKnowledge about analyzing projects for tech stack, frameworks, tools, and conventions. Use when asked to understand or learn about a project's structure./debug-memoryDiagnose ClaudeMemory installation and configuration issues. Use when memory tools fail or setup seems broken./memoryStore and recall long-term memory. Use when persisting facts learned during conversations or recalling stored knowledge about projects and preferences./memory-first-workflowWorkflow for checking memory before code exploration. Auto-loaded when answering questions about code, architecture, or patterns.Other plugins' skills for the same job