Skip to content
Development
Command

/bb-pause

Pause the SessionEnd auto-commit hook when refactoring core engine files.

From plugin
13219 skills19 commands9 hooks
shell
$ npx -y skills add HelloRuru/claude-memory-engine --agent claude-code

Ships 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.

Read it on GitHub ↗
Ships withclaude-memory-engine

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

Get the whole plugin, auto-invoked
Stats
132
Stars
0
Views
27
Forks
Maintained
Maintenance
JavaScript
Language
MIT
License
2mo ago
Last commit
4mo ago
Created

Repo: HelloRuru/claude-memory-engine