analyze
CommandAnalyze user corrections and log them into the error notebook
Sync memory between your local machine and GitHub backup — both directions.
Sync memory between your local machine and GitHub backup — both directions.
# Bidirectional: pull latest from GitHub, then push local changes bash ~/.claude/scripts/hooks/memory-backup.sh sync # Push only (same as /backup) bash ~/.claude/scripts/hooks/memory-backup.sh push # Pull only (same as /recover) bash ~/.claude/scripts/hooks/memory-backup.sh pull
1. **Pull** — `git pull` from GitHub, then distribute `repo/memory/*.md` into every local `projects/*/memory/` directory (newer file wins) 2. **Push** — scan all local `projects/*/memory/` directories, copy to the backup repo, commit, and push
Claude Code 的記憶系統 | A memory system built with hooks + markdown. Zero dependencies.
Analyze user corrections and log them into the error notebook
Pause the SessionEnd auto-commit hook when refactoring core engine files.
Help decide when to use `/compact` based on the current conversation state.
Review the error notebook — flip through past corrections before working
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.