rlaope/oh-my-hermes/omh-memory-sync
Claude Code and agent skill by rlaope/oh-my-hermes
- community
Checking that the SKILL.md file is still in the repository.
[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 `omh-memory-new`, and for a past decision use omh_memory recall or `omh-decision-recall`. Use when the user says: memory-sync, memory curation, memory review, memory inspect, memory check, memory update, context cleanup, curate memory.
Install
npx vskill@latest install rlaope/oh-my-hermes/omh-memory-syncSKILL.md
The same SKILL.md was published earlier as rlaope/oh-my-hermes/omh-memory-sync.
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 before; recall it with the omh_memory tool's recall action.
- The user asks what was 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 entry-by-entry confirmation stops before the assembled diff is approved, retain the reviewed claim decisions, mark the diff unresolved, and hand back reviewed indexes, remaining candidates, and the next entry to resume.
- If the native memory tool is unavailable after diff approval, retain the approved before/after diff, mark the native write not_observed, and hand back that diff without editing MEMORY.md or USER.md directly.
- If a native write returns staged: true with a pending_id, retain the approved diff and pending_id, mark saving not_observed, and hand back /memory approve <id> for the person without repeating the write.
Workflow Lane
- Current lane: Retained knowledge - memory, rejected alternatives, wiki notes, retrieval, and staleness.
- If intent belongs to another lane, hand back to
omh-routingor 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
omh-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 to keep, revise, or archive it before moving on. A review the user cannot correct entry by entry is not a review.
- Cursor (이어하기) - Close every pass with reviewed entry indexes, remaining candidates, and the next entry a resumed review starts from. The resume point lives only in the conversation; name it.
- Incident (진단) - A recall complaint ("my saved preference was not used") is a diagnosis, never an apology or automatic write. Anchor one expected claim and run
omh memory recall-incident --record-id <id> | --claim-digest <sha256> --session-id <session>(agent reference; JSON only). Explain itsmemory_recall_incident/v1stage, evidence surfaces, and remediation: stored, eligible, selected, rendered, delivered, and used are separate claims; diagnosis today stops atselected; a missing receipt isunavailable, never non-delivery. Mutation waits for this interview's approvals. Contract:docs/MEMORY-RECALL-INCIDENT.md. - Source recovery (출처 회수) - A whole wrong source is not a record-by-record review. Enumerate it with
omh memory sources --source <label>(a read; it quarantines nothing), then followreferences/source-recovery.md. - Review (검토) - Prioritize stale, conflicting, duplicate, and overgeneralized claims. Offer keep, revise, or archive; never call an archive a removal.
- Attention (주의) - For a reviewed OMH-local record, keep/archive is an attention tier:
activeleads the working context,referencestays recallable behind it,archiveleaves default recall. Preview withomh memory attention <record-id> --tier <tier>, name which records stay in or leave the working context, then add--applyonly after the user agrees. The preview writes nothing. - Diff (차이) - Prepare one concise native write diff with before/after claims and counts. Caps: use each file's
capandcap_sourcefrom the inventory; Hermes reads them frommemory.memory_char_limitandmemory.user_char_limitand falls back to 2,200 characters for MEMORY.md and 1,375 characters for USER.md. - Move to OMH - A durable entry the user agrees belongs in OMH, you capture yourself with
omh_memoryandaction="capture"(one bounded summary per fact; never hand the user a CLI step), and the diff shrinks its Hermes entry to a short pointer line. The capture result is OMH-local evidence only; the Hermes side changes only through the native write below. Hermes'write_approvalgates only Hermes' own memory and skill writes, never this capture: OMH's own policy approves a safe capture at once (approved_auto_safe), and a capture waits for review only when its result names areview_reason. - Native-write boundary (쓰기) - OMH prepares guidance and a native write diff only; no OMH surface invokes, applies, or observes a
MEMORY.md/USER.mdwrite. - Apply after approval (적용) - Per-entry answers feed the diff without approving it. Ask for one explicit approval of the assembled diff, then apply the approved entries yourself through the Hermes-native memory tool that owns these files and report what the write observably changed; an approved diff left unapplied while the tool is available fails the interview. Without the tool, report the approved diff and stop; never edit the files directly. When the native write returns
staged: truewith apending_id, nothing was saved even thoughsuccessis true: Hermes' own write approval, the user's setting, is holding it, so report it as staged and waiting for the person's/memory approve <id>, never as an applied write, and do not repeat the write. When Hermes asks the person before the write and they decline, the error result saved nothing: report that entry as declined and do not retry it. The OMH artifact staysmemory_curation_review/v1metadata either way; the native write is Hermes's own act and never becomes OMH mutation evidence.
Open Records
An open record is one the person marked unresolved: staleness.resolution: "open". Recall delivers it as open · N days unresolved; past its review deadline its freshness state is open (reason unresolved), never stale, and it never becomes a verdict by timeout. Two clocks can still expire it: a retention TTL, which outranks everything, and the hard ceiling open_max_days (default 365; durable records exempt), with reason unresolved_expired.
When the user asks to tidy, review, or clean up memory, list open records first, before the stale, duplicate, and conflict review. Run omh memory status and read counts.unresolved and the bounded open_records list (oldest first). Show each record with its summary, open_days, review_due_at, state, and last_asked_at, then offer the same three answers the reminder offers:
- Resolved -
omh memory confirm <record-id>writesresolution: resolvedand resets the review deadline. A correction (omh memory correct) also resolves, by superseding. - Still open -
omh memory keep-open <record-id>resets only the reminder's ask clock; the record, its state, and its deadline do not change. - Drop it -
omh memory retire <record-id>prepares the retirement;--applyarchives it. Nothing is deleted.
Without a shell that runs omh: confirm and retire (reason user_asked) exist as omh_memory actions and apply at once, so call them only after the person's answer (recall the record first: a record not served this session is refused as record_not_seen_this_session); the open-record listing and keep-open have no tool form, so say they need a terminal and stop.
The person answers per record; never resolve, keep open, or retire on your own judgment. A record with no answer stays open: say so, and do not default it to keep-open. Between reviews the provider prefetch asks on its own, with at most one omh reminder: "<summary>" (<record_id>) has been unresolved for N days — resolved, still open, or drop it? line per turn: once when the review deadline passes, then at most every open_ask_days (default 14) per record, and "still open" resets that clock. The reminder only asks and writes no record, so an answer given in chat still goes through one of the three commands above.
Memory Boundaries
The prepared artifact is memory_curation_review/v1, not native-memory mutation evidence. Hermes-native and external provider/vector context is not_omh_reviewed: it can nominate an OMH candidate but never inherits OMH approval. A configured Hermes runtime may send rendered OMH prefetch content in a model request.
Lifecycle words are literal: expire removes influence only; retire archives recoverably; restore creates a new pending revision and keeps the archive; prune hard-deletes only the manifest-declared OMH-local target set. Report restore and prune first; no lifecycle result proves anything outside that target set.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/omh-memory-sync/SKILL.md
Popularity
- Repository stars
- 2,979
- Repository forks
- 232
- 7-day trend score
- 40
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rlaope/oh-my-hermes/omh-memory-sync)