From claude-memory
Automatically installs, configures, or upgrades ClaudeMemory Ruby gem with status checks, database init, doctor runs, and config verification. Use for fresh setups or updates in Claude Code.
npx claudepluginhub codenamev/claude_memory --plugin claude-memoryThis skill uses the workspace's default tool permissions.
This skill automatically sets up or upgrades ClaudeMemory based on your current state.
Diagnoses ClaudeMemory installation and configuration issues including database existence, schema compatibility, hooks, CLAUDE.md setup, and ingest activity. Use when memory tools fail.
Explains claude-mem's observation capture from Read/Edit/Bash actions, memory injection starting second session, and local storage in ~/.claude-mem. Activates on 'how does it work?' queries.
Configures Claude for proactive mnemonic memory with automatic recall/capture, git org/project detection, bash setup of store paths and config.json.
Share bugs, ideas, or general feedback.
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.