Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add w693847022/memory_service --skill memory-tidygit clone --depth 1 https://github.com/w693847022/memory_serviceWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/w693847022/memory_service/memory-tidy)<a href="https://agentmods.dev/skills/w693847022/memory_service/memory-tidy"><img src="https://agentmods.dev/badge/skills/w693847022/memory_service/memory-tidy/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/w693847022/memory_service/memory-tidy"><img src="https://agentmods.dev/badge/skills/w693847022/memory_service/memory-tidy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00018 | $0.02435 |
| Opus 5.5 | $0.00007 | $0.00974 |
| Sonnet 5.5 | $0.00004 | $0.00487 |
| Haiku 4.5 | $0.00002 | $0.00244 |
Grade A, and why
memory-tidy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Memory 整理技能
整理 MCP [memory_mcp] 中的项目记忆数据,包括功能记录、修复记录、笔记和标签。
前置准备
- 获取项目列表: 使用
project_list查看所有项目 - 选择目标项目: 让用户确认要整理的项目
- 获取项目详情: 使用
project_get获取完整数据
整理流程
步骤 1: 整理 Feature 功能记录
- 识别重复功能: 查找描述相似或功能相同的记录
- 合并重复项:
- 重要:只有状态一致的条目支持合并(pending 只能和 pending 合并,completed 只能和 completed 合并)
- 选择保留的主要记录(通常是描述更完整或更新的)
- 合并前必须向用户确认,说明合并原因
- 将其他重复记录的标签合并到主记录
- 如有关联笔记,选择保留最完整的
- 删除被合并的重复记录
- 清理标签: 移除无意义或重复的标签
合并确认格式:
即将合并以下功能记录:
保留: [ID] 描述内容...
删除: [ID] 描述内容...
合并原因: [说明为什么这两个记录重复/相似]
是否确认合并?(y/n)
操作示例:
# 1. 查看功能列表
project_get(project_id="xxx", group_name="features")
# 2. 合并标签到主记录
project_item_tag_manage(project_id="xxx", group_name="features", item_id="主记录ID", operation="add", tag="被合并记录的标签")
# 3. 删除重复记录
project_delete(project_id="xxx", group="features", item_id="重复记录ID")
步骤 2: 整理 Fix 修复记录
- 识别重复修复: 查找相同问题的多次记录
- 合并重复项:
- 重要:只有状态一致的条目支持合并(pending 只能和 pending 合并,completed 只能和 completed 合并)
- 合并前必须向用户确认,说明合并原因(同 Feature 格式)
- 其余逻辑同 Feature 合并
- 检查关联: 确保修复记录正确关联到相关 Feature
步骤 3: Feature → Fix 迁移
有些 Feature 记录实际上描述的是 Bug 修复,需要迁移:
判断标准:
- 描述中包含 "修复"、"fix"、"bug"、"问题" 等关键词
- 内容主要是解决某个问题而非新增功能
迁移操作:
# 场景A: 全部内容都是修复
# 1. 在 fix 分组创建新记录
project_add(project_id="xxx", group="fixes", content="修复描述", severity="medium", tags="原标签")
# 2. 删除原 feature 记录
project_delete(project_id="xxx", group="features", item_id="原ID")
# 场景B: 部分是修复
# 1. 为修复部分创建 fix 记录
project_add(project_id="xxx", group="fixes", content="修复部分内容", related_feature="原featureID")
# 2. 更新原 feature,移除修复部分
project_update(project_id="xxx", group="features", item_id="原ID", content="仅保留功能部分")
步骤 4: 整理 Note 笔记
前置:理解 Note 关联的意义
Note 是 Feature 或 Fix 的细节补充,它们之间存在语义关联:
- 关联了 feature 的 note → 是该功能的技术细节/实现说明
- 关联了 fix 的 note → 是该修复的原因分析/解决方案细节
- 无关联的 note → 独立的开发笔记/临时记录
4.1 删除 Note 的判断
核心原则:有关联的 note 是 feature/fix 的补充,不应轻易删除
删除前检查流程:
1. 查询 feature 和 fix 列表,检查 note_id 是否指向该 note
2. 如果有关联 → 保留该 note,它是补充说明
3. 如果无关联 → 可以删除(独立的临时笔记)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 240 lines · 18 tokens per session scan A 726f10e3d2c2
memory-tidy is a skill published in the GitHub repository w693847022/memory_service (1 stars, last pushed 6mo ago), licensed MIT. It adds 18 tokens to every session and 2,435 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
memory-tidy compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| memory-tidyw693847022/memory_service | Skill | 1 | 6mo ago | MIT | A | 18 | Claude Code |
| knowledge-ingestopenclaw/openclaw | Skill | 396k | today | MIT | A | 80 | Claude Code, Codex |
| forgetasgeirtj/system_prompts_leaks | Skill | 74k | today | CC0-1.0 | A | 0 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 5d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 21k | 14d ago | MIT | A | 184 | Claude Code |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 115 | Claude Code, Codex |
| memoryopensquilla/opensquilla | Skill | 7.2k | 6d ago | Apache-2.0 | A | 44 | Claude Code, Codex |