From claude-memory
Installs, configures, or upgrades ClaudeMemory: checks gem version, runs doctor, inits databases, adds version markers, and reports status.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-memory:setup-memoryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill automatically sets up or upgrades ClaudeMemory based on your current state.
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.
npx claudepluginhub codenamev/claude_memory --plugin claude-memoryDiagnoses ClaudeMemory installation and configuration issues. Checks database, schema, hooks, CLAUDE.md, snapshot, MCP server, and ingest activity.
Explains how claude-mem captures observations, injects context, and where data is stored locally.
Provides stable principles, keyword registry, and navigation for Claude Code memory system (CLAUDE.md, static memory, hierarchy, imports). Delegates details to docs-management skill.