setup

setup is a skill for Claude Code, Codex from cynthiajones34/GBrain. It costs 24 tokens per session (6,513 once invoked), scanned A, a copy of setup, MIT.

A setup skill for GBrain, a searchable knowledge base that stores project information and relationships. It configures the database connection, project instructions, first import, and health checks.

In plain words
What is it for?
Use it to provision or connect a GBrain database, add its lookup rules to AGENTS.md, import initial information, configure live syncing, and run diagnostics.
Why use it?
It removes much of the manual work needed to start using GBrain and verifies that storage and search work. It also records setup choices for future upgrades.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for gbrain. Also seen: positional $N argument; mentions Claude Code; mentions AGENTS.md.

Good fit Use it to provision or connect a GBrain database, add its lookup rules to AGENTS.md, import initial information, configure live syncing, and run diagnostics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cynthiajones34/gbrain/setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cynthiajones34/GBrain --skill setup
Clone the repo
git clone --depth 1 https://github.com/cynthiajones34/GBrain

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/cynthiajones34/gbrain/setup/github.svg)](https://agentmods.dev/skills/cynthiajones34/gbrain/setup)
Your own site
<a href="https://agentmods.dev/skills/cynthiajones34/gbrain/setup"><img src="https://agentmods.dev/badge/skills/cynthiajones34/gbrain/setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/cynthiajones34/gbrain/setup"><img src="https://agentmods.dev/badge/skills/cynthiajones34/gbrain/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,513 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.06513
Opus 5.5 $0.00010 $0.02605
Sonnet 5.5 $0.00005 $0.01303
Haiku 4.5 $0.00002 $0.00651

Measured 1mo ago against content hash 4a47a5f6ee99, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

88% identical to setup — 66 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/setup/SKILL.md · 580 lines

How it starts

The opening of the file, as written. The whole thing — 580 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Setup GBrain

Set up GBrain from scratch. Target: working brain in under 5 minutes.

Contract

  • Setup completes with a working brain verified by gbrain doctor --json (all checks OK).
  • The brain-first lookup protocol is injected into the project's AGENTS.md or equivalent.
  • Live sync is configured and verified (a test change pushed and found via search).
  • Schema state is tracked in ~/.gbrain/update-state.json so future upgrades know what the user adopted or declined.
  • No Supabase anon key is requested; GBrain uses only the database connection string.

Install (if not already installed)

bun add github:garrytan/gbrain

How GBrain connects

GBrain connects directly to Postgres over the wire protocol. NOT through the Supabase REST API. You need the database connection string (a postgresql:// URI), not the project URL or anon key. The password is embedded in the connection string.

Use the Transaction pooler connection string (port 6543), not the direct connection (port 5432). The direct hostname resolves to IPv6 only, which many environments can't reach. Find it: click Connect in the top navigation bar, then Connection String > Transaction pooler, and copy the string.

Do NOT ask for the Supabase anon key. GBrain doesn't use it.

Why Supabase

Supabase gives you managed Postgres + pgvector (vector search built in) for $25/mo:

  • 8GB database + 100GB storage on Pro tier
  • No server to manage, automatic backups, dashboard for debugging
  • pgvector pre-installed, just works
  • Alternative: any Postgres with pgvector extension (self-hosted, Neon, Railway, etc.)

Prerequisites

  • A Supabase account (Pro tier recommended, $25/mo) OR any Postgres with pgvector
  • An OpenAI API key (for semantic search embeddings, ~$4-5 for 7,500 pages)
  • A git-backed markdown knowledge base (or start fresh)

Available init options

  • gbrain init --supabase -- interactive wizard (prompts for connection string)
  • gbrain init --url <connection_string> -- direct, no prompts
  • gbrain init --non-interactive --url <connection_string> -- for scripts/agents
  • gbrain doctor --json -- health check after init

Read the full file on GitHub · 580 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 580 lines · 24 tokens per session scan A 4a47a5f6ee99

Subscribe to this mod's changes

setup is a skill published in the GitHub repository cynthiajones34/GBrain (0 stars, last pushed 2mo ago), licensed MIT. It adds 24 tokens to every session and 6,513 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to setup, differing in 66 lines, and is treated as a copy.