Skip to content
cccskills
FreePublished on GitHub

upgrade-harness

Drift detection + apply for a scaffolded harness. Re-renders the template with the same vars, computes added/removed/changed file plan, and applies with Git-style conflict markers or .rej files. Default is dry-run.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

upgrade-harness

Codex skill: drift detection + apply for a scaffolded harness.

What it does

Re-renders the template that produced the harness against the current generator version, using the same vars the original scaffold used. Computes a 3-bucket plan:

BucketMeaning
addedupstream template now has files the harness doesn't
removedupstream template no longer has files the harness does
changedupstream and harness differ; sub-classified clean vs conflict

A clean change means the harness's version equals the original generation — apply safely. A conflict means the user edited the file post-scaffold; the apply step writes either Git-style inline markers or a .rej sidecar for manual merge.

Usage from Codex

/upgrade-harness                                       # dry-run on cwd
/upgrade-harness path=./my-harness
/upgrade-harness path=./my-harness apply=true
/upgrade-harness path=./my-harness apply=true conflict=rej

Equivalent CLI

harness upgrade ./my-harness                           # dry-run
harness upgrade ./my-harness --apply                   # apply, inline conflicts
harness upgrade ./my-harness --apply --conflict=rej    # apply, .rej sidecars

Lifecycle position

scaffold (create-agent-harness)
    ↓
 edit (you)
    ↓
 upgrade (this skill)   <- catches up to the latest template
    ↓
 sign / verify / publish

Exit codes

CodeMeaning
0No drift OR clean apply (no conflicts)
1Unresolved conflicts after apply, OR not a generated harness, OR template missing
2Bad --conflict= value

CI workflows can gate on exit 1 to flag unresolved conflicts.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Diff 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.

The English summary is being prepared. Showing the original description.

ruvnet/metaharness713Updated Oct 21, 2026

Scaffold 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".

The English summary is being prepared. Showing the original description.

ruvnet/metaharness713Updated Oct 21, 2026

Kernel-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/kernel@X.Y.Z` next step. Exits 2 if no .harness/manifest.json at path.

The English summary is being prepared. Showing the original description.

ruvnet/metaharness713Updated Oct 21, 2026

evolve

Free

Evolve this harness with Darwin Mode — frozen model, evolving harness (real, sandboxed, safety-gated).

The English summary is being prepared. Showing the original description.

ruvnet/metaharness713Updated Oct 21, 2026

Scaffold a ready-made AI agent harness in one command from the 19 published @metaharness/* example packages — 9 host integrations (Claude Code, Codex, Hermes, pi.dev, OpenClaw, RVM, Copilot, OpenCode, GitHub Actions) + 10 vertical pods (devops, research, trading, support, legal, coding, education, sales, gaming, repo-maintainer).

The English summary is being prepared. Showing the original description.

ruvnet/metaharness713Updated Oct 21, 2026

GCP Secret Manager integration: validate setup, fetch values, or confirm an NPM_TOKEN is non-revoked via `npm whoami`. Used for publish-time token rotation without long-lived keys in CI.

The English summary is being prepared. Showing the original description.

ruvnet/metaharness713Updated Oct 21, 2026

See all skills by ruvnet

Report a problem with this skill