跳到正文
Skillpedia
智能体5.1k · #15115

omh-harness-session-inventory

它能做什么

它从 Codex、Claude Code、Hermes 和 Cursor 等工具收集会话和配置信息,汇总成一份清单,并标记不一致之处。适合同时运行多个 AI 编程工具、却已经记不清哪些在运行的人。

适用场景

  • ✓当你已经记不清哪些智能体会话和工作树仍在活动时。
  • ✓当你在开始新的智能体工作之前,想比较各工具的配置时。
  • ✓当你怀疑不同的 AI 工具在使用不同的设置时。

技能链接

https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-harness-session-inventory/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-harness-session-inventory/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“在我再启动更多智能体之前,请比较我的 Codex、Claude Code 和 Cursor 会话与工作树,看看是否存在偏差。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体收集可获得的会话和配置细节,合并成一份清单,并标出彼此不一致的地方。它会注明自己无法观察到的内容。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Harness Session Inventory

This is an OMH harness-session-inventory workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

Why This Exists

harness-session-inventory exists so Hermes users can ask for this workflow in chat and get a structured, checkable answer instead of an improvised one.

Do Not Use When

  • The request is already handled by a narrower explicit skill with stronger evidence.
  • The user asks OMH to secretly run external platforms, connectors, schedulers, file exports, or runtime agents.
  • The only safe answer is to ask for missing authority, credentials, target, or observed evidence first.

Examples

Good example:

  • Prompt: harness-session-inventory compare Codex, Claude Code, Hermes, MCP configs, and worktrees for drift before we dispatch agents.
  • Expected behavior: Produce prepare_harness_session_inventory with 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: harness-session-inventory claim every MCP host loaded and every agent session is healthy from config files alone.
  • 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 inventory scope names the harnesses, sessions, MCP hosts, connector configs, and worktrees being compared.
  • Prepared, observed, missing, stale, and drifted entries are separated before any health or progress claim.
  • The next action says whether to load a host, verify a connector, inspect a worktree, dispatch an executor, or stay blocked.

Recovery Notes

  • If config sources are unavailable, report only the discovered surfaces and mark the missing hosts not_observed.
  • If cleanup, host load, connector execution, or session progress is requested, route to the owning workflow instead of folding it into inventory.

When to Use

Use when operators need a cross-harness/session/MCP/worktree inventory and drift summary before claiming any host loaded, connector ran, or agent session progressed.

Strong routing signals: `harness-session-inventory`, `harness session inventory`, `session inventory`, `session adapter`, `session adapters`, `harness sessions`, `mcp inventory`, `mcp config inventory`, `mcp drift`, `harness drift`, `connector drift`, `worktree inventory`, `worktree lifecycle`, `operator inventory`, `control pane inventory`, `codex session inventory`, `claude code session inventory`, `find previous coding session`, `recover coding session`, `previous codex coding session`, `coding session recall`, `세션 인벤토리`, `지난 코딩 세션`, `코딩 세션 복구`, `세션 기억 복구`, `하네스 세션`, `하네스 드리프트`, `MCP 인벤토리`, `MCP 설정 드리프트`, `워크트리 인벤토리`, `커넥터 드리프트`, `сессии агентов`, `инвентарь харнессов`, `восстанови сессию агента`, `инвентарь сессий`, `каждый харнесс`, `харнесс подхватывает`, `харнес подхватывает`

Catalog Metadata

Category: observability Phase: harness-session-inventory 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:

  • harness_session_inventory/v1 card or guidance
  • harness_session_adapter_matrix/v1
  • mcp_inventory_drift_report/v1
  • mcp_tool_name_compatibility/v1
  • worktree_lifecycle_snapshot/v1
  • session_progress_slots/v1
  • next action
  • prepared-vs-observed boundary

Artifact expectations:

  • harness_session_inventory/v1 metadata-only runtime or wrapper card when recorded
  • harness_session_adapter_matrix/v1 with observed, prepared, missing, and stale adapters
  • mcp_inventory_drift_report/v1 with secret-redacted config/source drift only
  • mcp_tool_name_compatibility/v1 with secret-redacted config/source drift only: agents use omh harness mcp-tool-name-compatibility --snapshot <path> for supplied naming metadata; config-only and unsupported adapters stay unobserved, ambiguous names are never selected, and no tools are invoked
  • worktree_lifec
常见问题

配置文件能证明一切都在运行吗?

不能。该技能说明,仅有配置文件并不能说明某个会话或主机是健康的。

它会停止或启动我的会话吗?

不会。它只生成清单,不会自行运行外部平台。

它涵盖哪些工具?

Codex、Claude Code、Hermes、OpenCode、Cursor、MCP 主机、工作树和包装会话。

详情

作者的原始描述

[omh] Lost track of agent sessions and worktrees: normalize Codex, Claude Code, Hermes, OpenCode, Cursor, MCP host, worktree, and wrapper session metadata into one drift-aware inventory. Use when the user says: harness-session-inventory, harness session inventory, session inventory, session adapter, session adapters, harness sessions, mcp inventory, mcp config inventory.

repo: rlaope/oh-my-hermes

热度

GitHub 星标
5.1k
排名
#15115
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能