Agent Skillsruvnet/metaharness › example-harness

example-harness

GitHub

通过一条命令从18个预发布包快速生成AI Agent工作区,支持9种主机集成和10种垂直领域,无需记忆复杂参数。

.claude-plugin/skills/example-harness/SKILL.md ruvnet/metaharness

触发场景

需要快速搭建AI Agent基础框架 希望基于特定主机或垂直场景初始化项目

安装

npx skills add ruvnet/metaharness --skill example-harness -g -y
更多选项

非标准路径

npx skills add https://github.com/ruvnet/metaharness/tree/main/.claude-plugin/skills/example-harness -g -y

不安装直接使用

npx skills use ruvnet/metaharness@example-harness

指定 Agent (Claude Code)

npx skills add ruvnet/metaharness --skill example-harness -a claude-code -g -y

安装 repo 全部 skill

npx skills add ruvnet/metaharness --all -g -y

预览 repo 内 skill

npx skills add ruvnet/metaharness --list

SKILL.md

Frontmatter
{
    "name": "example-harness",
    "description": "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)."
}

example-harness

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.

Install

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.

Use

/example-harness

Codex prompts for the package + a directory name, then runs:

npx --yes @metaharness/<package>@latest <name>

The 18 packages

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

After scaffolding

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.

版本历史

  • 6e1902b 当前 2026-07-05 11:03

同 Skill 集合

.claude-plugin/skills/compare-harnesses/SKILL.md
.claude-plugin/skills/create-harness/SKILL.md
.claude-plugin/skills/diag-harness/SKILL.md
.claude-plugin/skills/list-templates/SKILL.md
.claude-plugin/skills/oia-manifest/SKILL.md
.claude-plugin/skills/publish-harness/SKILL.md
.claude-plugin/skills/repo-genome/SKILL.md
.claude-plugin/skills/upgrade-harness/SKILL.md
.claude-plugin/skills/validate-harness/SKILL.md
.claude-plugin/skills/verify-witness/SKILL.md

元信息

文件数
0
版本
c86bc12
Hash
7b15e4d4
收录时间
2026-07-05 11:03

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-13 21:11
浙ICP备14020137号-1 $访客地图$