---
name: "Scaffold repo-specific agent harnesses with Metaharness"
slug: "scaffold-repo-specific-agent-harnesses-with-metaharness"
description: "Use Metaharness to score a repository, generate a branded agent harness with CLI, MCP, memory, and safety defaults, then package it for repeatable team use."
github_stars: 529
verification: "security_reviewed"
source: "https://github.com/ruvnet/metaharness"
author: "rUv / ruvnet"
publisher_type: "open-source maintainer"
category: "Developer Tools"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "ruvnet/metaharness"
  github_stars: 529
  npm_package: "metaharness"
  npm_weekly_downloads: 29085
---

# Scaffold repo-specific agent harnesses with Metaharness

Use Metaharness to score a repository, generate a branded agent harness with CLI, MCP, memory, and safety defaults, then package it for repeatable team use.

## Prerequisites

Node.js, npm/npx, Metaharness CLI or Studio, a target repository, and an optional supported agent host such as Claude Code, Codex, OpenClaw, OpenCode, Hermes, pi.dev, RVM, Cursor, or GitHub Actions

## Installation

Install or set up from the source-backed instructions:

Run npx metaharness --wizard for guided setup, or generate directly with a command such as npx metaharness my-bot --template vertical:coding --host claude-code. Use the upstream host-specific @metaharness/* wrappers when a fixed target host is preferred.

- Source: https://github.com/ruvnet/metaharness

## Documentation

- https://github.com/ruvnet/metaharness

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/scaffold-repo-specific-agent-harnesses-with-metaharness/)
