← Back to Skills Marketplace
hollis9087

Hermes Continuation Maintainer

by hollis9087 · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
45
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install hermes-continuation-maintainer
Description
Diagnose and repair Hermes Agent runs that silently stop and require manual "continue" messages even though no user input is needed. Use this skill when Herm...
README (SKILL.md)

Hermes Continuation Maintainer

Use this skill for one narrow failure mode: Hermes ends a turn after a short non-final work-status message instead of continuing with tool calls.

The usual root cause is control-loop classification, not machine slowness:

  • The provider returns visible assistant text with finish_reason=stop.
  • The text says what Hermes will do next, but it is not a final answer and does not ask the user for input.
  • The conversation loop treats that stop as terminal, so Hermes waits silently.
  • A later user "continue" message proves the previous stop was premature.

Use The Scanner First

Run the bundled scanner from the Hermes WSL distro:

python3 \x3Cskill_dir>/scripts/scan_hermes_continuation.py --since-minutes 360 --format text

Default paths used by the scanner:

  • log: /root/.hermes/logs/agent.log
  • state DB: /root/.hermes/state.db

The scanner emits deterministic classifications:

  • continuation_candidate: likely premature stop; patch or extend tests.
  • asks_user: valid stop; do not auto-continue.
  • final_or_summary: valid completion or summary; do not patch.
  • review: inspect manually before changing code.

Patch Policy

Patch only after the scanner finds concrete phrase families in recent logs. Keep the change local and regression-tested.

Known Hermes files:

  • /usr/local/lib/hermes-agent/agent/agent_runtime_helpers.py
  • /usr/local/lib/hermes-agent/agent/conversation_loop.py
  • /usr/local/lib/hermes-agent/run_agent.py
  • /usr/local/lib/hermes-agent/tests/run_agent/test_run_agent.py

The continuation heuristic should require all of these:

  • an execution-oriented recent user prompt, previous tool activity, or a known continuation context;
  • a short assistant text stop with future-action language;
  • an action term such as read, inspect, run, test, execute, update, write, patch, fix, implement, or verify.

The heuristic must reject:

  • questions or clarification requests;
  • text that asks the user to provide information;
  • true final answers such as done, completed, finished, or all tests passed;
  • long summaries.

Minimum Regression Checks

Run focused tests before reporting success:

cd /usr/local/lib/hermes-agent
PYTHONDONTWRITEBYTECODE=1 venv/bin/python -m pytest -q \
  tests/run_agent/test_run_agent.py::test_run_conversation_continues_after_nonfinal_work_status_after_tools \
  tests/run_agent/test_run_agent.py::test_run_conversation_continues_after_chinese_future_action_status \
  tests/run_agent/test_run_agent.py::test_run_conversation_does_not_continue_when_status_requests_user_input

PYTHONDONTWRITEBYTECODE=1 venv/bin/python -m pytest -q \
  tests/run_agent/test_run_agent_codex_responses.py::test_run_conversation_codex_continues_after_ack_stop_message \
  tests/run_agent/test_run_agent_codex_responses.py::test_run_conversation_codex_continues_after_ack_for_directory_listing_prompt

PYTHONDONTWRITEBYTECODE=1 venv/bin/python -m py_compile \
  agent/agent_runtime_helpers.py agent/conversation_loop.py run_agent.py tests/run_agent/test_run_agent.py

Runtime Handling

Code edits do not hot-load into already-running interactive Hermes CLI processes. Tell the user to exit and reopen stale CLI sessions. Do not kill interactive Hermes CLI processes unless explicitly asked.

Gateway and Dashboard can be restarted separately if they are down, but that is a different problem from continuation stalls.

Report Format

Keep the report short:

  • root cause;
  • scanner counts and phrase families found;
  • files changed;
  • tests run;
  • whether an old CLI process still needs restart.
Usage Guidance
Install only if you intentionally want an agent to inspect Hermes logs/state and potentially patch the local Hermes installation. Review scanner output because it may include snippets from prior conversations, and apply code changes only after the scanner shows relevant continuation-stall evidence.
Capability Assessment
Purpose & Capability
The stated purpose, bundled scanner, and repair instructions all align around diagnosing premature Hermes text-stop continuation stalls.
Instruction Scope
Instructions are narrow: run the scanner, patch only after concrete log evidence, reject user-input/final-answer cases, run focused regression tests, and report concise results.
Install Mechanism
The artifact contains only a SKILL.md and one local Python scanner script; no package install hooks, dependency installation, network fetches, or auto-run behavior were found.
Credentials
The scanner reads /root/.hermes/logs/agent.log and /root/.hermes/state.db, which is proportionate for diagnosing Hermes stalls but may expose local conversation snippets in output.
Persistence & Privilege
The skill may guide edits under /usr/local/lib/hermes-agent to change Hermes control-loop behavior, but this is disclosed, scoped to the diagnosed bug, and paired with tests and restart guidance.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install hermes-continuation-maintainer
  3. After installation, invoke the skill by name or use /hermes-continuation-maintainer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial lightweight scanner and continuation-stall repair workflow.
Metadata
Slug hermes-continuation-maintainer
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Hermes Continuation Maintainer?

Diagnose and repair Hermes Agent runs that silently stop and require manual "continue" messages even though no user input is needed. Use this skill when Herm... It is an AI Agent Skill for Claude Code / OpenClaw, with 45 downloads so far.

How do I install Hermes Continuation Maintainer?

Run "/install hermes-continuation-maintainer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Hermes Continuation Maintainer free?

Yes, Hermes Continuation Maintainer is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Hermes Continuation Maintainer support?

Hermes Continuation Maintainer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Hermes Continuation Maintainer?

It is built and maintained by hollis9087 (@hollis9087); the current version is v0.1.0.

💬 Comments