跳到正文
Skillpedia
智能体6.4k · #14233

memory-management

它能做什么

它介绍当你提到过去的工作时,AI 应如何查找相关内容,以及哪些类型的经验应当保存以备将来使用。适用于希望 AI 随时间积累有用知识的 DeepChat 用户。

适用场景

  • ✓当用户用“上次”或“继续”等词语提到之前的工作时。
  • ✓当用户希望保存一条经验或偏好,使以后的对话遵循它时。
  • ✓当用户需要一个早期决定背后的确切来源或日志时。

技能链接

https://github.com/ThinkInAIXYZ/deepchat/blob/dev/resources/skills/memory-management/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请记住我偏好简短、用要点列出的回答,并从我们上次停下的报告处继续。”

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

工作原理

该技能告诉 AI 在普通上下文中依赖已有的记忆,在被要求提供确切细节时搜索早期记录,并且只将持久结论保存到最具体的类别中。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Memory Management

Use this skill when a task may produce durable learning or when the user asks you to recall, remember, continue earlier work, preserve an exact statement, capture a reusable procedure, or handle a recurring need.

Recall

Rely on automatic memory injection for ordinary context. Use memory_recall when the user refers to previous work with cues such as again, last time, before, continue, same project, remember, or asks what you already know.

Use tape_search and then tape_context when the user needs source evidence, exact wording, logs, command output, file snippets, or why a prior decision was made. Memory is a durable conclusion layer, not the raw transcript.

Remember

Use memory_remember only for durable conclusions that should change future behavior. Choose the most specific category:

  • user_preference: stable user preferences, constraints, communication style, environment choices.
  • project_fact: durable project conventions, architecture entry points, commands, dependencies, paths, or operational constraints.
  • task_outcome: completed, blocked, or deliberately deferred task results. Include status, outcome, and blocker in prose when relevant.
  • heuristic: reusable troubleshooting strategy, workflow, decision rule, or engineering lesson.
  • anti_pattern: repeated mistake, unsafe approach, brittle pattern, stale assumption, or thing to avoid.

Do not remember raw tool results, bash output, grep output, file contents, transient mechanics, one-off failures, secrets, credentials, hidden reasoning, or anything only useful for the current turn.

Verbatim Scope

Store exact wording only when the user explicitly asks you to remember a sentence or phrase verbatim. In that case, keep the requested text intact and make the surrounding content minimal.

Automatic extraction is different: it should normalize durable facts into concise memory content, deduplicate related entries, and avoid preserving raw transcript text.

Procedures -> Skill

When the useful learning is a reusable multi-step procedure, prefer drafting a skill with skill_manage instead of stuffing the full procedure into Memory. Memory may keep a short pointer or heuristic, but the repeatable workflow belongs in a Skill.

Use skill_manage for draft skills only. Do not modify installed skills unless the user explicitly asks through the supported review flow.

Recurring -> Scheduled Task

When the user asks for a periodic, low-frequency, or future recurring action, suggest creating a Scheduled Task in settings. Memory does not wake the agent, schedule future work, or create automation side effects.

End-of-task Learning Check

Before finishing a non-trivial task, check whether there is one durable lesson to save:

  1. Did the user reveal a stable preference or constraint?
  2. Did you learn a durable project fact?
  3. Is there a task outcome, blocker, or explicit deferral worth preserving?
  4. Did a reusable heuristic work?
  5. Did an anti-pattern or stale assumption become clear?
  6. Is this actually a reusable procedure for skill_manage or a recurring need for Scheduled Tasks rather than Memory?

Remember only the smallest durable conclusion. Leave raw process in Tape.

常见问题

记忆和原始记录有什么区别?

该技能说明,记忆保存持久的结论,而原始记录保存确切的措辞和日志。

它会保存哪些类型的经验?

它列出了用户偏好、项目事实、任务结果、可复用的启发式方法和反模式等类别。

它会保存一次对话中的所有内容吗?

不会。该技能说明,只保存应当改变未来行为的结论。

详情

作者的原始描述

Guide the agent to recall, remember, and route durable learning into Memory, Skills, Scheduled Tasks, or Tape.

repo: ThinkInAIXYZ/deepchat

热度

GitHub 星标
6.4k
排名
#14233
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能