Skip to content
Skillpedia
Agents31k · #9311

setup

What it does

This skill gives an existing AI agent a memory based on GBrain, without changing the agent's identity or unrelated settings. It starts with local storage and keyword search, and it asks before enabling anything extra.

When to use it

  • ✓When you want to add a long-term memory to an AI assistant you already use.
  • ✓When you want to connect a hosted brain while keeping your agent's identity intact.
  • ✓When you want to check whether your agent's memory is working across conversations.

Skill link

https://github.com/garrytan/gbrain/blob/master/plugin/skills/setup/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/garrytan/gbrain/blob/master/plugin/skills/setup/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Add a long-term memory to my AI assistant, starting with local storage, and check that it can recall a saved note.”

5 new skills a week. 1 minute to read.

How it works

The agent checks the existing setup and reuses anything healthy. It saves a test memory, reads it back to confirm it works, and reports what is installed separately from what recalls across conversations.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Set up GBrain memory

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.

Contract

  • Select the intended brain and source before inspecting or changing installation state.
  • Reuse a healthy installation; diagnose partial or conflicting state without reinitializing memory.
  • Relay the mandatory search-mode matrix and obtain the operator's choice.
  • Save explicit memories with provenance and verify a randomized write/readback.
  • Report software installation, native instruction activation, and cross-conversation recall separately.
  • Automatic capture, imports, connectors, schedules, and paid enrichment require explicit opt-in.

Phase 1: Choose the path

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.

Phase 2: Inspect, install, or repair

For an existing installation, use its recorded absolute launcher when present:

gbrain engine status --json
gbrain engine status --probe

These 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; adopti

FAQ

Do I need an API key to start?

No. The starting setup is keyless and uses keyword retrieval.

Will automatic capture turn on by itself?

No. Automatic capture, imports, and scheduled tasks all need your explicit opt-in.

Does it change my agent's identity?

No. Existing identity, instructions, and unrelated configuration are preserved.

Details

Original description by the author

Add keyless GBrain memory to an existing agent, or connect a hosted brain while preserving identity and configuration

repo: garrytan/gbrain

Popularity

GitHub stars
31k
Ranking position
#9311
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills