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

memory-retain

GitHub

将任务结果、用户偏好或关键决策保存至长期记忆,供后续运行或其他Bot复用。确保笔记简短自包含,避免存储敏感信息。

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

Trigger Scenarios

任务完成时 用户陈述事实、决策或偏好时 发现后续运行或其他Bot需要知道的信息时

Install

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

Non-standard path

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

Use without installing

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.

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

Metadata

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

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