Brain sync

From toroleapinc/claude-brain · View interactive version

Brain sync is an AI agent skill from the GitHub repository toroleapinc/claude-brain. Manually sync brain with remote. Exports local state, pushes to remote, pulls updates from other machines, merges, and applies.

How to use this skill

Skill file

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

Steps

  1. Check that brain is initialized:

```bash

if [ ! -f ~/.claude/brain-config.json ]; then

echo "Brain not initialized. Run /brain-init first."

exit 1

fi

```

  1. Push local changes:

```bash

bash "${CLAUDE_PLUGIN_ROOT}/scripts/push.sh"

```

  1. Pull and merge remote changes:

```bash

bash "${CLAUDE_PLUGIN_ROOT}/scripts/pull.sh" --auto-merge

```

  1. Show the sync result summary. Check:
  1. If there are conflicts, suggest: "Run /brain-conflicts to review and resolve."
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.