Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Checks a scaffolded harness's manifest against the locally installed @metaharness/kernel version and reports version skew.
Use this skill ↓36% 95%+59 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 8 of 22 without it.
We want to check if a harness was generated from the CLI or Web UI. Is this information stored in `package.json` under `generator`, or inside `.harness/manifest.json`?
Identifies meta.surface as the manifest field path.
3 of 3 safety checks passed
Codex skill: kernel-version skew check for a scaffolded harness — the ADR-027 diagnostic UX loop.
Single-question check: does my local @metaharness/kernel match what this harness was scaffolded against? That's the cross-machine compatibility question almost every "this harness doesn't work" support ticket turns out to be.
Reads .harness/manifest.json:
| Field | Source | Meaning |
|---|---|---|
meta.surface | iter 56 | Which surface produced the harness (cli or web-ui) |
meta.kernel_version | iter 58 | The @metaharness/kernel version stamped at scaffold time |
Resolves the local @metaharness/kernel via createRequire rooted at the harness's own package.json (real Node resolution). Computes the skew verdict and prints a copy-pasteable next step.
| Verdict | Exit | Message |
|---|---|---|
match | 0 | PASS kernel versions match exactly |
patch-diff | 0 | WARN patch-level skew (usually safe; may include bugfixes) |
minor-diff | 1 | WARN minor-level skew (new kernel features may be missing) + Run: npm install @metaharness/[email protected] |
major-diff | 1 | FAIL MAJOR skew — APIs may have changed; expect breakage + Run: npm install @metaharness/[email protected] |
no .harness/manifest.json at path | 2 | FAIL no .harness/manifest.json found at this path |
/diag-harness # cwd
/diag-harness path=./my-harness
harness diag # cwd
harness diag ./my-harness # explicit path
harness diag ./my-harness --json # machine-readable for CI
harness diag ./my-harness --bundle # support-ticket JSON (iter 90)
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.