智能体11k · #11873
learn
它能做什么
这个技能回顾过去的对话,挑选出值得保留、用于未来工作的经验。适合希望 AI 从纠正和偏好中学习的人。
适用场景
- ✓当你希望 AI 记住某项纠正或偏好,以用于未来的工作时。
- ✓当会话中的某个方法值得下次继续使用的时候。
- ✓当你希望一条经验取代技能库中保存的某条旧规则的时候。
技能链接
https://github.com/tigerless-labs/autoharness/blob/main/skills/learn/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
请用这个技能帮我:https://github.com/tigerless-labs/autoharness/blob/main/skills/learn/SKILL.md
阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
npx skills add tigerless-labs/autoharness --skill learn
下载 SKILL.md,放进智能体的技能文件夹。
curl -L https://raw.githubusercontent.com/tigerless-labs/autoharness/main/skills/learn/SKILL.md -o SKILL.md
可以这样问 AI
“请把本次会话中关于我希望报告如何排版的经验保存下来,这样你下次就能记住。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会把这条经验与现有技能进行比较,并优先更新已有技能,而不是创建近似的重复技能。它会把每条经验连同理由和会话中的引用,作为提议的改动提交,然后由检查器决定是否保存。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Learn: distill this session into the skill library
Review the conversation so far and distill what is worth keeping — through the standard proposal chain, never by writing files.
- Identify class-level, reusable lessons: corrected approaches, non-trivial techniques, durable user preferences. Skip one-off narratives and environment-specific failures.
- Compare first: read the injected skill index; if an existing skill covers
the topic, prefer a
patch/updateover creating a near-duplicate. - Reconcile old with new: when a lesson supersedes an earlier rule, search the managed skill trees for contradicting statements and stage updates so the new version wins everywhere.
- Stage every change exclusively via the
stage_skilltool, one intent per lesson, withreasonand a verbatimevidencequote from this session. The deterministic promoter validates and lands; rejects are reported at the next session start.
If nothing meets the bar, say so and stage nothing.
常见问题
它会保存会话中的每一个细节吗?
不会。它只保留可复用的经验,跳过一次性的故事和特定环境下的故障。
它会覆盖旧规则吗?
会。当新经验取代旧规则时,它会更新旧的表述,使新版本生效。
如果没有值得保留的内容怎么办?
AI 会直接说明,并且不提出任何改动。
详情
热度
- GitHub 星标
- 11k
- 排名
- #11873
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …