Skip to content
Back to skills

Brain Conflicts

ASecurity

Review and resolve unresolved brain merge conflicts.

  • 84 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
toolsbash

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add toroleapinc/claude-brain --skill brain-conflicts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Brain Conflicts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Brain Conflicts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/toroleapinc-brain-conflicts/badge)](https://www.skillsdirectory.com/skills/toroleapinc-brain-conflicts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: brain-conflicts
description: Review and resolve unresolved brain merge conflicts.
---


The user wants to resolve pending brain merge conflicts.

## Steps

1. Read the conflicts file:
   ```bash
   cat ~/.claude/brain-conflicts.json 2>/dev/null || echo '{"conflicts":[]}'
   ```

2. Filter to unresolved conflicts (where `resolved` is not `true`).

3. If no unresolved conflicts, tell the user: "No pending conflicts. Brain is fully synced."

4. For each unresolved conflict, present:
   - The topic
   - What Machine A says
   - What Machine B says
   - The AI's suggestion and confidence level

   Ask the user to choose:
   - **Accept AI suggestion**: Apply the suggestion
   - **Keep Machine A's version**: Use A's content
   - **Keep Machine B's version**: Use B's content
   - **Keep both (machine-specific)**: Tag each with its machine name
   - **Custom**: Let the user type their own resolution

5. After each resolution:
   - Mark the conflict as `resolved: true` with the chosen resolution in brain-conflicts.json
   - Apply the resolution to the appropriate brain file (CLAUDE.md, memory, etc.)

6. After all conflicts are resolved:
   ```bash
   bash "${CLAUDE_PLUGIN_ROOT}/scripts/push.sh"
   ```

7. Show summary: "X conflicts resolved. Brain is now fully synced."

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.