← Back to Skills Marketplace
huangrichao2020

Hermes Agent Health Check

by huangrichao2020 · GitHub ↗ · v1.1.2 · MIT-0
cross-platform ✓ Security Clean
58
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install hermes-agent-health-check
Description
Audit a NousResearch/hermes-agent checkout or fork for Hermes-specific runtime-contract drift, command-surface splits, memory/skill/gateway health, and agent...
README (SKILL.md)

Hermes Agent Health Check

Audit the architecture and health of a Hermes Agent checkout, fork, or deployment support repo.

Hermes Agent has a connected runtime: agent loop, command registry, CLI, TUI, gateway, skills, memory, cron, tools, plugins, and terminal environments. hermescheck helps keep those surfaces aligned.

When to Use

  • You are preparing a Hermes Agent PR and want a repeatable architecture review
  • A Hermes fork works in CLI but not gateway, TUI, skills, cron, or plugins
  • A new slash command risks drifting across surfaces
  • A tool or environment change needs clearer capability boundaries
  • Memory, session search, or skill behavior regressed after a refactor
  • Startup paths or background jobs became hard to reason about

Quick Start

pip install hermescheck
hermescheck /path/to/hermes-agent

Produces audit_results.json and audit_report.md.

The 12-Layer Stack

# Layer What Goes Wrong
1 System prompt Conflicting instructions, instruction bloat
2 Session history Stale context from previous turns
3 Long-term memory Pollution across sessions
4 Distillation Compressed artifacts re-entering as pseudo-facts
5 Active recall Redundant re-summary layers wasting context
6 Tool selection Wrong tool routing, model skips required tools
7 Tool execution Hallucinated execution — claims to call but doesn't
8 Tool interpretation Misread or ignored tool output
9 Answer shaping Format corruption in final response
10 Platform rendering UI/API/CLI mutates valid answers
11 Hidden repair loops Silent fallback/retry agents running second LLM pass
12 Persistence Expired state or cached artifacts reused as live evidence

Audit Scanners

# Scanner Severity What It Catches
1 Hardcoded Secrets critical API keys, tokens, credentials in source code
2 Tool Enforcement Gap high "Must use tool X" in prompt but no code validation
3 Hidden LLM Calls high Secret second-pass LLM calls in fallback/repair loops
4 Unrestricted Code Execution critical exec(), eval(), subprocess(shell=True) without sandbox
5 Static Bug Inference high Code-level bug patterns inferred without runtime execution
6 Token Usage Budget high Large default context windows, full-history prompts, missing thrift controls
7 Memory Lifecycle Governance medium Memory without types, lifecycle, retrieval budgets, decay, or evidence pointers
8 RAG Pipeline Governance medium Retrieval without chunk, top-k, rerank, ingestion, or context budget controls
9 Self-Evolution Capability high Learning loops without external signals, source reading, constraint fit, safe landing, or verification
10 Loop Safety Budget high Tool/agent loops without max-iteration, retry budget, stuck-job, or duplicate-call controls
11 Plugin / Remote Tool Boundary high Executable plugins and MCP/OpenAPI tools without sandbox, schema, allowlist, or approval boundaries
12 Output Pipeline Mutation medium Response transformation corrupting correct answers
13 Missing Observability medium No tracing, logging, cost tracking, or audit trail

Severity Model

Level Meaning
critical Agent can confidently produce wrong operational behavior
high Agent frequently degrades correctness or stability
medium Correctness usually survives but output is fragile or wasteful
low Mostly cosmetic or maintainability issues

Fix Strategy

Default fix order (code-first, not prompt-first):

  1. Code-gate tool requirements — enforce in code, not just prompt text
  2. Remove or narrow hidden repair agents — make fallback explicit with contracts
  3. Reduce context duplication — same info through prompt + history + memory + distillation
  4. Tighten memory admission — user corrections > agent assertions
  5. Tighten distillation triggers — don't compress what shouldn't be compressed
  6. Reduce rendering mutation — pass-through, don't transform
  7. Convert to typed JSON envelopes — structured internal flow, not freeform prose

Report Schema

Reports follow a formal JSON Schema (see references/report-schema.json) with:

  • overall_health: critical_risk | high_risk | medium_risk | low_risk
  • findings: array of severity-ranked issues with evidence refs
  • maturity_score: positive signal ledger, penalty ledger, score formula, and expected recovery directions
  • ordered_fix_plan: prioritized fix steps with rationale

