Omh agent debug

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

Omh agent debug is an AI agent skill from the GitHub repository rlaope/oh-my-hermes. [omh] Agent is stuck, looping, or drifting: capture a stuck, looping, drifting, or repeatedly failing agent run, diagnose the likely failure pattern, and prepare the smallest safe recovery action. Use when the user says: agent-debug, agent debug, agent debugging, agent introspection, agent self-debu

How to use this skill

Skill file

Agent Debug

Required: session id or record path, and the turn range if known, what the user expected the run to do, and what they saw instead, the one thing to measure (the --observable kind: looping, repeated_work, goal_drift, context_loss, tool_stall, unexpected_cost). Output: agent_debug_report/v1, agent_failure_capture/v1, agent_failure_pattern_hypothesis/v1, contained_recovery_action/v1.

Why This Exists

agent-debug exists because an agent that loops, drifts, or burns tokens is explained by its session record (tool errors, identical retries, compaction boundaries, silent turn ends), not by the latest symptom or by memory of what happened.

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

Workflow Lane

When to Use

Use when an agent run is stuck, looping on tools, burning tokens without progress, drifting from the objective, losing context, or failing on recoverable environment/tool assumptions.

Strong routing signals: agent-debug, agent debug, agent debugging, agent introspection, agent self-debug, self-debug, self debugging, looping agent, agent loop failure, agent run stuck, agent failure capture, tool retry loop, repeated tool calls, context drift, prompt drift, token burn, 에이전트 디버그, 에이전트 실패, 에이전트 반복 실패, 반복 실패, 도구 반복, 컨텍스트 드리프트, 토큰 낭비, агент зациклился, агент завис, агент повторяет одно и то же, агент снова упал

Catalog Metadata

Category: operations

Phase: agent-debug

Hermes role: operator

Quality tier: workflow-surface-gated

Reasoning demand: light

Quality bar:

Handoff policy:

Keep this as Hermes-facing orchestration guidance first. Prepare executor, connector, gateway, or host-runtime handoff only when the user accepts that next step and observed evidence can be recorded.

Safety rules:

Completion Checklist

Recovery Notes

Runtime Evidence

Preferred harness for this skill: agent-debug.

omh runtime record --skill agent-debug --harness agent-debug --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.