# Brain Sync

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

- **Type:** Skill
- **Install:** `agentstack add skill-toroleapinc-claude-brain-brain-sync`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [toroleapinc](https://agentstack.voostack.com/s/toroleapinc)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [toroleapinc](https://github.com/toroleapinc)
- **Source:** https://github.com/toroleapinc/claude-brain/tree/main/skills/brain-sync
- **Website:** https://toroleapinc.github.io/claude-brain/

## Install

```sh
agentstack add skill-toroleapinc-claude-brain-brain-sync
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

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
   ```

2. Push local changes:
   ```bash
   bash "${CLAUDE_PLUGIN_ROOT}/scripts/push.sh"
   ```

3. Pull and merge remote changes:
   ```bash
   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."

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [toroleapinc](https://github.com/toroleapinc)
- **Source:** [toroleapinc/claude-brain](https://github.com/toroleapinc/claude-brain)
- **License:** MIT
- **Homepage:** https://toroleapinc.github.io/claude-brain/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-toroleapinc-claude-brain-brain-sync
- Seller: https://agentstack.voostack.com/s/toroleapinc
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
