Agent skill · AI & Agents

myagents-memory-gardener

仅当系统或用户明确指定完整名称 `myagents-memory-gardener` 时使用; 不要根据任务语义或相似表述自行触发。

hAcKlycgithub.com/hAcKlycGitHub ↗
claude-codeships scriptsAGPL-3.0
Install
npx skills add hAcKlyc/MyAgents --skill myagents-memory-gardener --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 2 KB
Bundled scripts: yes
Declared author: MyAgents
Path: bundled-skills/myagents-memory-gardener/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 795
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# MyAgents Memory Gardener 本 skill 是长期记忆机制的第二层:它不捕获当天经历,而是把已经沉淀下来的 `03-USER` / `04-MEMORY` 自动装载层修剪回可长期运行的状态。 核心判断:**遗忘是降级,不是删除。** 自动装载层只保留会影响每次会话行为的规则; 案例、项目细节、推导过程下放到 `memory/topics/`,并在自动装载层保留可召回指针。 ## 边界 - `UPDATE_MEMORY.md`:24h 捕获层,只做 session 级增量沉淀。 - `myagents-memory-gardener`:72h 整编层,只做删、下放、合并、体检。 - `myagents-memory-molt`:14d 深反层,才允许改 SOUL / 底层信念。 ## 工作流程 1. 确认当前目录是目标工作区;如需显式指定,脚本都支持 `--repo /path/to/workspace`。 2. 如果是 git 仓库,检查工作树。存在非本次任务的未提交改动时,只做只读体检并报告。 3. 运行 `python3 <skill>/scripts/memory_lint.py --repo <workspace>`,把 RED 作为必做议程,WARN 酌情处理。 4. 读取上次园丁运行后的日志和 topic,把可长期复用的规则留下,把故事和证据下放。 5. 对超预算自动装载层执行顺序:删过时项 -> 下放故事 -> 合并同根规则 -> 最后才新增。 6. 发现 SOUL / 底层信念问题时,只追加到 `memory/gardener/flags-for-molt.md`,不要直接改 SOUL。 7. 报告写入 `memory/gardener/YYYY-MM-DD.md`,再运行 `memory_lint.py --mark-run`。 8. 如果是 git 仓库,只提交本次记忆维护改动;**不要 push**。如果不是 git 仓库,跳过提交。 lint 全绿且没有新沉淀时,写一条空跑记录后结束。 ## 报告格式 ```markdown ## Gardener Run YYYY-MM-DD - lint: N RED / N WARN -> 处理结果各一行 - budgets: MEMORY xx.xKB / budget, USER xx.xKB / budget - operations: delete N, demote N, merge N clusters, add N - drill / flags-for-molt / deferred: <各一行;无则写无> ``` 建议 commit message: ```text memory: gardener YYYY-MM-DD ``` ## 自检 - 超预算

What's inside
Steps it walks through
  1. 边界
  2. 工作流程
  3. 报告格式
  4. 自检
Ships with 2 files
  • references/playbook.md
  • scripts/memory_lint.py
More from MyAgents
All skills →
About this skill
What does the myagents-memory-gardener skill do?

仅当系统或用户明确指定完整名称 `myagents-memory-gardener` 时使用; 不要根据任务语义或相似表述自行触发。

How do I install it?

Run `npx skills add hAcKlyc/MyAgents --skill myagents-memory-gardener --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From hAcKlyc/MyAgents, a repository with 795 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going