Runs five release-readiness checks for a scaffolded harness: doctor, witness verify, hardcoded-path scan, MCP server config, and GCP Secret Manager validation. Exits non-zero on failure.
Ships in metaharness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Codex skill that runs the 5 release-readiness gates from
harness validate.
| # | Check | What it does |
|---|---|---|
| 1 | doctor | File shape + manifest sha256 + at-least-one host artifact |
| 2 | verify | Witness manifest signature (Ed25519) — skipped if no witness yet |
| 3 | path-guard | Scans your TS/JS/Rust files for hardcoded /tmp/, C:\, /Users/, /home/ — the original Windows /tmp bug regression class |
| 4 | mcp | .mcp/servers.json entries have name + command |
| 5 | secrets | gcloud auth list + project + NPM_TOKEN exist in GCP Secret Manager |
Each check reports PASS / FAIL / WARN with a one-line detail. Exits 1 if any FAIL.
/validate-harness
/validate-harness path=./my-harness
/validate-harness path=./my-harness skip_gcp=true
/validate-harness secret=NPM_TOKEN_DEV
harness validate ./my-harness --skip-gcp --secret=NPM_TOKEN_DEV
Before iter 20, you needed to remember to run harness doctor, harness verify, harness secrets check, and node scripts/path-guard.mjs separately. This is the single release-readiness gate.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/metaharness:validate-harnessfrom metaharness
npx claudepluginhub ruvnet/metaharness --plugin metaharness14 skills in this plugin
/compare-harnessesDiff two scaffolded harnesses (ADR-031). Reports manifest meta drift + host list + per-file fingerprint changes (added/removed/changed). Exits 0 IDENTICAL, 1 DRIFT, 2 missing manifest. Use --bundle for the ADR-031 schema-1 JSON envelope./create-harnessScaffold your own focused AI agent harness — pick host (Claude Code, Codex, pi.dev, Hermes), template, agents, skills, and ship a npm-publishable harness with its own npx CLI. Use when a user asks to "create my own agent harness", "scaffold a harness", "make a custom Claude Code plugin like ruflo", or "build a vertical AI assistant for X"./diag-harnessKernel-version skew check (ADR-027). Reports manifest surface + manifest kernel + installed kernel + verdict (match/patch-diff/minor-diff/major-diff). Exits 1 on minor/major skew with a copy-pasteable `npm install @metaharness/[email protected]` next step. Exits 2 if no .harness/manifest.json at path.Other plugins' skills for the same job