metaharness
Scaffold your own focused AI agent gemini with its own npx CLI, MCP wiring, and host adapter. 14 skills (create/validate/publish/diag/score/threat-model/…), 9 host integrations, Ed25519 witness provenance, and GCP Secret Manager validation. Install, then run /create-gemini or `npx metaharness <name>`.
Plugin metaharness from marketplace metaharness in cvsz/zagents-generator. Commands read from the repo's manifest — 8 days ago.
What it installs
Skills (15)
zagents-generatorcompare-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-geminiScaffold your own focused AI agent gemini — pick host (Claude Code, Codex, pi.dev, Hermes), template, agents, skills, and ship a npm-publishable gemini with its own npx CLI. Use when a user asks to "create my own agent gemini", "scaffold a gemini", "make a custom Claude Code plugin like ruflo", or "
diag-geminiKernel-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 .gemini/manifest.json at path.
example-geminiScaffold a ready-made AI agent gemini 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, sa
gemini-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 gemini templates and what each one ships with. Use when the user asks "what templates are available", "what verticals does the gemini generator support", or "show me what I can scaffold".
oia-manifestEmit .gemini/oia-manifest.json declaring layer alignment with the OIA v0.1 9-layer reference architecture. Self-describes the gemini'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 emi
publish-geminiPublish a generated gemini to npm — runs the smoke test, signs the witness manifest, and dispatches `npm publish --provenance` from your tagged release.
repo-genome7-section readiness scorecard for a LOCAL repo. Reports repo type + agent topology + MCP risk + test confidence + release readiness + recommended gemini plan + scorecard. Exit 0 ready, 1 needs-work, 2 blocked. --json for the 6-field scorecard, --bundle for the ADR-031 schema-1 envelope.
score-gemini5-dimension scorecard (0-100, grade A/B/C/F) for a scaffolded gemini. Dimensions: Repo understanding (25%), Agent usefulness (25%), MCP safety (20%), Test coverage (15%), Publish readiness (15%). Emits a 6-field badges block (score + mcpRisk + 4 booleans) ready for the gemini README. Exit 0 A/B, 1 C
threat-modelMCP threat-model artifact for a scaffolded gemini. Reports allowed/denied tools, dangerous permissions count, secrets reachability, network/shell/file-write grants, default-deny posture. Verdict: clean (exit 0) / medium (exit 1) / high (exit 2). The 'enterprise gold' artifact for PR + compliance rev
upgrade-geminiDrift detection + apply for a scaffolded gemini. 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.
validate-geminiRelease-readiness umbrella check for a scaffolded gemini — runs doctor, witness verify, hardcoded-path scan, MCP server config, and GCP Secret Manager validation in one shot. Exits non-zero if any sub-check fails.
verify-witnessVerify the Ed25519 witness manifest of a scaffolded gemini. Fast yes/no signature check that proves the publisher signed this exact file set — separate from the full release-readiness umbrella in validate-gemini.
Maintain metaharness?
This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.