Anti-Patterns to Avoid

  • ❌ Saying "the model is weak" without falsifying the wrapper first
  • ❌ Saying "memory is bad" without showing the contamination path
  • ❌ Letting a clean current state erase a dirty historical incident
  • ❌ Treating markdown prose as a trustworthy internal protocol
  • ❌ Accepting "must use tool" in prompt text when code never enforces it

Related

Usage Guidance
This skill is coherent and appears to do what it says: run the hermescheck scanner against a Hermes Agent repo. The main operational risk is installing and executing a third‑party Python package from PyPI. Before running: (1) inspect the hermescheck source on its GitHub repo and/or pin a known-good release; (2) install and run it in an isolated environment (virtualenv, container, or VM); (3) run it on a copy of the repo or a sanitized snapshot if your repo contains secrets (scan output can include evidence of secrets); (4) prefer running from a local clone (python -m hermescheck ./path) instead of blindly pip-installing system-wide; and (5) if you plan to let an autonomous agent invoke this skill, restrict that agent’s scope and review any generated report files before sharing externally. If you want a higher assurance, provide the hermescheck package source for manual review or run the tool in a fully offline, sandboxed environment.
Capability Analysis
Type: OpenClaw Skill Name: hermes-agent-health-check Version: 1.1.2 The skill bundle describes a security and architecture auditing tool called 'hermescheck' designed for the Hermes Agent framework. The files (SKILL.md, README.md, and code-patterns.md) contain instructions for performing health checks, a JSON schema for structured reporting, and a comprehensive list of regex patterns used to detect vulnerabilities such as hardcoded secrets, unsafe code execution (exec/eval), and logic flaws. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found; the bundle is consistently aligned with its stated purpose of improving agent stability and security.
Capability Tags
cryptorequires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The name, description, README, and SKILL.md all consistently describe an architecture-and-health scanner for NousResearch/hermes-agent checkouts. The instructions (install hermescheck and run it against a repo path) are aligned with that stated purpose; nothing in the package requires unrelated credentials or binaries.
Instruction Scope
The runtime instructions are narrowly focused: install the hermescheck package and run it against a Hermes Agent checkout, producing local report files (audit_results.json, audit_report.md). The instructions do not request unrelated env vars or system-wide reads. However, running the recommended commands will cause third-party code to read the target repo contents (intended) and write report files; those reports can contain sensitive evidence (e.g., discovered secrets), so you should not run it directly against production repositories with unredacted secrets.
Install Mechanism
The skill is instruction-only (no install spec embedded), but the Quick Start tells users to 'pip install hermescheck' (PyPI) and run it. Installing and executing a PyPI package runs third-party code on your system — a normal and expected behavior for developer tools but carries standard supply-chain risk. The README points to a GitHub origin which helps verification. Risk is moderate: verify package ownership, inspect source, or run in an isolated VM/virtualenv.
Credentials
The skill declares no required env vars, binaries, or config paths, which is proportional to a static/structural code scanner. Be aware that hermescheck scanners look for patterns related to network calls, hidden LLM invocations, exec/eval, etc.; the scanner itself could be extended to make network calls or require credentials in some profiles, but nothing in SKILL.md requests unrelated secrets.
Persistence & Privilege
The skill does not request persistent presence (always:false), does not declare config paths, and is user-invocable. There is no evidence it attempts to modify other skills or system-wide agent settings. Autonomous invocation is allowed by platform default but is not combined with other red flags here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install hermes-agent-health-check
  3. After installation, invoke the skill by name or use /hermes-agent-health-check
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.2
Align hermescheck with agchk 1.1.2: token-usage budget scanner, static bug inference, runtime safety scanners, detailed score ledger, and VS Code extension wrapper.
Metadata
Slug hermes-agent-health-check
Version 1.1.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Hermes Agent Health Check?

Audit a NousResearch/hermes-agent checkout or fork for Hermes-specific runtime-contract drift, command-surface splits, memory/skill/gateway health, and agent... It is an AI Agent Skill for Claude Code / OpenClaw, with 58 downloads so far.

How do I install Hermes Agent Health Check?

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

Is Hermes Agent Health Check free?

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

Which platforms does Hermes Agent Health Check support?

Hermes Agent Health Check is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Hermes Agent Health Check?

It is built and maintained by huangrichao2020 (@huangrichao2020); the current version is v1.1.2.

💬 Comments