skills/setup-memory/SKILL.md
Automatically install, configure, or upgrade ClaudeMemory
npx skillsauth add codenamev/claude_memory setup-memoryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
tools
Store and recall long-term memory. Use when persisting facts learned during conversations or recalling stored knowledge about projects and preferences.
development
Workflow for checking memory before code exploration. Auto-loaded when answering questions about code, architecture, or patterns.
tools
Diagnose ClaudeMemory installation and configuration issues. Use when memory tools fail or setup seems broken.
tools
Knowledge about analyzing projects for tech stack, frameworks, tools, and conventions. Use when asked to understand or learn about a project's structure.