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.
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/setupRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/garrytan/gbrain /tmp/gbrain && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gbrain/skills/setup ~/.gemini/antigravity-cli/skills/setupAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
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.
