Skip to content
Development
Command

/memory-health

Check the health status of all memory files and hooks.

From plugin
claude-memory-engine
13418 skills18 commands9 hooks

Command definition

memory-health.md

/memory-health -- Memory Health Check

Check the health status of all memory files and hooks.

Steps

1. **Scan memory directory**: `~/.claude/projects/{project-id}/memory/` 2. **Scan sessions directory**: `~/.claude/sessions/` 3. **Scan diary directory**: `~/.claude/sessions/diary/` 4. **Scan learned directory**: `~/.claude/skills/learned/` 5. **Check debug log**: `~/.claude/sessions/debug.log`

Output Format

Memory Health Report

MEMORY.md level: {lines}/200 ({percent}%) {Safe/Warning/Critical}

Memory files:
| File | Lines | Last Updated | Status |
|------|-------|-------------|--------|
| {filename} | {lines} | {date} | {OK/Stale/Too Large} |

Sessions: {N} total, latest: {date}
Diary entries: {N} total, latest: {date}
Pitfall records: {N} total, latest: {date}
Learned Skills: {N} total

Hooks status:
- session-start.js: {OK/Error}
- session-end.js: {OK/Error} (debug.log last: {msg})
- memory-sync.js: {OK}
- write-guard.js: {OK}
- pre-push-check.js: {OK}

Thresholds

  • MEMORY.md < 170 lines -> Safe
  • MEMORY.md 170-200 lines -> Warning, suggest moving content to topic files
  • MEMORY.md > 200 lines -> Critical, content beyond line 200 is truncated by Claude
  • Memory file not updated for 30+ days -> Stale
  • Memory file over 200 lines -> Too Large
@helloruru
Ships withclaude-memory-engine

Claude Code 的記憶系統 | A memory system built with hooks + markdown. Zero dependencies.

Stars on GitHub

Momentum

stars in total
134
Star history of HelloRuru/claude-memory-engine on GitHub, a chart by star-history.com

Other commands on claude-memory-engine.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command