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

memory-retain

GitHub

将任务结果、用户偏好或关键决策保存至长期记忆,供后续会话复用。

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

触发场景

任务完成时 用户陈述事实或偏好时

安装

npx skills add vectorize-io/hindsight --skill memory-retain -g -y
更多选项

非标准路径

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

不安装直接使用

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

指定 Agent (Claude Code)

npx skills add vectorize-io/hindsight --skill memory-retain -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-retain",
    "description": "Save what was learned to Hindsight long-term memory. Use when a task finishes, when the user states a fact, decision or preference, and when you discover something a later run or another Bot would need."
}

Save what was learned

Memory is only useful if the next run can find it. Save the outcome and the reason, not a transcript.

Steps

  1. Decide where it belongs:
    • Only useful to this Bot's own work: this Bot's bank, grok-bot::<bot-name>.
    • Useful to any Bot, or a fact about the user: grok-bot::shared.
  2. Write a short, self-contained note that makes sense with no other context: what happened or was decided, who decided it, when, and why. "On 3 Oct the user chose Vendor B over Vendor A because A has no EU data residency" beats "user picked B".
  3. Call retain with that note as content, and tags of source:grok-bot and bot:<bot-name>.

Rules

  • One note per distinct fact or decision. Do not paste whole conversations or tool output.
  • Never store passwords, one-time codes, API keys, card or account numbers, or health measurements.
  • Never write to banks that belong to the user's other tools.

版本历史

  • 5331da2 当前 2026-10-19 05:25

同 Skill 集合

.claude/skills/code-review/SKILL.md
.claude/skills/figure/SKILL.md
.claude/skills/hs-release/SKILL.md
.claude/skills/ship-it/SKILL.md
.claude/skills/triage/SKILL.md
hindsight-docs/static/skills/openbot/hindsight-memory/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-setup/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

元信息

文件数
0
版本
6301f8c
Hash
de3320b3
收录时间
2026-10-19 05:25

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 18:44
浙ICP备14020137号-1