Skills Explorer Add Skills

setup-gbrain

An agent skill by garrytan, from garrytan/gstack. Tags: cli, local-workflow, mcp, setup.

What it does

Set up gbrain for this coding agent: install the CLI, initialize a local PGLite or Supabase brain, register MCP, capture per-remote trust policy. (gstack)

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add garrytan/gstack --skill setup-gbrain

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/garrytan/gstack
cp -r gstack/setup-gbrain ~/.claude/skills/setup-gbrain

Safety box score

Grade F, high risk: 91 of 100 risk points, rated 2026-10-16. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill sets up gbrain by running local install/init commands, registering Claude Code MCP access, and optionally connecting to Supabase or a remote brain. The main risks are broad networked access to your notes and transcripts, plus destructive account and filesystem operations like project deletion, config rewrites, and backup/move/delete flows.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution3 (high)It shells out to many local commands and helper binaries, including `gbrain init`, `gbrain migrate`, `claude mcp add`, `curl`, `bun run ...`, and setup scripts under `~/.claude/skills/gstack/bin/`, so it can execute a wide command surface under the user's account.
Network access3 (high)It sends data to Supabase, remote MCP endpoints, and private git remotes, including `https://api.supabase.com/v1/projects`, `claude mcp add --transport http`, and the artifacts/transcript sync path that pushes local content off-machine.
Filesystem reach3 (high)It reads and writes user-home state and config files such as `~/.gbrain/config.json`, `~/.claude.json`, `~/.gstack/`, and `CLAUDE.md`, and it includes destructive recovery paths like moving or deleting `~/.gbrain/config.json` and `~/.gbrain/pglite/`.
Secrets & credentials3 (high)It explicitly handles high-value secrets and sensitive content: Supabase PATs, DB passwords, bearer tokens, pooler URLs, and full session transcripts from `~/.claude/projects/*` and `~/.codex/sessions/*`.
Privilege & persistence2 (moderate)It makes user-scope system changes like `claude mcp add --scope user`, may install dependencies with `brew install gitleaks` or `apt install gitleaks`, and rewrites per-user config, but it does not require sudo.
Instruction hijack surface3 (high)It tells the agent to treat the skill file as executable instructions, honor instruction blocks from `gstack-skill-start`, and auto-choose recommendations in spawned/unattended sessions, which is a strong instruction-following override surface.
Irreversible actions3 (high)It can create Supabase projects, delete orphan projects with `DELETE` calls, migrate brains, register MCP connections, and push sync data to remote storage, all of which are account- or data-moving actions with external effects.
Transparency2 (moderate)The workflow depends on many external helper binaries and scripts by path, such as `gstack-gbrain-install`, `gstack-gbrain-provision`, `gstack-gbrain-mcp-verify`, and `gstack-skill-start`, whose implementations are not included in the supplied files.

Before installing

Rated 2026-10-16 by an automated review of 7 files from the skill's repository.

Source

Repository
garrytan/gstack (all skills from this repository)
Path
setup-gbrain/SKILL.md
Branch
main
Updated
2026-10-05