Myagents Memory Gardener logo

Myagents Memory Gardener

Community
hAcKlyc
myagents-memory-gardener

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

Overview

PublisherhAcKlyc
RepositoryMyAgents
Skill namemyagents-memory-gardener
Stars
919
Forks
107
Bundled files
2
LicenseAGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by hAcKlyc on GitHub. Read the source before you install it.

Installation

Install the Myagents Memory Gardener AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hAcKlyc/MyAgents/tree/main/bundled-skills/myagents-memory-gardener
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hAcKlyc/MyAgents.git /tmp/MyAgents
mkdir -p .claude/skills
cp -r /tmp/MyAgents/bundled-skills/myagents-memory-gardener .claude/skills/myagents-memory-gardener
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Myagents Memory Gardener in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Myagents Memory Gardener on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Myagents Memory Gardener is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

自检

  • 超预算文件净变小了吗?
  • 下放内容真的落进 topic,并且自动装载层指针有效吗?
  • 没有直接改 SOUL 吗?
  • flags-for-molt.md 只放信念级问题,不放日常整理事项吗?
  • 如有 git 仓库,是否保留了工作树基线中的既有改动,且提交只包含能明确归属于本轮的记忆改动、没有 push?

具体整编手法见 references/playbook.md。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Myagents Memory Gardener AI skill do?

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

Why use Myagents Memory Gardener on TypingMind?

Because you install it once and use it with any model. Myagents Memory Gardener is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Myagents Memory Gardener in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hAcKlyc/MyAgents/tree/main/bundled-skills/myagents-memory-gardener. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Myagents Memory Gardener?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Myagents Memory Gardener?

As many as you like. As long as a model supports skills, you can use Myagents Memory Gardener with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Myagents Memory Gardener AI skill free?

Yes. It is published on GitHub by hAcKlyc under the AGPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