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.svg" alt="Measured on agentmods" 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 | $0.00009 | $0.01218 |
| Sonnet 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 7d 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.
- 7d 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 3mo ago), licensed MIT. It adds 18 tokens to every session and 2,435 once invoked, about $0.0001 per session on Opus 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.
Other skills, from other repositories
media-ingest
Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.
mem0-oss-to-platform
Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
memory
Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.
ha-data-stores
Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…
establishing-project-context
Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.