跳到正文
cccskills
免费在 GitHub 公开

omh-rules-distill

Extract recurring lessons from skills, prompts, work logs, reviews, and failures into proposed agent rules. Identify overlaps and conflicts with existing guidance, and prepare candidates for human review before any approved implementation.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

[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, skill principles, extract agent rules, turn traces into rules.

实测评分 未实测

查看安装方法

适用场景

  • Turning repeated failures into proposed agent rules
  • Checking proposed rules against existing guidance
  • Reviewing lessons before updating prompts or skills

包含的文件(1)

  • SKILL.md7.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Rules Distill

This is a Hermes-native rules-distill workflow skill.

Why This Exists

rules-distill gives OMH a disciplined way to learn from large skill ecosystems like ECC without wholesale copying: extract principles, review them, then patch OMH only through explicit verified work.

Do Not Use When

  • The user wants a single workflow route regression; use omh-workflow-learning.
  • The user wants durable factual project memory; use omh-wiki or memory curation.
  • The user already approved a concrete code/doc change; use the implementation workflow.
  • The ask is writing or keeping current the file an agent reads at startup -- AGENTS.md, CLAUDE.md, a Cursor rule; use omh-agent-instructions, which updates only its marked region.

Examples

Good example:

  • Prompt: rules-distill 최근 실패 trace와 스킬들을 보고 OMH AGENTS에 넣을 만한 반복 원칙 후보만 뽑아줘.
  • Expected behavior: Prepare principle_candidate_set/v1, duplication/conflict report, review queue, and approved patch handoff only after approval.
  • Why: The request is meta-guidance learning and needs review before mutating rules.

Bad example:

  • Prompt: rules-distill 한 번 본 실패를 바로 모든 스킬 규칙으로 써버려.
  • Expected behavior: Keep it as a low-confidence candidate or regression case until repeated evidence and review approval exist.
  • Why: Rule distillation should not turn one-off anecdotes into global behavior.

Completion Checklist

  • The durable fact, source evidence, retrieval hint, and staleness risk are recorded.
  • Uncertain or conflicting knowledge is marked as review-needed rather than permanent truth.
  • Separate coding or docs tasks are extracted instead of buried in notes.

Recovery Notes

  • If source evidence conflicts, route to memory or knowledge review before writing durable guidance.
  • If the fact may be stale, record the staleness warning and next refresh action.

Workflow Lane

  • Current lane: Automation and status (achievements, workspace-audit, production-audit, live-incident-response, automation-blueprint, github-event-ops, github-issue-intake, buzz, +40 more) - schedules, status, health, and ops review.
  • If intent belongs to another lane, hand back to oh-my-hermes or name the adjacent workflow.
  • Shared product, routing, compatibility, and evidence rules: skill_view(name='omh-routing', file_path='references/skill-common-rail.md').

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:

  • Collect repeated evidence before proposing a rule.
  • Deduplicate against existing guidance and name conflicts or narrower scopes.
  • Use imperative, testable wording and include non-goals for each candidate.
  • Require review approval before any patch handoff or generated-skill update.
  • On Hermes, read a curator run report (logs/curator/<run>/REPORT.md and run.json under the active profile's Hermes home) as a source like a review or a trace: it records which skills the curator consolidated, archived, or created in that run, and one report is one observation, never repeated evidence by itself.

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.

Required inputs:

  • source corpus: skills, prompts, traces, reviews, failures, or docs
  • destination boundary: AGENTS, skill catalog, prompt, docs, memory, or no-write review
  • rule granularity and acceptance criteria
  • reviewer or approval requirement

Expected outputs:

  • rules_distillation_plan/v1
  • principle_candidate_set/v1
  • duplication_conflict_report/v1
  • review_queue/v1
  • approved_patch_handoff/v1 when approved
  • not-evidence boundary

Artifact expectations:

  • principle_candidate_set/v1 with source references, repeated pattern, candidate wording, scope, non-goals, and risk
  • duplication_conflict_report/v1 with already-covered rules, conflicts, and stale guidance
  • review_queue/v1 separating proposed, approved, rejected, deferred, and needs-evidence candidates

Safety rules:

  • Do not silently mutate skills, prompts, AGENTS.md, docs, memory, or catalog data from a distillation result.
  • Do not promote one-off preferences, weak anecdotes, or stale traces into global rules.
  • Keep observed sources, inferred principles, candidate wording, review state, and implementation patches separate.
  • On Hermes, when the destination is the user's own Hermes skills, an approved candidate lands through skill_manage: report it landed only from a result that succeeded without staged: true, with the matching skill audit ledger entry as its record while the ledger is on, and report a staged write as waiting in /skills pending for the person's own /skills approve <id> under their skills.write_approval setting. OMH-managed skills are generated from OMH's catalog and are never the destination; a lesson about one goes to omh-workflow-learning. An OMH-managed skill is one OMH installed, under a label OMH's catalog renders such as omh-plan or ulw-work; a companion skill the person or an agent created is theirs, whatever its name.

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.

  • Treat wrapper memory/context summaries as advisory local context, not proof of opaque Hermes memory reads or changes. 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; OMH's record terms (surface, lane, wrapper, handoff, evidence boundary, not_observed) stay in records and tool calls, never in the sentence the user reads unless they ask about one; and when a real unresolved user decision or a useful briefing discussion remains, offer one specific, content-linked question. Completed work needs no question; omit unrelated non-action footers and generic offers to continue.

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

dag-ulw

免费

Coordinate a large job by splitting it into small tasks with explicit dependencies. Run ready tasks in parallel through Hermes, verify the combined result separately, and repair failures within defined limits before reporting completed work and remaining gaps.

中文简介正在准备中。当前显示英语简介。

  • Delivering a feature across multiple modules
  • Coordinating a migration with ordered steps
  • Managing a broad cleanup across separate work areas
rlaope/oh-my-hermes35932026年10月23日 更新

Guide the addition of a new model generation to oh-my-hermes. The workflow checks model recognition, official specifications, routing rules that select models for tasks, documented pricing, and live access, then validates changes with tests and comparative benchmarks.

中文简介正在准备中。当前显示英语简介。

  • Add a new model generation to oh-my-hermes
  • Check API model IDs and dated snapshot recognition
  • Update model selection chains and related documentation
rlaope/oh-my-hermes35932026年10月23日 更新

Prepare an accessibility audit for an interface using WCAG 2.2 AA, an accessibility standard. Organize evidence for keyboard use, screen readers, contrast, target size, and zoom behavior, then document findings, missing checks, and remediation handoffs.

中文简介正在准备中。当前显示英语简介。

  • Reviewing checkout accessibility against WCAG 2.2 AA
  • Checking keyboard access and focus order
  • Organizing screen-reader labels and announcement evidence
rlaope/oh-my-hermes35932026年10月23日 更新

Summarize earned badges, recent unlocks, achievement tiers, and progress using local files from the hermes-achievements plugin. Prepare a badge list or report section while making missing information and the limits of the recorded snapshot clear.

中文简介正在准备中。当前显示英语简介。

  • Checking earned badges
  • Reviewing recently unlocked achievements
  • Finding progress toward the next achievement tier
rlaope/oh-my-hermes35932026年10月23日 更新

Examine a technical proposal through independent perspectives, challenge their findings, and resolve objections. The result is a structured set of constraints, decisions, risks, and open questions for a separate planning workflow.

中文简介正在准备中。当前显示英语简介。

  • Reviewing a technical proposal before planning
  • Challenging assumptions behind a migration
  • Organizing risks and unresolved questions
rlaope/oh-my-hermes35932026年10月23日 更新

Coordinate multiple Hermes agents or profiles through a shared task board. Organize assignments, handoffs, activity updates, blockers, and completion states, while distinguishing planned actions from work supported by observed results.

中文简介正在准备中。当前显示英语简介。

  • Coordinate agent roles for a launch checklist
  • Track task handoffs and blockers
  • Prepare work for pickup across profiles or after a restart
rlaope/oh-my-hermes35932026年10月23日 更新

查看 rlaope 的全部技能

报告此技能的问题