gstack-setup-gbrain

Installs and configures the gbrain backend for gstack agents.

Updated May 19, 2026
One-click install
npx skills add https://github.com/anilveersingh1308/copilot-skills --skill gstack-setup-gbrain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gstack-setup-gbrain
Source: https://github.com/anilveersingh1308/copilot-skills/tree/main/.github/skills/gstack-setup-gbrain
Command: npx skills add https://github.com/anilveersingh1308/copilot-skills --skill gstack-setup-gbrain

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

gstack-setup-gbrain removes the setup friction for configuring the gbrain “brain” backend, so your coding agent can reliably search, retrieve context, and call MCP tools as soon as you start.

Core Features & Use Cases

  • Installs and initializes gbrain for your agent: installs the gbrain CLI, sets up a local brain (PGLite) or connects to Supabase, and ensures the environment is ready.
  • Registers MCP access for tool calling: wires gbrain into the agent’s tool layer so the agent can use gbrain capabilities during workflows.
  • Sets per-remote trust and policy boundaries: captures the trust model for each remote so access is consistent and safe across machines.
  • Provides an end-to-end “one command from zero” flow: turns a fresh machine into one where “gbrain is running” and the agent can call it.

Quick Start

Run the gstack-setup-gbrain skill with the prompt “setup gbrain” to take you from a new machine to a working gbrain configuration.

Frequently Asked Questions about gstack-setup-gbrain

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

FAQPage Schema
How do I set up gbrain for my coding agent to call MCP tools?

To set up gbrain, you install the gbrain CLI, initialize a local PGLite or Supabase brain, and register MCP access so your agent can reliably search and retrieve context during workflows.

What is the best way to configure a trust policy for remote agent tooling?

Configuring a trust policy for remote agent tooling involves capturing the trust model for each remote during setup, ensuring access is consistent and safe across machines when the agent calls gbrain.

Can I use Supabase instead of a local database for my agent's brain backend?

Yes, you can connect to Supabase instead of using a local PGLite database when initializing the gbrain backend, allowing your coding agent to search and retrieve context reliably.

Do I need to install the gbrain CLI to enable agent tooling and telemetry?

Yes, installing the gbrain CLI is required to initialize the brain backend, register MCP access, and configure guarded telemetry and routing behaviors for your coding agent.

How does interactive gating work when initializing gbrain on a fresh machine?

Interactive gating uses AskUserQuestion during initialization to capture required setup preferences, applying deterministic preamble-safe operations to turn a fresh machine into a working gbrain configuration.

Why is gbrain setup not working without proper routing and telemetry configuration?

gbrain setup requires guarded telemetry and routing behaviors controlled by gstack-config state; without these, the coding agent cannot reliably call gbrain or retrieve context securely.