omh-instinct-ledger
它能做什么
它把项目中反复出现的经验记录为小型候选规则,并附上置信度和证据。它会把项目经验与全局经验分开保存。适合希望智能体从反复经验中学习的人。
适用场景
- ✓当同一经验在多次运行或多个项目中反复出现时。
- ✓当你想在保存候选规则供日后使用之前进行审阅时。
- ✓当你想知道哪些经验可以在所有项目之间共享时。
技能链接
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-instinct-ledger/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把这些反复出现的审阅经验整理成针对项目的规则,并显示哪些可以全局共享。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体把每条经验记录为一条小规则,包括触发条件、动作、适用范围和置信度,然后列出候选项。规则只有通过经过审阅的途径才会被提升,不会自动进行。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Instinct Ledger
This is an OMH instinct-ledger workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
instinct-ledger exists because a lesson seen once is an anecdote and one seen across runs or projects is a candidate rule: it records each as one atomic instinct with its trigger, action, scope, confidence, and evidence, and promotes one only through a reviewed store route, never by writing a host's memory or skills on its own.
Do Not Use When
- A single missed route or one run's trace.
- Writing reviewed lessons into AGENTS guidance, prompts, or skills; use
omh-rules-distill. - A run that is stuck right now; use
omh-agent-debugbefore drawing a lesson from it.
Examples
Good example:
- Prompt: instinct-ledger turn these repeated OMH review lessons into project-scoped instincts and show which ones could be promoted globally.
- Expected behavior: Produce
prepare_instinct_ledgerwith 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: instinct-ledger silently install hooks, learn from every prompt, and mutate all skills globally.
- 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
- Each instinct is atomic: one trigger, one action, one scope, confidence, evidence refs, and review state.
- Project-specific conventions, global practices, project/global promotion candidates, imports, and exports are separated.
- No hooks, memory writes, skill edits, global promotion, import/export, or behavior-change claims are made without observed approval and implementation evidence.
- A promoted instinct leaves as a store route,
memory_candidateformemory-newor askill_update_candidate, never as a parallel store of its own. - On Hermes, the skill audit ledger (
skills/.curator_ledger.jsonlunder the active profile's Hermes home) is observed evidence of what the agent or its background review already wrote; an instinct that matches a ledger entry no store route accounts for is reported asunreviewed_native_write(OMH holds no record of that write, which is not to say nobody reviewed it), never counted as repeated evidence for the instinct.
Recovery Notes
- If the request is a single missed route or run trace, it is outside this skill.
- If the request is to mutate durable rules, prompts, skills, or AGENTS guidance, route to rules-distill or implementation after review approval.
- If evidence comes from a stuck run, use agent-debug before converting lessons into instincts.
When to Use
Use when Hermes should review repeated observations, user corrections, workflow lessons, or failure patterns as atomic project-scoped or global instinct candidates with confidence, evidence, promotion, import, or export decisions.
Strong routing signals: `instinct-ledger`, `instinct ledger`, `project instincts`, `project-scoped instincts`, `project scoped instincts`, `global instincts`, `instinct review`, `instinct candidate`, `instinct candidates`, `instinct promotion`, `promote instinct`, `promote learning`, `confidence scored learning`, `confidence-scored learning`, `project learning patterns`, `cross-project learning`, `export instincts`, `import instincts`, `학습 본능`, `프로젝트별 학습`, `프로젝트 스코프 학습`, `전역 학습 승격`, `학습 승격`, `학습 패턴 승격`
Catalog Metadata
Category: optimization
Phase: instinct-ledger
Quality tier: workflow-surface-gated
Reasoning demand: heavy
Quality bar:
- Name the user-facing workflow objective, required context, next action, and stop condition.
- Separate prepared guidance from observed platform, runtime, connector, file, memory, or delivery evidence.
- Expose missing tools, credentials, targets, or observations as user-visible gaps.
Required inputs:
- user request
- target context
- delivery or status expectation
- known missing evidence
Expected outputs:
- instinct_ledger_plan/v1
- instinct_candidate/v1
- project_instinct_scope_map/v1
- instinct_promotion_review/v1
- instinct_export_review/v1 when requested
Artifact expectations:
- instinct_candidate/v1 with trigger, action, confidence, domain, scope, source evidence, non-goals, and review state
- project_instinct_scope_map/v1
常见问题
只出现过一次的经验会变成规则吗?
不会。该技能把单次出现视为轶事,而不是规则。
它会自动更改我的全局设置吗?
不会。提升规则需要经过审阅的途径,该技能不会自行写入主机记忆或技能。
它是用来编写 AGENTS.md 文件的吗?
不是。把经过审阅的指导写入指令文件,由单独的规则技能负责。
详情
作者的原始描述
[omh] Recurring lessons worth promoting: turn repeated project or cross-project lessons into atomic, confidence-scored instinct candidates with scoped promotion and export boundaries. Use when the user says: instinct-ledger, instinct ledger, project instincts, project-scoped instincts, project scoped instincts, global instincts, instinct review, instinct candidate.
repo: rlaope/oh-my-hermes
热度
- GitHub 星标
- 5.1k
- 排名
- #15120
- 许可证
- 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 工具如何在项目中工作。