/bb-pause
Pause the SessionEnd auto-commit hook when refactoring core engine files.
$ npx -y skills add HelloRuru/claude-memory-engine --agent claude-codeShips with claude-memory-engine. Installing the plugin gets this command.
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/bb-pause
Context preview
What this command does when you run it.
Pause the SessionEnd auto-commit hook when refactoring core engine files.
Command definition
bb-pause.md/bb-pause -- Pause Auto Sync
Pause the SessionEnd auto-commit hook when refactoring core engine files.
When to use
When editing `memory-backup.sh`, `hooks/*.js`, or `CLAUDE.md`, the SessionEnd hook might auto-commit half-finished work before you've verified it. This lock prevents that.
Usage
- `/bb-pause` or `/bb-pause on` -- Create `~/.claude/.bb-pause` lock file
- `/bb-pause off` -- Remove lock file, resume auto-sync
- `/bb-pause status` -- Check current state
Why this exists
`memory-backup.sh` runs on SessionEnd to auto-commit your work. This is usually helpful, but it's dangerous when you're mid-refactor on the engine itself -- the hook might commit a broken half-version. The `.bb-pause` file makes the script exit early, so you can work safely.
Execution
1. Parse args (on/off/status, default: on) 2. Run corresponding action:
- `on`: `touch ~/.claude/.bb-pause` and report "auto-sync paused"
- `off`: `rm -f ~/.claude/.bb-pause` and report "resumed"
- `status`: check if lock exists and report
3. Reminder: while paused, manually run `/backup` to push changes; otherwise nothing leaves your machine.
Claude Code 的記憶系統 | A memory system built with hooks + markdown. Zero dependencies.
Repo: HelloRuru/claude-memory-engine
Other commands on claude-memory-engine.
- /analyze
Analyze user corrections and log them into the error notebook
Open command - /backup
Push local memory files to your GitHub backup repository.
Open command - /check
Run a quick scan of the memory system's health. For daily use.
Open command - /compact-guide
Help decide when to use `/compact` based on the current conversation state.
Open command - /correct
Review the error notebook — flip through past corrections before working
Open command - /diary
Generate a reflection diary entry from the current conversation.
Open command

