Agent skill

Myagents Memory Gardener

by hAcKlyc in hAcKlyc/MyAgents

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

AGPL-3.0Auto-check passedDevelopment

Install Myagents Memory Gardener

skills CLI
$ npx skills add hAcKlyc/MyAgents --skill myagents-memory-gardener -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hAcKlyc/MyAgents myagents-memory-gardener --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hAcKlyc/MyAgents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/bundled-skills/myagents-memory-gardener .claude/skills/myagents-memory-gardener && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
myagents-memory-gardener
GitHub stars
918
Token cost
~425 tokens
SKILL.md length
89 words
Files
3 (incl. scripts, references)
Skills in repo
15
Repo updated
First seen
Licence
AGPL-3.0

At a glance

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

  • Works in 8 steps: 确认当前目录是目标工作区;如需显式指定,脚本都支持 --repo… → 如果是 git… → 运行 python3 /scripts/memory_lint.py… → …
  • Development work in your project
  • SKILL.md covers 边界, 工作流程, 报告格式 and 自检
  • Runs Python scripts from its folder; calls python3

What it does

Myagents Memory Gardener is an agent skill from hAcKlyc/MyAgents. 仅当系统或用户明确指定完整名称 myagents-memory-gardener 时使用; 不要根据任务语义或相似表述自行触发。

