setup
БесплатноБез исполняемых скриптовНе проверенSet up Inbrain with auto-provision Supabase or PGLite, AGENTS.md injection, first import
от inbrainfun★ 142 звезды на GitHubОб этом скилле
Setup Inbrain
Set up Inbrain from scratch. Target: working brain in under 5 minutes.
Contract
- Setup completes with a working brain verified by
inbrain 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
~/.inbrain/update-state.jsonso future upgrades know what the user adopted or declined. - No Supabase anon key is requested; Inbrain uses only the database connection string.
Install (if not already installed)
bun add github:inbrain-ai/inbrain
How Inbrain connects
Inbrain 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. Inbrain 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
inbrain init --supabase-- interactive wizard (prompts for connection string)inbrain init --url <connection_string>-- direct, no promptsinbrain init --non-interactive --url <connection_string>-- for scripts/agentsinbrain doctor --json-- health check after init
There is no --local, --sqlite, or offline mode. Inbrain requires Postgres + pgvector
(local PGLite or remote Supabase / self-hosted).
Phase A.5: Choose Topology (run BEFORE Phase A)
Inbrain supports three deployment shapes. Pick the right one before installing,
because picking wrong creates contention or duplicate work that's painful to
unwind. Read docs/architecture/topologies.md for the full picture; the short
version:
Ask the user this BEFORE running inbrain init:
"Three deployment shapes:
- Single brain (default) — one machine, one DB, one agent. Pick this if unsure.
- Cross-machine thin client — your brain lives on another machine (e.g. brain-host) running
inbrain serve --http, and this install just calls it over MCP. No local DB on this machine.- Per-worktree code + shared remote artifacts — Conductor users with multiple worktrees indexing the same code repo. Each worktree owns its own code engine; artifacts live on a shared remote brain. For code engines, configure Voyage's code-tuned model:
inbrain init --pglite --embedding-model voyage:voyage-code-3 --embedding-dimensions 1024(full guidance indocs/architecture/topologies.mdTopology 3).Which fits?"
If the user picks 1 (single brain) — proceed to Phase A
Continue with the existing inbrain init --supabase / --pglite setup below.
If the user picks 2 (cross-machine thin client)
Confirm a host already exists. Ask: "Is the remote
inbrain serve --httpalready running on the host machine?" If no, the user needs to set up the host first (Phases A-C on the host, theninbrain serve --http). Don't try to run init on this machine until the host is up.Get OAuth credentials from the host operator. Ask the user to run on the host:
inbrain auth register-client <name> \ --grant-types client_credentials \ --scopes read,write,adminThe
adminscope is required becauseinbrain remote pingandinbrain remote doctor(Tier B convenience commands) call MCP ops withadminscope.read,writealone breaks ping/doctor.Run thin-client init on this machine:
inbrain init --mcp-only \ --issuer-url https://<host>:<port> \ --mcp-url https://<host>:<port>/mcp \ --oauth-client-id <id> \ --oauth-client-secret <secret>Or set
INBRAIN_REMOTE_CLIENT_SECRETenv var instead of the flag (preferred for headless / scripted setup). Pre-flight runs three smoke probes; any failure surfaces an actionable error.Configure your agent's MCP client. Add a server entry pointing at
<mcp_url>with the bearer token. Seedocs/mcp/CLAUDE_DESKTOP.md,docs/mcp/CLAUDE_CODE.md, etc. fo
Установить setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
get_statsget_healthsync_brainput_pageFAQ
Что делает скилл setup?
Set up Inbrain with auto-provision Supabase or PGLite, AGENTS.md injection, first import
Как установить скилл setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic