setup-gbrain

Configure gbrain with PGLite or Supabase and register MCP.

Updated Apr 24, 2026
One-click install
npx skills add https://github.com/SakshamKandel/Salt-Route-Consulting- --skill setup-gbrain-sakshamkandel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-gbrain
Source: https://github.com/SakshamKandel/Salt-Route-Consulting-/tree/main/.agents/skills/setup-gbrain
Command: npx skills add https://github.com/SakshamKandel/Salt-Route-Consulting- --skill setup-gbrain-sakshamkandel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill configures and connects gbrain to provide a local brain context for a coding agent, enabling persistent context and secure MCP-based collaboration across machines.

Core Features & Use Cases

  • Install the gbrain CLI and initialize a local PGLite or Supabase brain.
  • Register MCP and capture per-remote trust policy for cross-device operation.
  • Use cases include starting a new agent, migrating context, and connecting to remote brains.

Quick Start

Install the gbrain CLI, initialize a local brain, and register MCP to begin using gbrain with this agent.

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 a local brain for a coding agent using gbrain?

To set up a local brain, install the gbrain CLI and initialize a local brain backend using PGLite or Supabase. You then register MCP to enable persistent context and secure collaboration across machines for your coding agent.

What does MCP registration do when initializing a coding agent brain?

MCP registration captures per-remote trust policy for cross-device operation. It enables secure MCP-based collaboration and allows the coding agent to run across remote sessions with a connected local brain.

Can I use Supabase instead of PGLite for my local brain backend?

Yes, you can use Supabase as your local brain backend instead of PGLite. The gbrain CLI supports initializing the brain with either PGLite or Supabase depending on your project requirements.

How do I migrate coding agent context across different machines?

You migrate coding agent context across machines by connecting to remote brains and updating trust policies across remote sessions. This ensures persistent context and secure MCP-based collaboration between devices.

Do I need the gbrain CLI to configure trust policies for remote sessions?

Yes, the gbrain CLI is required to configure trust policies. It handles the MCP registration flow and captures per-remote trust policies necessary for cross-device operation and remote session management.