Omh rules distill

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

Omh rules distill is an AI agent skill from the GitHub repository rlaope/oh-my-hermes. [omh] Turn repeated lessons into written rules: extract repeated principles from skills, prompts, traces, reviews, and failures into reviewed rule candidates without auto-mutating guidance. Use when the user says: rules-distill, rules distill, distill rules, rule distillation, principle distill, ski

How to use this skill

Skill file

Rules Distill

Required: source corpus: skills, prompts, traces, reviews, failures, or docs, destination boundary: AGENTS, skills, prompt, docs, memory, check, or no-write review, rule granularity and acceptance criteria, reviewer or approval requirement. Output: rules_distillation_plan/v1, principle_candidate_set/v1, duplication_conflict_report/v1, review_queue/v1, approved_patch_handoff/v1 when approved, not-evidence boundary.

Why This Exists

rules-distill exists because a repeated lesson buried in traces, reviews, and skill text changes behaviour only once it is written down as a rule, and a rule written from one anecdote does the opposite: it extracts candidate rules from a corpus the user names, checks them against what is already written, and hands approved ones to the destination the user chose; the method is adapted from ECC's rules-distill without wholesale copying.

Contract: references/full-contract.md (examples, sibling boundaries, full artifact details).

Workflow Lane

When to Use

Use when Hermes should turn repeated workflow lessons, skill behavior, review comments, or failure traces into candidate rules that humans can review before docs or catalog changes.

Strong routing signals: rules-distill, rules distill, distill rules, rule distillation, principle distill, skill principles, extract agent rules, turn traces into rules, policy distill, guidance distill, 규칙 증류, 원칙 추출, 스킬 원칙, 프롬프트 규칙

Catalog Metadata

Category: knowledge

Phase: rules-distillation

Hermes role: memory-keeper

Quality tier: rules-distillation-gated

Reasoning demand: light

Quality bar:

Handoff policy:

Keep principle extraction and candidate review in Hermes. Editing AGENTS.md, catalog data, prompts, skills, or docs requires explicit approved implementation work and verification.

Safety rules:

Completion Checklist

Recovery Notes

Runtime Evidence

Preferred harness for this skill: rules-distill.

omh runtime record --skill rules-distill --harness rules-distill --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.