omh-agent-debug

omh-agent-debug is a skill for Claude Code from rlaope/oh-my-hermes. It costs 20 tokens per session (1,777 once invoked), scanned A, original, MIT.

A workflow for investigating why an agent is looping or behaving incorrectly, using only the evidence available about its run. It prepares a structured debugging response and identifies missing information or authority.

In plain words
What is it for?
Capturing the cause of repeated agent tool calls, organizing debugging context, and preparing a small, safe recovery action when the required evidence is available.
Why use it?
Agent failures can be confusing when the cause is hidden in repeated tool calls or incomplete context. This provides an evidence-bounded way to understand the problem without claiming that unseen actions occurred.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Good fit Capturing the cause of repeated agent tool calls, organizing debugging context, and preparing a small, safe recovery action when the required evidence is available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rlaope/oh-my-hermes/omh-agent-debug
About the project

oh-my-hermes is an operating layer for Hermes Agent that organizes requests into workflows for planning, research, creation, coding handoffs, operations, and project memory. Hermes users run these workflows through the desktop app, CLI, or messenger app, while the catalogue add-ons extend its native capabilities.

rlaope/oh-my-hermes · 6,237 stars · on GitHub · omher.app

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rlaope/oh-my-hermes --skill omh-agent-debug
Clone the repo
git clone --depth 1 https://github.com/rlaope/oh-my-hermes

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for omh-agent-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/rlaope/oh-my-hermes/omh-agent-debug/github.svg)](https://agentmods.dev/skills/rlaope/oh-my-hermes/omh-agent-debug)
Your own site
<a href="https://agentmods.dev/skills/rlaope/oh-my-hermes/omh-agent-debug"><img src="https://agentmods.dev/badge/skills/rlaope/oh-my-hermes/omh-agent-debug/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for omh-agent-debug

Your own site · 80×15
<a href="https://agentmods.dev/skills/rlaope/oh-my-hermes/omh-agent-debug"><img src="https://agentmods.dev/badge/skills/rlaope/oh-my-hermes/omh-agent-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,777 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.01777
Opus 5.5 $0.00008 $0.00711
Sonnet 5.5 $0.00004 $0.00355
Haiku 4.5 $0.00002 $0.00178

Measured 11d ago against content hash 96fddaacb8cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

omh-agent-debug scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agent-skills/omh-agent-debug/SKILL.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Debug

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

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.

Do Not Use When

  • The misbehaving thing is application code the agent only called, not the agent's own run; use omh-app-debugging.
  • The request is install or gateway health rather than one agent run.
  • A diagnosis would need the user's session read, a rerun, or an export and they have not agreed; ask first.

Examples

Good example:

  • Prompt: agent-debug capture why this agent is looping on the same tool and prepare the smallest safe recovery action.
  • Expected behavior: Produce prepare_agent_debug 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: agent-debug silently reset the executor, patch the environment, and claim the future loop is fixed.
  • 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

  • Failure state, intended goal, recent tool sequence, and context pressure are captured.
  • Diagnosis distinguishes repeated command/tool loops, context drift, environment mismatch, service errors, and wrong-hypothesis tests.
  • Recovery action is contained, reversible, and does not claim implementation, verification, CI, merge, or future-loop fixes.

Recovery Notes

  • If the request is install/setup health, it is outside this skill.
  • If the request is a manager status or throughput review, route to omh-agent-ops-review.
  • If the request is a durable self-improvement record after diagnosis, it is outside this skill.

Read the full file on GitHub · 128 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago Changed · -16 tokens per session 96fddaacb8cb
  2. 18d ago Changed · -40 tokens per session 68e5f5676465
  3. 23d ago Changed dabb3cebae4d
  4. 24d ago Changed · -1 lines 22fddbccae2b
  5. 1mo ago Changed bcf8fc9ae02c
  6. 1mo ago Changed 974065830e0f
  7. 1mo ago Changed · +1 lines 359803740733
  8. 1mo ago Changed 53632fef57da
  9. 1mo ago Changed · +1 lines eec3d6d37b11
  10. 1mo ago First seen · 127 lines · 76 tokens per session scan A 2da387aca391

Subscribe to this mod's changes

omh-agent-debug is a skill published in the GitHub repository rlaope/oh-my-hermes (6,237 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 1,777 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

omh-agent-debug compared with skills from other repositories

omh-agent-debug next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
omh-agent-debugrlaope/oh-my-hermesSkill6.2ktodayMITA20Claude Code
cloudflare-troubleshootingseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA27Claude Code, Codex
azure-diagnosticsseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA22Claude Code, Codex
kubernetes-specialistseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA34Claude Code, Codex
python-performanceseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA38Claude Code, Codex
doubt-driven-developmentseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA25Claude Code, Codex
debugging-and-error-recoveryseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA33Claude Code, Codex