跳到正文
Skillpedia
智能体31k · #9311

setup

它能做什么

这项技能基于 GBrain 为已有的 AI 智能体添加记忆,不改变智能体的身份或无关设置。它从本地存储和关键词搜索开始,并在启用任何额外功能之前先询问你。

适用场景

  • ✓当你想为已经在用的 AI 助手添加长期记忆时。
  • ✓当你想连接一个托管的知识库,同时保持智能体的身份不变时。
  • ✓当你想检查智能体的记忆在多次对话之间能否正常工作时。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/garrytan/gbrain/blob/master/plugin/skills/setup/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为我的 AI 助手添加长期记忆,先使用本地存储,并检查它能否回忆起一条已保存的笔记。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会检查现有设置,并复用一切正常的部分。它会保存一条测试记忆,读回以确认其可用,并分别报告已安装的内容和能够跨对话回忆的内容。

技术内容(原始 SKILL.md)

作者在 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

常见问题

开始时需要 API 密钥吗?

不需要。起步设置不需要密钥,使用关键词检索。

自动记录会自己开启吗?

不会。自动记录、导入和定时任务都需要你明确选择开启。

它会改变我的智能体身份吗?

不会。已有的身份、指令和无关配置都会保留。

详情

作者的原始描述

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

repo: garrytan/gbrain

热度

GitHub 星标
31k
排名
#9311
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能