Its SKILL.md is about 430 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/playbook.md` and `scripts/memory_lint.py`).

It sits in Development. It works with Git. The repository describes itself as: MyAgents - 优雅、易用的 Agent 桌面端 ,一站式 Agent 工作台与任务中心. The licence is AGPL-3.0.

When your agent uses it

  • Development work in your project

Example prompts

  • “/myagents-memory-gardener”

Requirements

  • Python 3

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. 确认当前目录是目标工作区;如需显式指定,脚本都支持 --repo /path/to/workspace。
  2. 如果是 git 仓库,先记录工作树基线。已有的未提交改动不阻断记忆维护;保留并避开它们,只编辑本轮需要维护的记忆文件。
  3. 运行 python3 /scripts/memory_lint.py --repo ,把 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。不得暂存、覆盖或回滚基线中已有的其他改动。若同一个目标文件已有无法与本轮改动安全区分的未提交内容,保留该文件的全部改动、不把它纳入提交,并在报告中说明;继续处理和提交其他能够明确归属的文件。如果不是…

What it can do on your machine

Read from SKILL.md and the folder at commit 71fc0ff. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Myagents Memory Gardener loads about 425 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 23 tokens; SKILL.md has 89 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~23
When it runs · the whole SKILL.md, loaded when a task matches
~425
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from hAcKlyc/MyAgents at commit 71fc0ff, republished under its AGPL-3.0 licence (© hAcKlyc). 89 words, ~425 tokens.

Download SKILL.mdSave it as .claude/skills/myagents-memory-gardener/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
myagents-memory-gardener
description
仅当系统或用户明确指定完整名称 `myagents-memory-gardener` 时使用; 不要根据任务语义或相似表述自行触发。
metadata.author
MyAgents

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。

© hAcKlyc, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts, references) in bundled-skills/myagents-memory-gardener of hAcKlyc/MyAgents.

  • SKILL.md
  • references/playbook.md
  • scripts/memory_lint.py

Open the folder on GitHubat commit 71fc0ff

Compare with similar skills

Myagents Memory Gardener next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Myagents Memory Gardener compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Myagents Memory Gardener this skillhAcKlyc/MyAgents918—~425Automated safety check: PassAGPL-3.0
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Codebase Knowledge Graph Q&AEgonex-AI/Understand-Anything86k1 repos~1.2kAutomated safety check: PassMIT
Code Design Rationale Investigatorcursor/plugins10k9 repos~2.6kAutomated safety check: PassNone
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Codebase Knowledge Graph Q&A

    Egonex-AI/Understand-Anything

    Answers questions about a codebase by searching a prebuilt knowledge graph of its files, functions, classes and dependencies, not by rereading every source file.

    86k GitHub starsUsed in 1 repo~1.2k tokens
    DevelopmentAuto-check passed
  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    10k GitHub starsUsed in 9 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Understand Explain

    Egonex-AI/Understand-Anything

    Gives an in-depth explanation of one file, function or module by reading the project's knowledge graph and checking that the graph is still fresh.

    86k GitHub starsUsed in 1 repo~1.3k tokens
    DevelopmentAuto-check passed

More from hAcKlyc/MyAgents

All 15 skills in this repo
  • Hatch Pet

    hAcKlyc/MyAgents

    Create, repair, validate, visually QA, and package MyAgents/Codex-compatible animated pets and pet spritesheets from character art, generated images, company or prospect brand cues, or visual…

    918 GitHub starsUsed in 2 repos~9.5k tokens
    Auto-check passed
  • Download Anything

    hAcKlyc/MyAgents

    Find and download virtually any digital resource from the internet — ebooks, academic papers, movies, TV shows, music, software, images, fonts, courses, and more.

    918 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Myagents Memory Molt

    hAcKlyc/MyAgents

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

    918 GitHub stars~546 tokensUpdated yesterday
    Auto-check passed
  • Support

    hAcKlyc/MyAgents

    MyAgents 本地问题诊断、恢复与反馈升级流程。用户描述报错、崩溃、无响应、配置后仍不可用、状态或结果不符合预期、 Task/Goal/Channel/Provider/Runtime/MCP/Plugin/附件/Agent 网络/协作空间等功能异常,或者前端“小助理诊断/问题反馈”注入诊断上下文时使用。

    918 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Prompt Writer

    hAcKlyc/MyAgents

    Methodology for writing or improving prompts and system prompts that drive any LLM.

    918 GitHub stars~2.2k tokensUpdated yesterday
    Auto-check passed
  • Myagents Task Automation

    hAcKlyc/MyAgents

    让 Agent 建立 MyAgents Task 的完整产品心智模型,并创建、验证和治理需要持久追踪、独立 Session 或未来触发的工作:理解 Task 与立即执行/Record/Goal 的边界,以及 once/scheduled/recurring、Session routing、结束条件和 command Detector。用户提到创建…

    918 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Myagents Memory Gardener

What does Myagents Memory Gardener do?

仅当系统或用户明确指定完整名称 myagents-memory-gardener 时使用; 不要根据任务语义或相似表述自行触发。. Myagents Memory Gardener is an agent skill from hAcKlyc/MyAgents.

When should I use Myagents Memory Gardener?

Myagents Memory Gardener fits situations like: development work in your project.

How do I install Myagents Memory Gardener in Claude Code?

Run `npx skills add hAcKlyc/MyAgents --skill myagents-memory-gardener -a claude-code`. Or copy the skill folder (bundled-skills/myagents-memory-gardener in hAcKlyc/MyAgents) into .claude/skills/myagents-memory-gardener in your project. Claude Code loads it when a task matches its description.

How do I install Myagents Memory Gardener in Codex?

Run `npx skills add hAcKlyc/MyAgents --skill myagents-memory-gardener -a codex`. Or copy the skill folder (bundled-skills/myagents-memory-gardener in hAcKlyc/MyAgents) into .agents/skills/myagents-memory-gardener in your project. Codex loads it when a task matches its description.

Can I use Myagents Memory Gardener in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hAcKlyc/MyAgents --skill myagents-memory-gardener -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/myagents-memory-gardener, .gemini/skills/myagents-memory-gardener, .github/skills/myagents-memory-gardener and .opencode/skills/myagents-memory-gardener in your project.

What does Myagents Memory Gardener need to run?

Going by SKILL.md and its folder, Myagents Memory Gardener needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Myagents Memory Gardener access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Myagents Memory Gardener safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Myagents Memory Gardener use?

Myagents Memory Gardener is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Myagents Memory Gardener use?

About 425 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 699 tokens, read only when the agent opens those files.

What are the alternatives to Myagents Memory Gardener?

Skills that share tags, products or a category with Myagents Memory Gardener: Finishing a Development Branch (obra/superpowers, 296k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Codebase Knowledge Graph Q&A (Egonex-AI/Understand-Anything, 86k stars) and Code Design Rationale Investigator (cursor/plugins, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Myagents Memory Gardener?

hAcKlyc (a GitHub user) maintains it in hAcKlyc/MyAgents, which has 918 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 7, 2026.

Source: hAcKlyc/MyAgents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.