Skip to content

Multi-tier framework for evaluating AI agent skills and plugins with quality gates, security scanning, harness compatibility checks, semantic overlap detection, synthetic evaluation dataset generation, and live agent evaluation that measures how skills affect agent behavior. Ships reusable CI templates that bring every check to any repository.

docs(harness): show the harness check on its own and inside validate (#699)

Christopher Kevinc019e6f6630f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c6d82225..19cfb8cd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -360,7 +360,10 @@ All notable changes to SkillEvaluator are documented in this file.
pip-audit only.
- New **Harness Check** docs page: what `skillevaluator harness-check` reports
and how to read its panel, with real output, the detailed view and how to fix
- findings, what the rules check, and the harnesses it covers.
+ findings, what the rules check, the harnesses it covers, and how to run it on
+ its own or inside `validate`. The Tier 1 guide and the CLI reference link to it.
+ Clarify description rejection versus truncation, invocation-specific argument
+ substitution, folder-symlink target limits, and validation report/gate defaults.
- The README opens with a three-column **Get started** section: run the CLI
directly (`pip install skillevaluator`, with `uv tool install skillevaluator`
in a collapsed section, then `skillevaluator validate ./my-skill --tiers 1`),
diff --git a/docs/cli-reference.mdx b/docs/cli-reference.mdx
index 47bb2499..64e59fe4 100644
--- a/docs/cli-reference.mdx
+++ b/docs/cli-reference.mdx
@@ -440,7 +440,7 @@ skillevaluator lint-scripts ./my-skill
## harness-check
-Show whether each agent harness loads, degrades or drops a skill. This is the Tier 1 `harness` check on its own, and it is static and keyless: no agent or model runs. `TARGET_PATH` is a skill folder, a folder of skills, or a plugin folder, which also gets a plugin panel. See [Tier 1: Validation](/skills/skillevaluator/tier1-validation) for what the verdicts and rules mean.
+Show whether each agent harness loads, degrades or drops a skill. This is the Tier 1 `harness` check on its own, and it is static and keyless: no agent or model runs. `TARGET_PATH` is a skill folder, a folder of skills, or a plugin folder, which also gets a plugin panel. See [Harness Check](/skills/skillevaluator/harness-check) for a walkthrough with example output, and [Tier 1: Validation](/skills/skillevaluator/tier1-validation) for every rule.
```bash title="Check one skill against two harnesses"
skillevaluator harness-check ./my-skill --harness codex,claude-code
diff --git a/docs/harness-check.mdx b/docs/harness-check.mdx
index 5dd8041a..5d2b2923 100644
--- a/docs/harness-check.mdx
+++ b/docs/harness-check.mdx
@@ -173,11 +173,11 @@ These are the findings you are most likely to meet:
| No usable description | Codex, OpenClaw and OpenCode drop a skill without one. The others list it badly. | Add a non-empty `description` as plain text. |
| Non-canonical name | `skill.md` or `Skill.md` is not `SKILL.md`. Codex and Hermes never load it. | Rename the file to `SKILL.md`, with that exact casing. |
| Not found | The skill sits in a folder this harness does not read. | Install it in the folder the finding names, such as `.claude/skills` for Claude Code or `.agents/skills` for Codex. |
-| Symlinked `SKILL.md` skipped | Codex, Hermes and OpenClaw skip a symlinked manifest. | Copy `SKILL.md` into the folder. A symlinked folder works. |
+| Symlinked `SKILL.md` skipped | Codex, Hermes and OpenClaw skip a symlinked manifest. | Copy `SKILL.md` into the folder. If you symlink a folder, OpenClaw requires its target to stay within the skills root. |
| Description cut in the skill list | Codex cuts at 1,024 characters, Claude Code at 1,536, and Copilot CLI drops the skill past 1,024 UTF-16 units. | Put the trigger first and keep the description under 1,024 characters. |
| Skill list over budget | The skills in this folder have more description text than the harness lists. | Shorten descriptions, or install fewer skills in that folder. |
| Delivery truncated | `SKILL.md` is larger than the harness reads in one go. | Move detail into `references/` files. The tightest limit is OpenClaw, at about 15,000 characters. |
-| `$ARGUMENTS` is not substituted | Only Claude Code fills in `$ARGUMENTS` and `${CLAUDE_SKILL_DIR}`. | Describe the expected input in words, and use paths relative to `SKILL.md`. |
+| `$ARGUMENTS` is not substituted | Claude Code substitutes `$ARGUMENTS` and `${CLAUDE_SKILL_DIR}`. OpenCode also substitutes `$ARGUMENTS` through `/command`; its skill tool leaves it literal. | Describe the expected input in words, and use paths relative to `SKILL.md`. |
| `disable-model-invocation` is ignored | Codex, Hermes and OpenCode don't honour it. | For Codex, add `agents/openai.yaml` with `policy: {allow_implicit_invocation: false}`. |
<Tip>
@@ -185,6 +185,92 @@ These are the findings you are most likely to meet:
so findings for the others stay out of your way.
</Tip>
+## Two ways to run it
+
+<Tabs>
+ <Tab title="On its own">
+ Use `harness-check` when this is the only answer you want. It takes a skill
+ folder, a folder of skills, or a plugin folder. Its findings never change the
+ exit code.
+
+ ```bash
+ skillevaluator harness-check ./my-skill
+ ```
+
+ ```bash title="Only the harnesses you ship to"
+ skillevaluator harness-check ./my-skill --harness codex,claude-code
+ ```
+
+ ```bash title="Every skill in a folder"
+ skillevaluator harness-check ./skills
+ ```
+
+ ```bash title="Save the result as JSON"
+ skillevaluator harness-check ./my-skill --json harness.json
+ ```
+ </Tab>
+ <Tab title="Inside validate">
+ `validate` runs the harness check as part of Tier 1, for all six harnesses.
+ You don't have to ask for it.
+
+ ```bash
+ skillevaluator validate ./my-skill --tiers 1
+ ```
+
+ To run only the harness check, and still get the report files:
+
+ ```bash
+ skillevaluator validate ./my-skill --tiers 1 --checks harness
+ ```
+
+ ```text
+ ╭─ Tier 1 · Static & Security ─────────────────────────────────────────────────────╮
+ │ checks ! harness │
+ │ summary 1/1 checks passed │
+ │ harness 4 not loaded · 1 degraded (see below) │
+ ╰────────────────────────────────────────────────────────────────── ✓ pass · 0.1s ─╯
+ ╭─ Harness compatibility ──────────────────────────────────────────────────────────╮
+ │ ✓ claude-code ✗ codex ✗ copilot-cli ! hermes ✗ openclaw ✗ opencode │
+ │ │
+ │ ✓ claude-code loads 1 note │
+ │ ✗ codex NOT LOADED Skill dropped: invalid YAML (tabs +1 more │
+ │ or duplicate keys). │
+ │ ✗ copilot-cli NOT LOADED Skill dropped: Copilot's YAML +1 more, 1 note │
+ │ parsing is strict. │
+ │ ! hermes degraded $ARGUMENTS is not substituted: the 1 note │
+ │ model sees the literal text. │
+ │ ✗ openclaw rejected Skill dropped: invalid YAML (tabs or +1 more │
+ │ duplicate keys). │
+ │ ✗ opencode rejected Skill dropped: duplicate frontmatter +1 more, 1 note │
+ │ keys. │
+ │ │
+ │ Doesn't change pass/fail. Details and fixes: -v │
+ ╰──────────────────────────────────────────────────────────── ✗ 4 of 6 not loaded ─╯
+ ╭──────────────────────────────────────────────────────────────────────────────────╮
+ │ ✓ PASS Passed required checks · exit 0 │
+ │ Tier 1: 1 of 1 checks passed; 0 failed, 0 incomplete, 0 skipped, 0 N/A │
+ │ Tier 2: Not run (not requested) │
+ │ Tier 3: Not run (not requested) │
+ │ Publication eligibility: Incomplete │
+ │ │
+ │ ! harness: skill won't load in codex, copilot-cli, openclaw, opencode · skill │
+ │ loads degraded in hermes │
+ ╰──────────────────────────────────────────────────────────────────────────────────╯
+ ```
+
+ The run still passes. The harness check shows up in four places: `! harness`
+ in the checks line, a `harness` line in the Tier 1 summary, the same panel
+ as above, and a note in the result box. `--harness` and `-v` work here too.
+ </Tab>
+</Tabs>
+
+| | `harness-check` | `validate` |
+| --- | --- | --- |
+| Runs | Only the harness check | Selected checks in the requested tiers (default: 1, 2, 3). Dependency auditing is opt-in; use `--tiers 1` to limit the tiers |
+| Exit code | `0` whatever it finds. A usage error or a folder with no skills is nonzero | Set by the selected checks and active policy. Harness findings are advisory by default; a policy override can make them blocking |
+| Files | `--json FILE` | HTML and JSON reports by default. Choose formats with `-r`, for example `-r json,html,sarif` to include SARIF |
+| Model setup flags | Yes, see [Match your setup](#match-your-setup) | No |
+
## What it checks
The rules cover everything between your folder and the model's context.
@@ -192,11 +278,11 @@ The rules cover everything between your folder and the model's context.
| Area | What it looks for |
| --- | --- |
| Front matter | Duplicate keys, tab indentation, a UTF-8 BOM, a missing front matter block, and long custom fields that never reach the model. |
-| Description | Missing or empty descriptions, and descriptions a harness cuts in its skill list, such as Hermes at 60 characters or Copilot CLI at 1,024 UTF-16 units. |
+| Description | Missing or empty descriptions and harness limits: Hermes shortens its skill-list description to 60 characters; Copilot CLI rejects descriptions over 1,024 UTF-16 units. |
| Location | `SKILL.md` casing, nested or symlinked manifests, how deep a harness scans, and whether the skill sits in a folder the harness reads. |
| Catalog | Your skill counted with the skills installed next to it: skill-list budgets, duplicate names, and near-identical descriptions. |
| Delivery | Size limits when the model opens the skill, such as OpenCode's 51,200 bytes or 2,000 lines and Hermes's 100,000 characters. |
-| Placeholders | `$ARGUMENTS` and `${CLAUDE_SKILL_DIR}`, which only Claude Code substitutes. |
+| Placeholders | Whether `$ARGUMENTS` and `${CLAUDE_SKILL_DIR}` reach the model literally; substitution depends on the harness and invocation path. |
| Invocation | `disable-model-invocation`, `allowed-tools` and Claude Code-only fields that other harnesses ignore. |
| Gates | Hermes `platforms` and OpenClaw `metadata.openclaw.requires`, which hide the skill on hosts that don't match. |
| Plugins | Which plugin formats each harness accepts, how plugin skills are named, and components a harness registers but doesn't deliver. |
diff --git a/docs/tier1-validation.mdx b/docs/tier1-validation.mdx
index ccba7cd3..26acd8cf 100644
--- a/docs/tier1-validation.mdx
+++ b/docs/tier1-validation.mdx
@@ -272,7 +272,7 @@ For `validate`, the default set is `schema`, `version`, `security`, `pii`, `lice
</Accordion>
<Accordion title="harness — harness compatibility">
- The `harness` check reports, for each agent harness, whether the skill `loads`, is `degraded` (loads, but something is cut, hidden or ignored) or is `not_loaded`, with the rule IDs behind each verdict and the harness version and date the profile was verified against. Supported harnesses: `claude-code`, `codex`, `copilot-cli`, `hermes`, `openclaw`, `opencode`. All of this is static: no agent or model is run.
+ The `harness` check reports, for each agent harness, whether the skill `loads`, is `degraded` (loads, but something is cut, hidden or ignored) or is `not_loaded`, with the rule IDs behind each verdict and the harness version and date the profile was verified against. Supported harnesses: `claude-code`, `codex`, `copilot-cli`, `hermes`, `openclaw`, `opencode`. All of this is static: no agent or model is run. See [Harness Check](/skills/skillevaluator/harness-check) for a walkthrough with example output.
`validate` runs it by default for all six and lists its findings in the HTML, JSON and SARIF reports; JSON reports also get a `harness_compatibility` block. Use `--checks harness` to run it alone and `--harness codex,claude-code` to narrow the harnesses.