brain-init

Initialize a Git-backed brain repository and export Claude Code state to a remote.

78|18|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/toroleapinc/claude-brain --skill brain-init-toroleapinc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: brain-init
Source: https://github.com/toroleapinc/claude-brain/tree/main/skills/brain-init
Command: npx skills add https://github.com/toroleapinc/claude-brain --skill brain-init-toroleapinc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, git, age.

What problem does it solve?

Brain engineers a Git-backed brain repository and exports Claude Code state to a remote, enabling seamless cross-device memory, skill, and setting synchronization without manual re-teaching.

Core Features & Use Cases

  • Create a Git-backed remote for your brain and export the current Claude Code state.
  • Initialize a local brain repository with machine identity, metadata, and an initial consolidated brain snapshot.
  • Optionally enable encryption to protect the local brain repository, with guidance on prerequisites and security notices.

Quick Start

Initialize brain sync by providing a Git remote URL and optional --encrypt flag.

Frequently Asked Questions about brain-init

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync Claude Code state across multiple machines using Git?

To sync Claude Code state across machines, you initialize a Git-backed brain repository and export your current state to a remote. This enables seamless cross-device memory and setting synchronization without manual re-teaching.

Can I encrypt my local brain repository during initialization?

Yes, you can encrypt your local brain repository during initialization by using the optional --encrypt flag. This protects your synced Claude Code state, but requires specific prerequisites and adherence to security notices.

What dependencies are needed to initialize cross-device brain synchronization?

Initializing cross-device brain synchronization requires jq, git, and age to be installed. These tools facilitate repository creation, state export, remote validation, and optional encryption setup.

How does the brain initialization process validate a remote Git URL?

The brain initialization process validates a remote Git URL by enforcing a safety check before exporting the current Claude Code state. This ensures the remote is correctly configured to receive your initial consolidated brain snapshot.

What is included in the initial brain snapshot exported to the remote?

The initial brain snapshot exported to the remote includes your current Claude Code state, local machine identity, and repository metadata. This consolidated snapshot captures your existing skills and settings for cross-device access.