hermes-debug

hermes-debug is a skill for Claude Code, Codex from davidgut1982/hermes-toolkit. It costs 162 tokens per session (1,538 once invoked), scanned B, original, MIT.

A troubleshooting guide for a misbehaving Hermes installation, including stale code, ineffective configuration, missing tools, and provider errors.

In plain words
What is it for?
Use it to investigate old code still running, configuration changes being ignored, model or provider 404 errors, unexpected delegated calls, missing tools, weather lookup failures, or restart issues.
Why use it?
It gives a fixed order of checks for diagnosing recurring installation, runtime, model, tool, weather, and gateway problems.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/davidgut1982/hermes-toolkit/hermes-debug
Any agent
npx skills add davidgut1982/hermes-toolkit --skill hermes-debug
Clone the repo
git clone --depth 1 https://github.com/davidgut1982/hermes-toolkit

Made for: Claude Code, Codex.

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 hermes-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidgut1982/hermes-toolkit/hermes-debug.svg)](https://agentmods.dev/skills/davidgut1982/hermes-toolkit/hermes-debug)
Your own site
<a href="https://agentmods.dev/skills/davidgut1982/hermes-toolkit/hermes-debug"><img src="https://agentmods.dev/badge/skills/davidgut1982/hermes-toolkit/hermes-debug.svg" alt="Measured on agentmods" height="20"></a>
Per session 162 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,538 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00162 $0.01538
Opus 5 $0.00081 $0.00769
Sonnet 5 $0.00032 $0.00308
Haiku 4.5 $0.00016 $0.00154

Measured 3d ago against content hash 04c97836e3ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

hermes-debug scanned grade B with 1 finding 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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/hermes-triage.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo ~/.claude/skills/hermes-debug/scripts/hermes-triage.sh
skills/hermes-debug/SKILL.md · 105 lines

How it starts

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

Hermes Debug

A misbehaving Hermes install almost always traces to one of eight known causes. Work the checklist in order — each step is cheap and the early ones catch the most common (and most destructive) faults. Stop at the first one that explains the symptom.

Run the fast triage first; it answers steps 1, 2, and 7 in one shot (env-overridable; defaults to the author's homelab setup):

sudo ~/.claude/skills/hermes-debug/scripts/hermes-triage.sh

On this install, ops uses the cluster-ops MCP (service_status, journal_tail, disk_usage, docker_ps, exec_raw, cluster_snapshot) — terminal AND code_execution are in agent.disabled_toolsets, so shelling out from the agent will not fire. Substitute your own ops mechanism if yours aren't disabled.

The ordered checklist

# Symptom Check Fix
1 Old behavior persists; code "didn't change"; weird crashes after dev work git -C /opt/hermes/home/.hermes/hermes-agent branch --show-current must be integrated. If not, git checkout integrated + pip install -e .. #1 gotcha — editable install: the branch IS the running code.
2 Config edit had no effect on one surface which file did you edit? TWO config files drift — fix BOTH (see below).
3 Model returns 404 / provider error profile's provider + model valid? provider must exist; deepseek profiles need provider: openrouter; check credential-pool contamination. references/provider-routing.md.
4 A status check costs 6-17 model calls / times out was it delegated? simple ops must go DIRECT to a cluster-ops tool, never delegate_task. references/delegation-explosion.md.
5 Extra discovery round-trips before a tool fires is tool_search deferring the needed tool? pin frequently-used tools so they aren't deferred behind the bridge stubs.
6 Same prompt fast interactively, slow as a one-shot warm vs cold path cold one-shot CLI re-inits MCP every run; benchmark the warm gateway/interactive path.
7 hermes gateway stop/status says no gateway, but it's running PID/lock symlinks recreate the symlinks (see below).
8 Runs feel throttled / truncated reasoning reasoning_effort setting check the profile's reasoning_effort isn't choking the model.
"which city?" on a bare weather query identity/profile context stripped the Woodstock default needs context files injected; don't skip_context_files.

Read the full file on GitHub · 105 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 105 lines · 162 tokens per session scan B 04c97836e3ab

Subscribe to this mod's changes

hermes-debug is a skill published in the GitHub repository davidgut1982/hermes-toolkit (2 stars, last pushed 2mo ago), licensed MIT. It adds 162 tokens to every session and 1,538 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens