SKILL

agent-memory

用于代理反复学习同一纠正内容、CLAUDE.md 不断膨胀,或需要追溯一条既有规则来源的情形。通过 memory_promote.py 将事实在四层记忆间晋级;仅在跨会话、跨日期反复出现并经过人工采纳后晋级。

译文已校对
查看英文原文

Use when an agent keeps relearning the same correction, CLAUDE.md has grown unreadable, or you need to trace where a remembered rule came from. Promotes facts through four tiers only on recurrence across sessions and days, with memory_promote.py and a human adopt step.

适用对象:对象待分类。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Agent Memory — promotion is earned, not asserted
  • The problem
  • The four tiers
  • The gates
  • Use it
  • Hard rules
  • Forcing questions
  • More in this skill

Portability: stdlib only. No database, no embeddings, no network, no LLM calls. A project's CLAUDE.md is a memory system with one tier and no eviction: every durable fact and every passing preference land in the same always-loaded file, until the important lines are diluted by the incidental ones. Facts learned mid-session vanish at teardown unless someone writes them down. The fix is not more storage — it is a promotion ladder. A claim earns its way toward always-loaded context by recurring; a human confirms the last step. Tiers are distinguished by injection policy, not storage format. | Tier | Holds | Injected | Committed | |---|---|---|---| | L0 | raw session transcripts | never | no (already on disk) | | L1 | candidate atoms | on relevance, at prompt time | no (gitignored) | | L2 | this project's context | every session start | yes, after adopt | | L3 | stable cross-project persona | always | yes, after adopt | Nothing moves up because it sounded important. It moves up because it recurred. L0 → L1 — an explicit marker fires (a directive, a correction, a stated preference, a named lesson, a reproducible failure). Rule-based, high precision, deliberately low recall. L1 → L2 — ≥

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
alirezarezvani/claude-skills
源文件
engineering/agent-memory/skills/agent-memory/SKILL.md
固定版本
8f082544116fc0d014188e521ca40304cdfc86b0
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:alirezarezvani/claude-skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T14:01:46.538Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。