Skip to content
Skills Library
AI & agents · Analysis

debug-memory

/debug-memory

Diagnose ClaudeMemory installation and configuration issues. Use when memory tools fail or setup seems broken.

Licence
MIT
Last repository change
14.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 14.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Diagnose ClaudeMemory installation and configuration issues. Use when memory tools fail or setup seems broken.

Original author description

Diagnose ClaudeMemory installation and configuration issues. Use when memory tools fail or setup seems broken.

How it works

  1. What This Checks
  2. Step 1: Run Setup Check
  3. Step 2: Analyze Results
  4. Step 3: Provide Recommendations
  5. Step 4: Verify Fix
  6. Common Issues
  7. Example Output
  8. When to Use This Skill
  9. Related Commands
Original SKILL.md headings · 142 lines, 476 words
SKILL.md preview
---
name: debug-memory
description: Diagnose ClaudeMemory installation and configuration issues. Use when memory tools fail or setup seems broken.
user_invocable: true
---

# 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:

```
memory.check_setup
```

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:**
```bash
# Initialize ClaudeMemory
claude-memory init

# Or use the setup skill
/setup-memory
```

**For configuration issues:**
```bash
# Check system health
claude-memory doctor

# View current status
claude-memory status
```

**For version issues:**
```bash
# Upgrade to latest version
gem update claude-memory
claude-memory init  # Re-run init after upgrade
```

## 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 init` or `/setup-memory`

### "Hooks not configured"
- **Cause**: `.claude/settings.json` missing hook definitions
- **Fix**: Run `claude-memory init` to add hooks

### "CLAUDE.md not importing snapshot"
- **Cause**: Missing `@.claude/rules/claude_memory.generated.md` import
- **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

```
Running ClaudeMemory diagnostics...

✅ Global database: healthy
   - Location: ~/.claude/memory.sqlite3
   - Schema: v7
   - Facts: 42

✅ Project database: healthy
   - Location: .claude/memory.sqlite3
   - Schema: v7
   - Facts: 127
   - Last ingest: 2026-01-29T21:47:41Z

✅ Hooks: configured
✅ Snapshot: published
✅ CLAUDE.md: importing snapshot

All systems operational! Memory is working correctly.
```

## 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 ClaudeMemory
- `claude-memory doctor` - CLI health check
- `claude-memory status` - View system status
- `memory.check_setup` - The underlying MCP tool

Versions

The database has no other skills named debug-memory.

Database snapshot: 13.11.2026 · package version 45aa28202649 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100status
    Diagnoses Mem0 connectivity, API key validity, and memory read/write functionality. Use when memory operations fail, searches return empty, or to verify the plugin is working correctly.
  • 100mem0-status
    Diagnoses mem0 connectivity, API key validity, and memory read/write functionality. Use when memory operations fail, searches return empty, add_memory errors occur, or to verify the plugin is working correctly.
  • 100claude-in-chrome-troubleshooting
    Diagnose and fix Claude in Chrome MCP extension connectivity issues. Use when mcp__claude-in-chrome__* tools fail, return "Browser extension is not connected", or behave erratically.
  • 100claude-in-chrome-troubleshooting
    Diagnose and fix Claude in Chrome MCP extension connectivity issues. Use when mcp__claude-in-chrome__* tools fail, return "Browser extension is not connected", or behave erratically.
  • 100diagnose-lspmux
    Diagnose lspmux rust-analyzer connection issues. Use when MCP tools fail, rust_server_status shows errors, or rust-analyzer seems unresponsive.
  • 86diagnosing-mcp
    Use when an MCP server will not connect, exposes no tools, or its tools fail.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.