codenamev/claude_memory/debug-memory
Claude Code and agent skill by codenamev/claude_memory
- community
Checking that the SKILL.md file is still in the repository.
Diagnose ClaudeMemory installation and configuration issues. Use when memory tools fail or setup seems broken.
Install
npx vskill@latest install codenamev/claude_memory/debug-memorySKILL.md
The same SKILL.md was published earlier as majiayu000/claude-skill-registry/debug-memory.
Debug Memory Setup
When invoked with /debug-memory, this skill runs comprehensive diagnostics on your ClaudeMemory installation.
What This Checks
This skill will verify:
- ✅ Database existence (global and project)
- ✅ Schema version compatibility
- ✅ Hook configuration
- ✅ CLAUDE.md setup
- ✅ Published snapshot status
- ✅ MCP server connectivity
- ✅ Recent ingest activity
Step 1: Run Setup Check
First, check the memory system status using the MCP tool:
This returns:
- initialized: true/false
- version: ClaudeMemory version
- issues: List of problems found
- recommendation: Actionable next steps
Step 2: Analyze Results
Based on the check results:
If initialized = true
✅ System is healthy! Show the user:
- Version information
- Database stats
- Last successful operations
If initialized = false
⚠️ System needs setup. Check for:
- Missing database: Run
claude-memory init - Missing CLAUDE.md: Not importing memory snapshot
- Missing hooks: Hooks not configured in settings.json
- Version mismatch: Need to upgrade with
gem update claude-memory
Step 3: Provide Recommendations
Give the user clear next steps:
For missing setup:
For configuration issues:
For version issues:
Step 4: Verify Fix
After user follows recommendations, run memory.check_setup again to confirm the issue is resolved.
Common Issues
"Database not found"
- Cause: ClaudeMemory not initialized
- Fix: Run
claude-memory initor/setup-memory
"Hooks not configured"
- Cause:
.claude/settings.jsonmissing hook definitions - Fix: Run
claude-memory initto add hooks
"CLAUDE.md not importing snapshot"
- Cause: Missing
@.claude/rules/claude_memory.generated.mdimport - Fix: Add import to
.claude/CLAUDE.md
"Version mismatch"
- Cause: Old ClaudeMemory version installed
- Fix: Run
gem update claude-memory
"No recent ingest activity"
- Cause: Hooks not triggering or failing silently
- Fix: Check hook configuration with
claude-memory doctor
Example Output
When to Use This Skill
Use /debug-memory when:
- Memory tools are failing with errors
- Unsure if ClaudeMemory is properly installed
- Hooks don't seem to be running
- Facts aren't being captured
- After upgrading ClaudeMemory
- Setting up a new project
Related Commands
/setup-memory- Install or upgrade ClaudeMemoryclaude-memory doctor- CLI health checkclaude-memory status- View system statusmemory.check_setup- The underlying MCP tool
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/debug-memory/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/codenamev/claude_memory/debug-memory)