The user wants to manually trigger a full brain sync cycle.
Steps
-
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:
- What changed (new skills, merged memory, updated settings)
- Any conflicts that need resolution
- Updated sync timestamps
-
If there are conflicts, suggest: "Run /brain-conflicts to review and resolve."