Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

setup

Skill by garrytan

Adds keyless GBrain memory to an existing AI agent, or connects a hosted GBrain brain, while keeping the agent's identity and configuration. It is for users who want their agent to save and recall memory across conversations.

  • Score 90
  • 34k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install setup

Built from the published package, never by AI.

git clone --depth 1 https://github.com/garrytan/gbrain /tmp/gbrain && mkdir -p ~/.claude/skills && cp -r /tmp/gbrain/skills/setup ~/.claude/skills/setup

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install setup in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill sets up GBrain memory for an agent the user already has. It starts with keyless local storage and keyword retrieval, and the source says a private repository, identity interview, automatic capture, paid API key or background service is not required. The skill first selects the target brain, then inspects or repairs any existing install without reinitializing memory. It also reports the search-mode choice to the operator.

The skill covers setup paths for Grok Bot, Muse, Claude Code, Codex, other agents and existing hosted brains over MCP. Verification saves a randomized test fact with provenance, reads it back in a separate call, corrects and withdraws it, then checks recall in a new conversation. Automatic capture, imports, connectors, schedules and paid enrichment all require explicit opt-in. It is aimed at users who want an existing agent to have reliable memory.

Written from the project's SKILL.md and checked against it.

What it can do

  • Keyless local memory setupInitializes GBrain with PGLite and no embedding keys, starting with keyword retrieval.
  • Hosted brain connectionConnects an existing hosted brain using native OAuth/PKCE or a private machine handoff.
  • Harness path selectionChooses a setup path for Grok Bot, Muse, Claude Code, Codex or another existing agent.
  • Memory instruction attachmentAdds one identified memory section to the agent's instruction files without removing existing ones.
  • Save and verify memorySaves a randomized test fact with provenance and reads it back in a separate call.
  • Installation repairDiagnoses partial or conflicting installs without reinitializing or replacing existing memory.
  • DiagnosticsRuns gbrain doctor and gbrain mcp verify and reports transport, auth, read/write and cleanup checks.

What you need

  • Bun runtime for the local install
  • An existing AI agent or harness such as Claude Code, Codex, Grok Bot or Muse
  • Tailscale to publish the local brain over MCP
  • An existing hosted brain for the hosted connection path

Try asking

  • Set up GBrain memory for my existing agent without an API key.
  • Connect my existing hosted GBrain brain to Codex.
  • Check whether my GBrain memory round trip works with a test fact.

Good to know

  • Automatic capture, imports, connectors, schedules and paid enrichment require explicit opt-in.
  • On Postgres, a source with a checkout starts in classic mode, where direct saves need managed mode.
  • Missing optional embeddings are left unconfigured and do not prompt adding paid keys.
  • The unrelated npm package named gbrain should not be used.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/setup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md16 KB

Alternatives to setup

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

setup: common questions

Does GBrain setup require an API key?

The skill starts with keyless storage and keyword retrieval. The source says paid API keys are not a prerequisite, and optional embeddings are left unconfigured unless the user chooses otherwise.

Will setup erase my agent's existing memory or instructions?

The source says the skill preserves the agent's identity, native memory, existing instructions and unrelated configuration. It repairs installs without reinitializing memory.

How is a working memory setup confirmed?

The skill saves a randomized test fact, reads it back in a separate call, corrects and withdraws it, then checks recall in a new conversation. It reports software install, instruction activation and cross-conversation recall separately.

How do I install setup?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is setup free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is setup safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to setup?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

Add to stack

Loading.