Scaffolds a ready-made AI agent harness from 18 published @metaharness/* packages covering 9 host integrations and 10 vertical workflows.
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.
One-command scaffolding from the 18 published @metaharness/* example
packages — the fastest path from a use-case to a working harness, no
template/host flags to remember.
Where create-harness walks the full wizard, this
skill maps a use-case straight onto a published npm wrapper. Each wrapper
shells out to metaharness@latest with the correct --template + --host
flags, so the result is byte-identical to the full CLI invocation.
mkdir -p ~/.codex/skills/example-harness
curl -fsSL https://raw.githubusercontent.com/ruvnet/agent-harness-generator/main/.codex/skills/example-harness/skill.toml \
-o ~/.codex/skills/example-harness/skill.toml
No MCP server needed — the wrapper packages run via npx.
/example-harness
Codex prompts for the package + a directory name, then runs:
npx --yes @metaharness/<package>@latest <name>
Host integrations (scaffold a workspace wired for one runtime)
| Package | Scaffolds |
|---|---|
@metaharness/claude-code | Claude Code workspace + plugin |
@metaharness/codex | OpenAI Codex |
@metaharness/hermes | Hermes cli-config |
@metaharness/pi-dev | pi.dev AGENTS.md |
@metaharness/openclaw | OpenClaw .openclaw/ |
@metaharness/rvm | RVM deployment partition |
@metaharness/copilot | VSCode / Copilot mcp.json |
@metaharness/opencode | OpenCode .opencode/ |
@metaharness/github-actions | GitHub Actions CI/CD (non-interactive) |
Vertical workflows (ready-made multi-agent pods)
| Package | Scaffolds |
|---|---|
@metaharness/devops | incident response |
@metaharness/research | multi-source dossier |
@metaharness/trading | quant trading (paper-by-default) |
@metaharness/support | customer support |
@metaharness/legal | contract redline (drafts only) |
@metaharness/coding | engineering pod |
@metaharness/education | tutor pod |
@metaharness/sales | sales pipeline pod |
@metaharness/gaming | game-design pod |
@metaharness/repo-maintainer | OSS repo maintainer |
cd <name> && npm install
npx harness doctor # health-check
npx harness validate # full umbrella gate
Every scaffold ships a .claude-plugin/plugin.json, so it also loads as a
Claude Code plugin: claude -p --plugin-dir <name> "...".
Per-package deep-dive gists: see
examples-packages/GISTS.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 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./harness-secretsGCP 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./list-templatesList the available harness templates and what each one ships with. Use when the user asks "what templates are available", "what verticals does the harness generator support", or "show me what I can scaffold"./oia-manifestEmit .harness/oia-manifest.json declaring layer alignment with the OIA v0.1 9-layer reference architecture. Self-describes the harness's MCP wiring, witness signing, audit log, identity posture (always 'none' at v0.1). --check verifies an existing manifest, --dry-run prints without writing, --json emits to stdout./metaharness:example-harnessfrom metaharness
npx claudepluginhub ruvnet/metaharness --plugin metaharnessOther plugins' skills for the same job