setup-gbrain

Install the gbrain CLI and initialize a local brain with PGLite or Supabase.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/nhattran998/personal-athlete-agent --skill setup-gbrain-nhattran998
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-gbrain
Source: https://github.com/nhattran998/personal-athlete-agent/tree/main/.agents/skills/gstack-setup-gbrain
Command: npx skills add https://github.com/nhattran998/personal-athlete-agent --skill setup-gbrain-nhattran998

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Sets up gbrain locally so the coding agent can persist memory, register MCP, and call a brain service from the host machine, eliminating manual one-off configuration and loss of context between sessions.

Core Features & Use Cases

  • Install the gbrain CLI and initialize a local brain (PGLite or Supabase) to persist knowledge across sessions.
  • Register MCP and capture per-remote trust policy to enable secure, cross-machine usage.
  • Quick-start flow to bring gbrain online from a fresh environment for a coding agent.

Quick Start

Install the gbrain CLI, initialize a local brain (PGLite or Supabase), and register an MCP to enable immediate secure access.

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 local persistent memory for a coding agent?

To set up local persistent memory for a coding agent, you can install the gbrain CLI and initialize a local brain using PGLite or Supabase. This ensures knowledge persists across your coding sessions.

How do I register MCP for a local coding agent?

You can register MCP and capture per-remote trust policies to enable secure, cross-machine usage for your coding agent. This integration allows the agent to securely call the brain service.

Can I use Supabase or PGLite for local agent memory setup?

Yes, you can use either PGLite or Supabase to initialize your local brain when setting up agent memory. Both options provide a persistent knowledge base for your coding environment.

What's the best way to prevent context loss between coding agent sessions?

The best way to prevent context loss is to provision a persistent local brain that saves knowledge across sessions. This eliminates manual one-off configuration and maintains your agent's context.

Why do I need to capture per-remote trust policy for local memory setup?

Capturing per-remote trust policy is required to enable secure, cross-machine usage of your local memory setup. It ensures your coding agent safely interacts with the registered MCP across different environments.