setup-gbrain

Install gbrain CLI and initialize a local brain for Claude Code memory.

Updated Dec 26, 2025
One-click install
npx skills add https://github.com/tony30552001/Genpic-master --skill setup-gbrain-tony30552001
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-gbrain
Source: https://github.com/tony30552001/Genpic-master/tree/main/.agents/skills/gstack/setup-gbrain
Command: npx skills add https://github.com/tony30552001/Genpic-master --skill setup-gbrain-tony30552001

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you install and configure gbrain on a local Mac so Claude Code can access a persistent memory store across sessions and machines, enabling cross-device memory stitching for the coding agent.

Core Features & Use Cases

  • Install the gbrain CLI and initialize a local brain (PG Lite or Supabase) for persistent memory.
  • Register MCP and capture per-remote trust policy to securely enable memory access across devices.
  • Use cases include first-time setup, multi-device memory synchronization, and policy-driven MCP management.

Quick Start

Run the setup-gbrain flow to provision a local brain and register MCP so the agent can start using memory immediately.

Frequently Asked Questions about setup-gbrain

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

FAQPage Schema
How do I set up persistent agent memory for Claude Code on macOS?

Setting up persistent agent memory involves installing the gbrain CLI, initializing a local brain with PG Lite or Supabase, and registering MCP so your Claude Code agent can persist and retrieve memory across sessions.

What is cross-machine memory stitching for coding agents?

Cross-machine memory stitching enables coding agents to persist and retrieve memory across multiple developer machines. By using gbrain, agents maintain continuous context and memory access regardless of which macOS device they run on.

Can I use Supabase instead of PG Lite for local brain initialization?

Yes, you can initialize your local brain using either PG Lite or Supabase. Both options are supported during the gbrain setup process to provide persistent memory storage for your Claude Code agents.

How do I configure per-remote trust policies for MCP memory access?

Configuring per-remote trust policies requires capturing security rules during the gbrain setup flow. This step ensures that MCP memory access across different remote devices is securely managed and policy-driven.

Do I need the gbrain CLI to enable cross-device memory for Claude Code?

Yes, the gbrain CLI is required. It manages the installation, local brain initialization, MCP registration, and remote trust policy configuration needed to give Claude Code agents persistent cross-device memory.

What are the limitations of using gbrain for agent memory on macOS?

gbrain is specifically built for macOS developer machines running Claude Code agents. Setup requires initializing a local brain with PG Lite or Supabase and configuring per-remote trust policies for every device you want to synchronize.