All plugins

skillcheck

CI for agent skills: snapshots the pre-write state of skill writes arriving through Hermes's in-band tool surface (skill_manage create/edit/patch/write_file/remove_file/delete and write_file/patch/edit_file into the skills dir; hooks observe landed writes, no pre-write blocking; creates have no prior state, out-of-band edits are detected at run time but carry no snapshot), LLM-generates regression cases as human-review drafts, re-runs them against the candidate revision in child sessions launched through the Hermes subagent lifecycle API with allowed_toolsets=() (no file, shell, browser or network tools; timed-out children get a cancellation request whose accepted/refused outcome is reported), and reports GREEN / REGRESSION / FIRST-RUN. Promotion and revert are user-invoked only (slash command or CLI; not registered as model tools), and revert validates the skill name, stays strictly inside the skill folder, skips dotfiles and restores byte-exact snapshots. Disclosure — reads your skills directory and stores pre-edit snapshots of skill files plus its own state in its plugin data folder; /skillcheck revert (user-run only) deletes and rewrites files inside that one skill's folder to restore the snapshot, keeping the pre-revert state as another snapshot; case generation and the optional judge call the session's configured model.

neta-gym1Toolsv0.2.1Updated 21 days ago

About

CI for agent skills: snapshots the pre-write state of skill writes arriving through Hermes's in-band tool surface (skill_manage create/edit/patch/write_file/remove_file/delete and write_file/patch/edit_file into the skills dir; hooks observe landed writes, no pre-write blocking; creates have no prior state, out-of-band edits are detected at run time but carry no snapshot), LLM-generates regression cases as human-review drafts, re-runs them against the candidate revision in child sessions launched through the Hermes subagent lifecycle API with allowed_toolsets=() (no file, shell, browser or network tools; timed-out children get a cancellation request whose accepted/refused outcome is reported), and reports GREEN / REGRESSION / FIRST-RUN. Promotion and revert are user-invoked only (slash command or CLI; not registered as model tools), and revert validates the skill name, stays strictly inside the skill folder, skips dotfiles and restores byte-exact snapshots. Disclosure — reads your skills directory and stores pre-edit snapshots of skill files plus its own state in its plugin data folder; /skillcheck revert (user-run only) deletes and rewrites files inside that one skill's folder to restore the snapshot, keeping the pre-revert state as another snapshot; case generation and the optional judge call the session's configured model.

skillcheck

CI for Hermes agent skills. Hermes learns skills as it works; nothing checks
that a new or edited skill still does what the old one did. skillcheck closes
that loop:

  1. Watch - plugin hooks (pre_tool_call / post_tool_call on
    skill_manage and on file writes into the skills directory, plus the
    on_skill_lifecycle hook) notice supported in-band skill edits and
    snapshot the previous revision when one exists (a create has no prior
    state; out-of-band edits are detected by revision hash at run time,
    without a snapshot). Watching never blocks or modifies a write.
  2. Pin - skillcheck_generate drafts synthetic regression cases from the
    skill's own definition: a brief, self-contained fixture data, deterministic
    checks (contains / not_contains / regex), and an optional LLM-judge
    rubric for what can't be checked deterministically. Cases are drafts until
    you review them (skillcheck_cases).
  3. Test - skillcheck_run re-runs the cases against the skill's current
    on-disk revision. Each case executes in a fresh child session launched
    through Hermes's public Subagent Lifecycle API with allowed_toolsets=()
    (no file, shell, browser or network tools) and fixtures inlined in the
    prompt, so tests cannot touch real state.
  4. Decide - every run reports GREEN / REGRESSION / FIRST-RUN /
    INCONCLUSIVE against the promoted baseline, with per-case evidence.
    /skillcheck promote accepts a run as the new baseline (refuses runs with
    inconclusive cases). /skillcheck revert restores the last pre-write
    snapshot - manually, and only after snapshotting the current state so the
    revert is itself reversible. Promote and revert are user-invoked only
    (slash command or CLI); they are not registered as model tools.

A REGRESSION verdict requires a promoted baseline: the case passed then and
fails now. The plugin never calls anything a regression on first sight, never
blocks a write, and never rewrites a skill on its own.

Usage

In a session: /skillcheck status, /skillcheck generate <name>,
/skillcheck cases <name>, /skillcheck run <name>,
/skillcheck promote <name>, /skillcheck revert <name>.

Ask the agent and it can use the four registered tools (skillcheck_status,
skillcheck_generate, skillcheck_cases, skillcheck_run). Promote and
revert are NOT model tools - only you can run them, via the slash command or
the CLI.

From the shell: hermes skillcheck status, hermes skillcheck cases <name>,
hermes skillcheck promote <name>, hermes skillcheck revert <name>.

Honest limits

  • Child sessions share the real environment; safety comes from narrowed
    toolsets plus inline synthetic fixtures, not a sandbox.
  • Subagent launch works only inside an active agent turn, so runs are
    on-demand (slash command / tool), not a background daemon.
  • Terminal results are bounded (~32k chars, no transcripts) - cases assert on
    the final deliverable, not intermediate steps.
  • Hooks are fail-open by platform contract; skillcheck observes, it does not
    gate synchronously.
  • Judged checks are labeled JUDGE in every report and an unavailable judge is
    INCONCLUSIVE, never a pass.
  • Snapshots are taken only for writes the plugin observes (skill_manage /
    write_file / patch through the Hermes tool pipeline, or the
    on_skill_lifecycle hook). Edits made outside Hermes (an editor, sed, git)
    are still DETECTED at the next run (the revision hash changes, so a
    REGRESSION verdict still fires) but there is no pre-write snapshot for
    skillcheck_revert to restore; it reports that honestly instead of
    guessing.
  • Skill names are validated everywhere (every tool and hook) against
    Hermes's skill-name rule - letters, digits, ., _, -; no separators,
    no .., no leading dot - and must resolve strictly inside the skills
    directory. Revert deletes and writes only inside that validated folder,
    skips dotfiles (they are never snapshotted), refuses symlink escapes, and
    restores bytes exactly, so non-UTF-8 files survive a round trip.
  • Generated cases are drafts for human review. Cases whose "fixtures" look
    like a filename instead of inline data are flagged at generation, in
    skillcheck_cases, and in every run report (child sessions cannot open
    files). Review/repair drafts before promoting a baseline.
  • The LLM judge needs a capable model: judge no-verdict is always
    INCONCLUSIVE (never a pass), and small free-tier models may fail as
    judges while their deterministic contains/regex checks work fine.
  • A wait timeout stops skillcheck waiting, then requests cancellation of the
    child session via the lifecycle API so a timed-out case does not keep
    working in the background; the cancel outcome (accepted or refused, e.g.
    when the run finished concurrently) is reported in the case detail.

Development

uv run --with pytest python -m pytest tests/ -q

Run this from a checkout whose directory is named skillcheck (the default
clone name): the repo root carries the plugin's __init__.py, and pytest's
default import mode needs the root directory name to be a valid Python
identifier.

Admission check (same one the catalog CI runs):

hermes plugins validate /path/to/skillcheck

README from the reviewed commit 501cc11; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section