Omh memory sync

From rlaope/oh-my-hermes · View interactive version

Omh memory sync is an AI agent skill from the GitHub repository rlaope/oh-my-hermes. [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 re

How to use this skill

Skill file

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

Examples

Good example:

Bad example:

Completion Checklist

Recovery Notes

Workflow Lane

English-Canonical Interview Protocol

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:

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.

An attention tier is not a lifecycle state; the two uses of "archive" differ: the archive tier only removes a record from the default working context, leaving it stored and answerable by omh memory recall --include-archived; retire moves an expired revision to the local archive directory. Neither is deletion.

Legacy v1 material is migration/review-required: show memory inventory counts and the report-first memory reactivate ... --apply path; neither silently grants replay eligibility.

Dreaming runs in reminder mode at five scheduler points: turn on the due interval (default five turns), compaction before compression discards messages, session_end, shutdown, and session_start_recovery after an unconsolidated end. It flags duplicate clusters, records near deadline, headroom below the floor, stale_review_required, and expired_volatile_records, suppressing an unchanged condition until its value changes; a reminder OMH cannot source is no candidate. Dreaming never invokes a model or performs consolidation, retirement, restore, or prune.

Ranking limits: pins guarantee inclusion but never override expiry, scope, perspective, or review eligibility; attention tiers control working-context occupancy, not truth; approved_manual weighs 100%, approved_auto_safe 90%, and an unknown approval mode fails closed to 90%; age only breaks ties within an equal relevance rank; usage buckets saturate, so repeated delivery cannot compound into a permanent lead.

Normal users talk to Hermes in natural language; omh memory ... commands are agent/operator references.

When to Use

Use when existing Hermes USER.md, MEMORY.md, or accumulated skill memories need an English-canonical, claim-by-claim review. It prepares native write guidance only; no OMH surface invokes, applies, or observes a native write — a user-approved diff is applied by Hermes's own native memory tool. Do not use for new project or product candidates.

Strong routing signals: memory-sync, memory curation, memory review, memory inspect, memory check, memory update, context cleanup, curate memory, stale memory, hermes remembers, conflicting memory, duplicate skill, MEMORY.md, USER.md, what you remember about me, your memory about me, your memories, memory interview, memories still true, 기억하고 있는, 기억하고 있는 프로젝트 맥락, 기억하는 맥락, 현재 hermes가 기억하는 맥락, 현재 헤르메스가 기억하는 맥락, 헤르메스가 기억하는 맥락, 오래된 맥락, 오래된 기억, 기억 점검, 기억 정리, 메모리 업데이트, 메모리 검사, 메모리 점검, 메모리 정리, 맥락 점검, 맥락 정리, 맥락 피드백, 등록된 맥락, 헤르메스 기억, 중복 스킬, 나에 대해 잘못 알고, 저장된 내 정보, 너한테 저장된, 저장된 프로필, 기억 바로잡, 메모리 인터뷰, 기억 인터뷰, что у тебя в памяти, что ты помнишь про меня, память устарела, старые записи в памяти

Catalog Metadata

Category: memory

Phase: curation-review

Hermes role: memory-keeper

Quality tier: workflow-surface-gated

Reasoning demand: light

Quality bar:

Handoff policy:

Keep this as Hermes-facing orchestration guidance first. Prepare executor, connector, gateway, or host-runtime handoff only when the user accepts that next step and observed evidence can be recorded.

Required inputs:

Expected outputs:

Artifact expectations:

Safety rules:

Runtime Evidence

Preferred harness for this skill: memory-sync.

omh runtime record --skill memory-sync --harness memory-sync --status started

Record observed delegation results; otherwise return not_available or not_observed.

Prepared OMH routing is not execution, review, CI, merge-readiness, or merge evidence.

Preserve workflow intent and stop conditions; verify before claiming completion.

Reply in the user's own words and the host's own voice: its SOUL.md persona owns reply language, tone, speech level, and sentence endings, progress updates included (where it sets no language, use the one the user wrote in), and OMH shapes structure and content only. When the requested output is delivered, put any open points inside the result and end with no question or offer; only when the person asked to choose or decide and that choice is still theirs, end with one specific question about it, not a list, a generic offer, or a footer; the shared rail's Reply Language And Host Voice and Turn Ending sections hold the full rule.

Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential lanes.

Shared product, compatibility, topology, memory, harness, and execution rules: skill_view(name='omh-routing', file_path='references/skill-common-rail.md'). Load it when applicable; otherwise name an unavailable capability.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.