Claude Code Plugins

Community-maintained marketplace

Feedback

Manually sync brain with remote. Exports local state, pushes to remote, pulls updates from other machines, merges, and applies.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name brain-sync
description Manually sync brain with remote. Exports local state, pushes to remote, pulls updates from other machines, merges, and applies.

The user wants to manually trigger a full brain sync cycle.

Steps

  1. Check that brain is initialized:

    if [ ! -f ~/.claude/brain-config.json ]; then
      echo "Brain not initialized. Run /brain-init first."
      exit 1
    fi
    
  2. Push local changes:

    bash "${CLAUDE_PLUGIN_ROOT}/scripts/push.sh"
    
  3. Pull and merge remote changes:

    bash "${CLAUDE_PLUGIN_ROOT}/scripts/pull.sh" --auto-merge
    
  4. Show the sync result summary. Check:

    • What changed (new skills, merged memory, updated settings)
    • Any conflicts that need resolution
    • Updated sync timestamps
  5. If there are conflicts, suggest: "Run /brain-conflicts to review and resolve."