setup
Skill này làm gì
Skill này cho một agent AI hiện có một bộ nhớ dựa trên GBrain, mà không thay đổi danh tính hay cấu hình không liên quan của agent. Nó bắt đầu với lưu trữ cục bộ và tìm kiếm từ khóa, và hỏi trước khi bật thêm bất cứ thứ gì.
Khi nào nên dùng
- ✓Khi bạn muốn thêm bộ nhớ dài hạn cho một trợ lý AI bạn đang dùng.
- ✓Khi bạn muốn kết nối một brain được host trong khi vẫn giữ nguyên danh tính của agent.
- ✓Khi bạn muốn kiểm tra xem bộ nhớ của agent có hoạt động xuyên suốt các cuộc trò chuyện không.
Liên kết skill
https://github.com/garrytan/gbrain/blob/master/plugin/skills/setup/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thêm bộ nhớ dài hạn cho trợ lý AI của tôi, bắt đầu với lưu trữ cục bộ, và kiểm tra xem nó có nhớ lại một ghi chú đã lưu không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kiểm tra thiết lập hiện có và tái sử dụng những gì còn tốt. Nó lưu một bộ nhớ thử, đọc lại để xác nhận hoạt động, rồi báo cáo phần nào đã được cài đặt tách biệt với phần nhớ lại được giữa các cuộc trò chuyện.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Tôi có cần khóa API để bắt đầu không?
Không. Thiết lập ban đầu không cần khóa và dùng truy xuất theo từ khóa.
Tự động ghi nhận có tự bật không?
Không. Tự động ghi nhận, nhập dữ liệu và tác vụ theo lịch đều cần bạn đồng ý rõ ràng.
Nó có thay đổi danh tính của agent không?
Không. Danh tính, chỉ dẫn và cấu hình không liên quan hiện có được giữ nguyên.
Chi tiết
Mô tả gốc của tác giả
Add keyless GBrain memory to an existing agent, or connect a hosted brain while preserving identity and configuration
repo: garrytan/gbrain
Độ phổ biến
- Sao GitHub
- 31k
- Vị trí xếp hạng
- #9311
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
gbrain
31kCho phép agent của bạn tìm trong kho tri thức dùng chung của công ty các thông tin về con người, dự án và quyết định, và lưu ghi chú bền vững vào đó.
brain-ingest-gate
31kKiểm tra nội dung mới với kho tri thức hiện có trước khi thêm vào, để tránh trùng lặp và xác định các thực thể được nêu tên trước.
brain-link-discipline
31kĐảm bảo agent của bạn kèm một liên kết hoạt động đến mỗi trang kho tri thức mà nó báo cáo, trong cùng một tin nhắn, để bạn mở được ngay.
brain-ops
31kCung cấp cho agent của bạn thói quen cốt lõi cho kho tri thức: kiểm tra ngữ cảnh có sẵn trước, lưu ghi chú rõ ràng kèm nguồn và liên kết các trang liên quan.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.