MCP Server Builder
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
Add keyless GBrain memory to an existing agent, or connect a hosted brain while preserving identity and configuration
$ npx skills add garrytan/gbrain --skill setup -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install garrytan/gbrain setup --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/garrytan/gbrain.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/setup .claude/skills/setup && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "setup" agent skill from https://github.com/garrytan/gbrain/tree/master/skills/setup into .claude/skills/setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/garrytan/gbrain/tree/master/skills/setupType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add garrytan/gbrain --skill setup -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install garrytan/gbrain setup --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garrytan/gbrain.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/setup .agents/skills/setup && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "setup" agent skill from https://github.com/garrytan/gbrain/tree/master/skills/setup into .agents/skills/setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add garrytan/gbrain --skill setup -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install garrytan/gbrain setup --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garrytan/gbrain.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/setup .cursor/skills/setup && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "setup" agent skill from https://github.com/garrytan/gbrain/tree/master/skills/setup into .cursor/skills/setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/garrytan/gbrain.git --path skills/setup--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add garrytan/gbrain --skill setup -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install garrytan/gbrain setup --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garrytan/gbrain.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/setup .gemini/skills/setup && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "setup" agent skill from https://github.com/garrytan/gbrain/tree/master/skills/setup into .gemini/skills/setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install garrytan/gbrain setupInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add garrytan/gbrain --skill setup -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/garrytan/gbrain.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/setup .github/skills/setup && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "setup" agent skill from https://github.com/garrytan/gbrain/tree/master/skills/setup into .github/skills/setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add garrytan/gbrain --skill setup -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install garrytan/gbrain setup --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/garrytan/gbrain.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/setup .opencode/skills/setup && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "setup" agent skill from https://github.com/garrytan/gbrain/tree/master/skills/setup into .opencode/skills/setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
setupAdd keyless GBrain memory to an existing agent, or connect a hosted brain while preserving identity and configuration
Setup is an agent skill from garrytan/gbrain. Add keyless GBrain memory to an existing agent, or connect a hosted brain while preserving identity and configuration
Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with Model Context Protocol. The repository describes itself as: Garry's Opinionated OpenClaw/Hermes Agent Brain. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 5b58910. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bunFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Setup loads about 3.5k tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 1,676 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from garrytan/gbrain at commit 5b58910, republished under its MIT licence (© garrytan). 1,676 words, ~3,453 tokens.
.claude/skills/setup/SKILL.md (or your agent's skills folder).Give the agent the user already has a reliable memory. Preserve its identity, native memory, existing instructions, and unrelated configuration. Start with keyless storage and keyword retrieval. A private repository, identity interview, automatic capture, paid API key, or background service is not a prerequisite.
Use the user's existing context; do not repeat choices they already made.
| Intent | Action |
|---|---|
| Add memory inside Grok Bot | First choice: use the brain on your own computer over MCP — remote-mcp publishes it (--funnel, the Bot runs in the vendor cloud), then hosted harness access installs the private handoff in the Bot. No always-on machine: follow Grok Bot and the isolated setup helper. Root: /workspace/gbrain, with data under .gbrain. |
| Add memory inside Muse | First choice: use the brain on your own computer over MCP — remote-mcp publishes it (--funnel), then hosted harness access installs the private handoff in Muse. No always-on machine: follow Muse. Either way, establish its durable user-files location first. Do not invent MUSE.md, a persistent path, or a native MCP mechanism. |
| Add memory to another existing agent | Follow INSTALL_FOR_AGENTS.md; the coding-agent tutorial covers Claude Code and Codex. |
| Connect an existing hosted brain | Follow mcp-access and hosted harness access. Select native OAuth/PKCE or a private machine handoff for the intended harness. |
| Use the brain from other devices, apps or cloud agents over MCP | Follow remote-mcp: gbrain mcp expose publishes the local server on the Tailscale tailnet (Funnel only for cloud agents), then mcp-access / hosted access selects native OAuth or a private machine handoff for each consumer. |
| Explicitly create a new personal agent with identity and a private repo | Follow BOOTSTRAP_FOR_AGENTS.md. gbrain bootstrap is for this explicit request. |
| Explicitly configure per-worktree code engines with shared artifacts | Follow topologies. Brain and source routing must be set independently. |
If intent is unclear, default to memory for the existing agent. Ask only for missing information needed to choose a safe target, such as which existing brain to connect or which Muse directory is durable.
For an existing installation, use its recorded absolute launcher when present:
gbrain engine status --json
gbrain engine status --probeThese commands work while the database is down. Inspect the engine,
configuration provenance, root, and source. Ambient database/MCP settings or a
working-directory mount are not authorization to adopt that database.
GBRAIN_HOME alone does not isolate all routing.
For Grok Bot/Muse, let the setup helper inspect and isolate the chosen root.
Do not run another global init around it. Its receipt distinguishes absent,
partial, malformed, and conflicting state. Repair uses the retained
<root>/bin/gbrain-setup; adoption and upgrades require explicit options.
Never replace existing memory to recover from an initialization error.
For other local installations, resolve conflicting routing before following the canonical distribution and keyless initialization:
bun install -g github:garrytan/gbrain#latest-stable
gbrain init --pglite --no-embeddingInstall Bun first if missing, following
INSTALL_FOR_AGENTS.md. Do not use the unrelated
npm package named gbrain, or bun add in the user's current project.
Local/thin-client conversion requires explicit intent and preservation of the
previous configuration.
Required search-mode choice: initialization may select a noninteractive
default and print a nine-cell cost matrix with [AGENT] markers. Relay that
matrix and confirm the operator's choice before continuing. Follow Step 3.5 of
INSTALL_FOR_AGENTS.md; use the printed matrix,
not remembered prices. Illustrative model API costs are separate from a
harness subscription. This choice does not enable paid APIs or capture.
If the user explicitly wants Postgres, follow engines
or postgres-adopt. --prefer-postgres is optional.
Supabase uses a database connection string, not an anon key. Keep credentials
private and do not copy ambient secrets into file configuration.
Skip local database initialization, import, and maintenance installation. Read mcp-access. If the target harness uses native OAuth/PKCE, use its native path: register the actual redirect URI and authentication method, initiate OAuth inside the client, and preserve the pending request through owner login and consent. Do not install a machine handoff in an OAuth-only client.
For the machine path, the owner provisions a memory-writer grant through the
authenticated admin API using gbrain mcp grant and a private
--credentials-out file. Use the actual harness identifier. A running PGLite
server must use its existing engine; do not open the live database in a second
process. A URL or ordinary OAuth token is not administration authority.
Privately transfer the handoff to the intended harness, then install there:
gbrain connect https://brain.example.com/mcp --harness codex \
--credentials-file /absolute/private/agent-example.json --installThin CLI adapters also need the verified persistent --root. Follow the
adapter's reload instructions and the complete hosted guide.
Do not grant admin merely to make a convenience health command pass.
Delegation requires an explicit choice, bound tools, an active source, and a
path policy. New delegation has unlimited spending and concurrency 1; explain
this before granting it.
Preserve existing instruction files. Add one identified memory section through
the actual harness's supported mechanism. For Grok Bot/Muse, use the generated
instructions/gbrain-skill.md; generating a file does not prove activation.
The standing instruction must say:
forget for withdrawal from active memory. History, source material, and backups may remain.Sources organize memory; they do not isolate agents sharing local files or credentials. Preserve the user's native memory and identity.
Follow the selected guide's commands. Save a randomized harmless fact with provenance, keep the returned ID, and read it back in a separate call. Correct it, withdraw the test fact, and verify active recall omits it. Reconcile a lost mutation response before retrying.
Run gbrain doctor --json for diagnostics. Missing optional embeddings are an
unconfigured capability, not permission to add paid keys. A health score or a
successful process exit alone does not prove the memory round trip.
For hosted clients, run gbrain mcp verify with the private credentials file.
Report transport, authentication, permissions, read/write, cleanup, and worker
checks separately. Overall partial (exit 2) means native evidence is missing.
Open a new conversation in the actual harness, ask for a second randomized test fact without repeating it, and observe the recorded launcher or MCP call. If the harness is unavailable, mark this check unverified. Clean up the fixture and report any failed cleanup by ID.
Only proceed with capabilities the user requested:
| Capability | Next step |
|---|---|
| Import selected notes or chat exports | Confirm the selected source; follow ingest or conversation archive. Do not scan and import arbitrary directories. |
| Connect an account | Follow chat connectors or Google setup, preserving their credential and consent boundaries. |
| Automatic conversation capture | Follow signal detector after opt-in. Recall and explicit remembering work without it. |
| Paid retrieval or enrichment | Configure the chosen capability and budget separately. Existing API keys do not imply permission to spend. |
| Scheduled maintenance | For in-agent installs, reuse the generated routine ID and absolute launcher; start with bounded doctor --fast --json. Observe native activation. Hosted clients use the host's existing schedule. |
| Sync a selected file source | Follow live sync. Keyless sync uses --no-pull --no-embed; do not implicitly add embedding or a worker. |
| Import more data later | Offer cold start as an optional next step; do not launch it automatically. |
| Upgrade | Follow gbrain-upgrade and the installation's recorded repair/upgrade policy. |
Facts, corrections, jobs, and accounting can exist only in the database. A Git clone is not a complete backup. For PGLite, use the private backup and restore procedure. Treat the whole archive as sensitive; off-VM copies require an explicit destination. Restore into an absent new root, then reattach external roots, connectors, and schedules explicitly.
| Failure | Next action |
|---|---|
| Database unreachable | gbrain engine status --probe, then gbrain db-repair; apply safe fixes within authorized repair scope. |
| Partial in-agent setup | Run the receipt's exact recovery command; preserve completed stages and memory. |
| PGLite busy | Let the live owner finish, then retry. Never remove a live lock. |
| Malformed or conflicting config | Report the conflict and intended target; do not reinitialize or overwrite unrelated settings. |
| Lost hosted handoff | Resume delivery on the host; distinguish lost access-token delivery from lost client-secret delivery. |
| Native instructions or routine unavailable | Keep the content and report the remaining activation step. |
| Optional health check unavailable | Name the missing capability; do not silently expand grants, spend, or connector access. |
Follow the agent operator protocol for any gbrain error code, exit code, [AGENT] block or notice block. Specific to this skill:
gbrain init prints [AGENT] blocks with the search-mode cost matrix: relay it and get the operator's choice before continuing.gbrain doctor --json and follow its fix.gbrain mcp verify reports overall partial (exit 2): native evidence is missing; say activation is unverified instead of claiming it works.Report the actual root/database/source or hosted endpoint, installed version, memory round trip, instruction activation, cross-conversation evidence, and cleanup. Name pending steps and the exact repair action. Redact credentials.
Only declare observed stages complete. A CLI test, schedule file, fluent answer, HTTP response, or job ID cannot certify the full native experience.
© garrytan, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/setup of garrytan/gbrain.
Open the folder on GitHubat commit 5b58910
Setup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Setup this skillgarrytan/gbrain | 31k | — | ~3.5k | Automated safety check: Pass | MIT | |
| MCP Server Builderanthropics/skills | 180k | 62 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| MCP Server BuildershareAI-lab/learn-claude-code | 78k | 5 repos | ~1.2k | Automated safety check: Pass | MIT | |
| MCP Integration for Pluginsanthropics/claude-plugins-official | 37k | 11 repos | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Figma use_figma Plugin API Ruleswarpdotdev/warp | 65k | 4 repos | ~4.4k | Automated safety check: Pass | AGPL-3.0 | |
| Stitch to Remotion Walkthrough Videosgoogle-labs-code/stitch-skills | 8.4k | 6 repos | ~3.2k | Automated safety check: Notes | Apache-2.0 |
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
shareAI-lab/learn-claude-code
Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.
anthropics/claude-plugins-official
Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.
warpdotdev/warp
Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.
google-labs-code/stitch-skills
Builds walkthrough videos from Stitch design projects using Remotion, with transitions, zoom effects and text overlays on each screen.
coollabsio/coolify
A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.
garrytan/gbrain
Traces a factual error the user points out back to its source (a brain page, a memory file, SOUL.md or USER.md, or a hallucination) and fixes that source instead of just noting the correction.
garrytan/gbrain
Searches and writes a company-wide knowledge brain through the gbrain CLI, so durable decisions and facts about people, projects and history stay findable beyond one session.
garrytan/gbrain
Ingest links, articles, tweets, and ideas into the brain. An agent skill from garrytan/gbrain.
garrytan/gbrain
Sends what your notes already know about a topic to Perplexity, so the cited web search reports only what is new, such as entity updates or deal changes.
garrytan/gbrain
Migrate a brain from gbrain-base (or any pack) to gbrain-base-v2's 14-canonical-type taxonomy via gbrain onboard --check + the unify-types Minion handler.
garrytan/gbrain
Run gbrain skillpack-check to produce an agent-readable JSON health report for the gbrain install.
Works with
Add keyless GBrain memory to an existing agent, or connect a hosted brain while preserving identity and configuration. Setup is an agent skill from garrytan/gbrain.
Run `npx skills add garrytan/gbrain --skill setup -a claude-code`. Or copy the skill folder (skills/setup in garrytan/gbrain) into .claude/skills/setup in your project. Claude Code loads it when a task matches its description.
Run `npx skills add garrytan/gbrain --skill setup -a codex`. Or copy the skill folder (skills/setup in garrytan/gbrain) into .agents/skills/setup in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add garrytan/gbrain --skill setup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/setup, .gemini/skills/setup, .github/skills/setup and .opencode/skills/setup in your project.
Going by SKILL.md and its folder, Setup needs the command-line tools its instructions call (bun).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Setup is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Setup: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 37k stars) and Figma use_figma Plugin API Rules (warpdotdev/warp, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
garrytan (a GitHub user) maintains it in garrytan/gbrain, which has 30,605 GitHub stars. The repository holds 47 skills in this directory. The repository was last updated on October 7, 2026.
Source: garrytan/gbrain on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.