跳到正文
Skillpedia
智能体58k · #3267

memory-setup

它能做什么

这个技能引导 AI 机器人连接 Hindsight 记忆并检查连接。适合第一次为机器人设置,或需要修复损坏记忆连接的人。

适用场景

  • ✓当你第一次在 Hindsight 中使用机器人的时候。
  • ✓当你想检查记忆连接是否正常的时候。
  • ✓当 Hindsight 工具调用失败,你需要查明原因的时候。

技能链接

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

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请帮我把机器人连接到 Hindsight 记忆,并在开始之前确认它可以正常工作。”

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

工作原理

智能体会列出记忆库来确认连接。如果失败,它会请你在插件设置中重新连接 Hindsight,而不是猜测地址。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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.
常见问题

记忆库有哪些类型?

该技能说明了机器人自己的记忆库、供所有机器人使用的共享记忆库,以及你其他 AI 工具的记忆库;机器人只读取后者,从不写入。

机器人应该起什么名字?

该技能说明,机器人应使用真实的名字,因为该名字会成为其记忆库 ID,默认名字可能会导致记忆混在一起。

连接失败怎么办?

该技能说明,应告诉你在插件设置中重新连接 Hindsight,然后停在那里。

详情

作者的原始描述

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

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能