From claude-brain-sync
Manually syncs Claude brain state across machines: checks initialization, pushes local changes, pulls and auto-merges remote updates, shows summary, suggests conflict resolution.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-brain-sync:brain-syncThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The user wants to manually trigger a full brain sync cycle.
The user wants to manually trigger a full brain sync cycle.
Check that brain is initialized:
if [ ! -f ~/.claude/brain-config.json ]; then
echo "Brain not initialized. Run /brain-init first."
exit 1
fi
Push local changes:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/push.sh"
Pull and merge remote changes:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/pull.sh" --auto-merge
Show the sync result summary. Check:
If there are conflicts, suggest: "Run /brain-conflicts to review and resolve."
npx claudepluginhub toroleapinc/claude-brain --plugin claude-brain-syncJoins existing Claude Code brain sync network from another machine by cloning git repo, merging local state, validating URL, and setting up age encryption if needed.
Manages StatsClaw Brain knowledge sharing lifecycle: user opt-in via context.md, git clone/pull of statsclaw/brain and brain-seedbank repos, consent for PR contributions.