omh-run-efficiency
它能做什么
该技能根据本地数据报告 AI 智能体一次运行在时间、工具和上下文空间方面的使用效率。适合希望了解缓慢或高成本运行的人。
适用场景
- ✓当某次智能体运行很慢,你想知道哪个工具耗时最长时。
- ✓当你想检查一次运行用掉了多少上下文窗口时。
- ✓当你需要一份运行效率报告与团队分享时。
技能链接
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-run-efficiency/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请给我这次运行的效率报告,包括上下文预算以及每个工具的耗时。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体读取你提供的耗时和上下文预算,并写出一份简明的报告。它不测量你服务商的账单或服务器负载。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Run Efficiency
This is an OMH run-efficiency workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
run-efficiency exists so a question about how a run spent its time, tools, and context gets the supplied timings and context budget, plus what Hermes itself recorded for a named session's tokens and cost, instead of figures a model guesses.
Do Not Use When
- The user asks only what this Hermes conversation has used or cost so far; Hermes' /usage shows this session's tokens and context, /insights estimates cost across recent sessions, and the omh_run_summary tool relays this conversation's recorded tokens and cost.
- The user wants service latency, uptime, error rates, or supplied metric-provider figures; use
omh-ops-observability-card. - The user wants a provider invoice or quota truth; no OMH report observes either, so name the provider's own console as the source.
Examples
Good example:
- Prompt: Show the local run efficiency report from this run's supplied context budget and timings.
- Expected behavior: Produce
show_run_efficiency_reportwith 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: Claim this report proves provider billing, host load, or cron execution without observations.
- 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
- The run ID, context budget, surfaces, and supplied observations are explicit.
- Host usage is Hermes' recorded accounting for the named session, observed only when it recorded tokens; provider billing and cron stay not_observed.
- The report does not intercept, route, or execute provider or host work.
Recovery Notes
- If provider metrics are unavailable, report only local metadata and mark provider truth not_observed.
- If cost or latency looks risky, surface a warning plus the next measurement rather than a completion claim.
When to Use
Use for a bounded local efficiency report from supplied metadata with provider gaps explicit.
Strong routing signals: `run-efficiency`, `run efficiency report`, `local run efficiency`, `context utilization`, `tool duration report`, `실행 효율 리포트`, `컨텍스트 사용량`, `도구 지연 시간`
Catalog Metadata
Category: observability
Phase: run-efficiency
Quality tier: workflow-surface-gated
Reasoning demand: standard
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:
- run_efficiency_report/v1
- context utilization
- host_usage: Hermes' recorded usage for a named session, or not_observed
- not_observed provider and billing gaps
Artifact expectations:
- run_efficiency_report/v1 metadata-only report
- supplied
session_activity_receipt/v1when available; unavailable metrics stay unavailable, never zero host_usagefrom the Hermes-accounted part of the cost receiptomh_run_summaryreturns (the session, its delegated children, and its kanban workers;--hermes-session, and a local Hermes terminal holds the id in$HERMES_SESSION_ID): observed only when Hermes recorded tokens for it; no session row or no tokens stays not_observed, never zero
Safety rules:
- Run efficiency is supplied OMH-local metadata plus, for a named Hermes session, Hermes' own recorded usage; it is not provider billing, cron, or host-load evidence.
- Do not claim connector, gateway, runtime, file generation, memory mutation, or host automation evidence from prepared guidance.
Runtime Evidence
Use the current host's own tools and subagent/task mechanism when available;
otherwise run the same lanes sequentially or name the unavailable capability.
A prepared plan, handoff, checklist, or skill installation is not execution,
review, CI, merge-readiness, or merge evidence. Record actual tool results, or
not_observed / not_available, in the record; never invent dispatch or h
常见问题
它会显示我服务商账单的精确金额吗?
不会。报告基于本地数据,账单请查看服务商自己的控制台。
它能检查我服务器的负载吗?
不能。服务器和服务指标需要单独的可观测性技能。
它会改变我的运行过程吗?
不会。它只报告所提供的内容。
详情
作者的原始描述
[omh] Run efficiency and context usage report: report supplied local run efficiency while provider data stays unobserved. Use when the user says: run-efficiency, run efficiency report, local run efficiency, context utilization, tool duration report, 실행 효율 리포트, 컨텍스트 사용량, 도구 지연 시간.
repo: rlaope/oh-my-hermes
热度
- GitHub 星标
- 5.1k
- 排名
- #15157
- 许可证
- 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 工具如何在项目中工作。