Hermes Continuation Maintainer
/install hermes-continuation-maintainer
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.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install hermes-continuation-maintainer - 安装完成后,直接呼叫该 Skill 的名称或使用
/hermes-continuation-maintainer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 45 次。
如何安装 Hermes Continuation Maintainer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install hermes-continuation-maintainer」即可一键安装,无需额外配置。
Hermes Continuation Maintainer 是免费的吗?
是的,Hermes Continuation Maintainer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Hermes Continuation Maintainer 支持哪些平台?
Hermes Continuation Maintainer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Hermes Continuation Maintainer?
由 hollis9087(@hollis9087)开发并维护,当前版本 v0.1.0。