Chuyển đến nội dung
Skillpedia
Agent58k · #3267

memory-setup

Skill này làm gì

Skill này hướng dẫn một bot AI kết nối với bộ nhớ Hindsight và kiểm tra kết nối đó. Skill dành cho người thiết lập bot lần đầu hoặc sửa một liên kết bộ nhớ bị hỏng.

Khi nào nên dùng

  • ✓Khi bạn dùng một bot với Hindsight lần đầu tiên.
  • ✓Khi bạn muốn kiểm tra xem kết nối bộ nhớ có hoạt động không.
  • ✓Khi một lệnh gọi công cụ Hindsight thất bại và bạn cần tìm nguyên nhân.

Liên kết skill

https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/grok-bot/skills/memory-setup/SKILL.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/grok-bot/skills/memory-setup/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn kết nối bot của mình với bộ nhớ Hindsight và đảm bảo nó hoạt động trước khi tôi bắt đầu.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent liệt kê các bank bộ nhớ để xác nhận kết nối. Nếu thất bại, agent yêu cầu bạn kết nối lại Hindsight trong phần cài đặt plugin thay vì đoán địa chỉ.

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 Hindsight memory

Hindsight stores memory in banks. This plugin uses three kinds:

  • This Bot's bank, grok-bot::<bot-name>: what this Bot learns in its own work. Build <bot-name> from the Bot's name, lowercase, with spaces turned into hyphens (a Bot named "Sales Researcher" uses grok-bot::sales-researcher). When you are not a Grok Bot (for example, an agent in Cursor), this bank is per project instead: cursor::<project-name>, from the open workspace folder's name in the same lowercase, hyphenated form. With no workspace open, ask the user what to call it. Never use another Bot's grok-bot:: bank as your own; those are read-only to you.
  • The shared bank, grok-bot::shared: what every Bot on this account should know.
  • The user's other banks: memory written by the user's other AI tools, such as Claude Code or ChatGPT. Read these when a task touches that work. Never write to them.

Steps

  1. Call list_banks. A successful call proves the connection is real. If it fails, tell the user to reconnect Hindsight in the plugin's settings and stop. Do not guess endpoints or hostnames.
  2. If you are a Grok Bot that still has the default name "Grok Bot", ask the user what to call it before going further. The name becomes the bank id, so a default name would give every unnamed Bot the same bank, and renaming later strands its memory under the old id.
  3. If this Bot's bank does not exist, call create_bank with its bank_id and a name of "Grok Bot: <Bot name>".
  4. If grok-bot::shared does not exist, call create_bank with name "Grok Bot: shared".
  5. Call list_mental_models on grok-bot::shared. If there is no mental model named "About the user", call create_mental_model on that bank with that name and the source query "Who is this user: their work, current projects, the people they mention most, and their stated preferences".
  6. Tell the user which banks exist and which other banks you can read.

Rules

  • Never call delete_bank, clear_memories, invalidate_memory, delete_document or delete_mental_model. If something should be deleted, tell the user and let them do it.
  • Never store passwords, one-time codes, API keys, card or account numbers.
Câu hỏi thường gặp

Có những loại bank nào?

Skill mô tả bank riêng của bot, một bank dùng chung cho mọi bot, và các bank của các công cụ AI khác của bạn mà bot chỉ đọc chứ không bao giờ ghi vào.

Bot nên được đặt tên gì?

Skill cho biết bot nên có một tên thật, vì tên đó trở thành ID của bank, và tên mặc định có thể làm trộn lẫn các ký ức.

Nếu kết nối thất bại thì sao?

Skill yêu cầu agent bảo bạn kết nối lại Hindsight trong cài đặt plugin rồi dừng lại ở đó.

Chi tiết

Mô tả gốc của tác giả

Set up and check Hindsight long-term memory for this Bot. Use the first time a Bot uses Hindsight, when the user asks to connect or check memory, or whenever a Hindsight tool call fails.

repo: vectorize-io/hindsight

Độ phổ biến

Sao GitHub
58k
Vị trí xếp hạng
#3267
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự