setup

Automate GBrain setup with wizard-based initialization and auto-provisioned databases.

2|1|Updated Jun 16, 2026
One-click install
npx skills add https://github.com/bish-x/bx-gbrain --skill setup-bish-x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup
Source: https://github.com/bish-x/bx-gbrain/tree/main/skills/setup
Command: npx skills add https://github.com/bish-x/bx-gbrain --skill setup-bish-x

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bun, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a streamlined setup process for GBrain, eliminating the complexity of manual configuration and ensuring a working brain within minutes.

Core Features & Use Cases

  • Auto-Provisioning: Automatically provisions a Supabase or PGLite database for use with GBrain.
  • Agent Injection: Injects the brain-first lookup protocol into the project's AGENTS.md.
  • Live Sync: Configures and verifies live sync, ensuring the brain remains up-to-date with repository changes.

Quick Start

To set up GBrain, run: gbrain init --pglite --no-embedding && gbrain doctor --json && gbrain skillpack scaffold --all

Frequently Asked Questions about setup

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

FAQPage Schema
How do I set up GBrain with auto-provisioning and live sync?

To set up GBrain, run the init command with your preferred database flag, followed by the doctor and scaffold commands. This wizard-based process auto-provisions a database, injects the brain-first lookup protocol, and configures live sync.

What is agent injection and how does it work with GBrain?

Agent injection automatically inserts the brain-first lookup protocol into your project's AGENTS.md file. This ensures that agents reference the brain index first, maintaining data integrity during live sync with repository changes.

Do I need a Postgres or Supabase account to initialize GBrain?

You do not need an external account. GBrain can auto-provision a local PGLite database. Alternatively, you can initialize the system by providing a specific connection string for an existing Postgres or Supabase database.

What prerequisites are required to configure GBrain using the setup wizard?

You need the bun runtime installed in your local environment to execute the setup scripts. Postgres or Supabase accounts are optional unless you want to connect to an external database instead of using auto-provisioned PGLite.

What's the best way to verify that GBrain live sync is working after setup?

Run the gbrain doctor command with the json flag after initialization. This verifies your configuration and confirms that live sync is properly configured to keep the brain index up-to-date with repository changes.

Can I use GBrain without an embedding model during the setup process?

Yes, you can initialize GBrain without embeddings by passing the no-embedding flag. This allows you to scaffold the system and configure the brain-first lookup protocol before integrating or requiring an embedding model.