omh-memory-sync
它能做什么
该技能审查 Hermes 为你和你的工作保存的笔记,查找过时或错误的条目。适合希望智能体的记忆保持准确的人。
适用场景
- ✓当你的智能体一直重复一个已经不再成立的关于你的旧事实时。
- ✓当你想审阅智能体在每次对话中使用的记忆条目时。
- ✓当记忆文件已满,需要在添加新笔记之前进行清理时。
技能链接
https://github.com/rlaope/oh-my-hermes/blob/main/skills/omh-memory-sync/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请检查我的记忆条目中是否有过时的论断,并问我哪些保留、修改或归档。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体与你逐条审阅每个记忆论断,并准备一项待批准的修改。它只报告 Hermes 自身返回的写入结果,未经你批准,不会写入任何内容。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Memory Sync
This is a Hermes-native memory-sync workflow skill.
Why This Exists
memory-sync exists because Hermes' memory files are small, capped, and written by more than one hand -- the model, Hermes' own background review, and the person -- so a stale or wrong entry rides in every prompt until someone checks it: this review walks the entries with the person one claim at a time, prepares one diff they approve, and reports only the write Hermes itself returns.
Do Not Use When
- The user states a new fact to remember; capture it with
omh-memory-new. - The user asks what was decided or rejected before; use
omh-decision-recall. - The user wants a memory provider enabled, switched, paused, or removed; use
omh-external-connector-readiness, which owns the provider slot.
Examples
Good example:
- Prompt: memory-sync inspect stale MEMORY.md claims, prepare a native write diff, and ask which claims to keep, revise, or archive.
- Expected behavior: Produce
prepare_memory_syncwith required context, wrapper actions, and not-evidence boundaries. - Why: The prompt names a real workflow surface that Hermes can orchestrate without hiding execution.
Bad example:
- Prompt: memory-sync claim a prepared native diff changed MEMORY.md or USER.md.
- Expected behavior: Report the missing observed evidence or authority instead of claiming the external step happened.
- Why: Prepared OMH guidance is not platform, runtime, connector, file, memory, or delivery evidence.
Completion Checklist
- Confirm the workflow target, evidence boundary, and stop condition are named.
- Report which outputs are prepared, observed, blocked, or missing.
- Name the smallest next verification or handoff instead of claiming completion from narration.
Recovery Notes
- If required context is missing, ask one blocking question or route back to the narrower workflow.
- If runtime or wrapper evidence is unavailable, keep the status as not_observed and expose the next observable action.
Workflow Lane
- Current lane: Retained knowledge (
memory-new,memory-sync,decision-recall,wiki) - memory, rejected alternatives, wiki notes, retrieval, and staleness. - If intent belongs to another lane, hand back to
oh-my-hermesor name the adjacent workflow. - Shared product, routing, compatibility, and evidence rules:
skill_view(name='omh-routing', file_path='references/skill-common-rail.md').
English-Canonical Interview Protocol
- Inventory (목록) - Call
omh_memorywithaction="status"for the entry inventory: per-file counts, per-entry index and size, headroom, and entries with no OMH record. It returns counts and hashes, never entry text. - Pending writes (대기) - Also list the memory writes Hermes is holding for approval: one JSON record per write under
pending/memory/in the active profile's Hermes home, carryingid,action,summary,origin, andcreated_at./memory pendingshows the same list and tags[auto]a write whoseoriginisbackground_review, one Hermes' own background review proposed. Read the directory whatevermemory.write_approvalsays now, since a record stays there until the person decides it. A pending write is not inMEMORY.mdorUSER.mdyet: review it as a proposal, never as a remembered claim, and leave approving or rejecting it to the person (/memory approve <id>or/memory reject <id>). - Claim extraction (추출) - Break the
USER.mdandMEMORY.mdmaterial into claims; quote only observed claims and never invent provenance. - Provenance (출처) - Ask for the source class and distinguish Hermes-native, provider, and vector material as
not_omh_reviewed. A provider posture'sinput_fidelity_summary.readinessis literal: onlycomplete_observedrests on an observed complete receipt (docs/MEMORY-SYNC-FIDELITY.md). - Target (대상) - Review existing native-memory claims only; route a new project/product fact to
memory-new. - Candidate selection (후보) - Open records first (see Open Records below); then a short interview, not a census: pick about five candidates per pass and say why. Rank by dreaming reminders (duplicate clusters, deadline,
stale_review_required), status-bridge similarity rows, and claims that look stale, conflicting, or overgeneralized. Walk the full inventory only on request. - Per-entry confirmation (확인) - One candidate at a time: quote it back from your own memory file, say what you take it to mean, then ask the user t
常见问题
它会自行修改我的记忆吗?
不会。它只准备一项修改,在任何写入发生之前请你批准。
我如何添加新的事实?
新事实由单独的记忆记录技能处理。
过去的决定怎么办?
查找过去的决定是单独的决策回顾技能的工作。
详情
作者的原始描述
[omh] Outdated or wrong Hermes memory entries: English-canonical Hermes memory-review guidance: inspect USER.md and MEMORY.md claims and prepare a native write diff without invoking, applying, or observing a native write; for a new fact use memory-new, and for a past decision use decision-recall. Use when the user says: memory-sync, memory curation, memory review, memory inspect, memory check, memory update, context cleanup, curate memory.
repo: rlaope/oh-my-hermes
热度
- GitHub 星标
- 5.1k
- 排名
- #15206
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
omh-accessibility-audit
5.1k帮你的智能体检查某个界面或流程是否存在无障碍问题,例如键盘使用、屏幕阅读器标签、对比度和触控目标大小。
omh-adversarial-consensus
5.1k在你做出决定之前,帮你的智能体从几个独立角度质疑一个技术方案,然后总结哪些观点经得起推敲。
omh-agent-debug
5.1k帮你的智能体找出另一个 AI 智能体为何卡住、陷入循环或偏离任务,并提出最小且安全的恢复方法。
omh-agent-instructions
5.1k帮你的智能体编写或更新指令文件,例如 AGENTS.md 或 CLAUDE.md,告诉 AI 工具如何在项目中工作。