Agent Skills › vectorize-io/hindsight › memory-setup

memory-setup

GitHub

配置并检查 Hindsight 长期记忆系统,包括创建和管理 Bot 专属及共享记忆库,初始化用户画像模型,确保连接正常。

hindsight-integrations/grok-bot/skills/memory-setup/SKILL.md vectorize-io/hindsight

Trigger Scenarios

首次使用 Hindsight 时 用户要求连接或检查记忆 Hindsight 工具调用失败时

Install

npx skills add vectorize-io/hindsight --skill memory-setup -g -y
More Options

Non-standard path

npx skills add https://github.com/vectorize-io/hindsight/tree/main/hindsight-integrations/grok-bot/skills/memory-setup -g -y

Use without installing

npx skills use vectorize-io/hindsight@memory-setup

指定 Agent (Claude Code)

npx skills add vectorize-io/hindsight --skill memory-setup -a claude-code -g -y

安装 repo 全部 skill

npx skills add vectorize-io/hindsight --all -g -y

预览 repo 内 skill

npx skills add vectorize-io/hindsight --list

SKILL.md

Frontmatter
{
    "name": "memory-setup",
    "description": "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."
}

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.

Version History

  • 5331da2 Current 2026-10-19 05:25

Same Skill Collection

.claude/skills/code-review/SKILL.md
.claude/skills/figure/SKILL.md
.claude/skills/hs-release/SKILL.md
.claude/skills/ship-it/SKILL.md
hindsight-integrations/agent-plugin/skills/hindsight-memory/SKILL.md
hindsight-integrations/claude-code/skills/create-agent/SKILL.md
hindsight-integrations/coding-agents/skill/SKILL.md
hindsight-integrations/cursor/skills/hindsight-recall/SKILL.md
hindsight-integrations/grok-bot/skills/bot-handoff/SKILL.md
hindsight-integrations/grok-bot/skills/memory-context/SKILL.md
hindsight-integrations/grok-bot/skills/memory-reflect/SKILL.md
hindsight-integrations/grok-bot/skills/memory-retain/SKILL.md
hindsight-integrations/grok-bot/skills/routine-memory/SKILL.md
skills/hindsight-architect/SKILL.md
skills/hindsight-cloud/SKILL.md
skills/hindsight-docs/SKILL.md
skills/hindsight-local/SKILL.md
skills/hindsight-self-hosted/SKILL.md

Metadata

Files
0
Version
5331da2
Hash
0a8c6bf5
Indexed
2026-10-19 05:25

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-29 18:01
浙ICP备14020137号-1