Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By marmelab Verified Orgv0.6.1MITIn 1 marketplace
Marmelab's agent harness: an implementation pipeline where subagents (planner, developer, quality-reviewer, merger, documentator) carry a change through git worktrees under deterministic hook enforcement. Every gate is a hook rather than a prompt instruction, so it fires whether or not the model cooperates. Ships the enforcement core, the agent team, the generic skills, and a Supabase deploy adapter. Projects supply a harness.config.json and their own domain skills.
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that turns a code-change request into a reviewed, merged change, driven by a team of subagents working in git worktrees.
The point is not the agents, it is the enforcement. Every gate is a hook, so it fires
whether or not the model cooperates. A prompt that says "never merge yourself" is a
suggestion; a PreToolUse hook that refuses git merge is not.
The orchestrator classifies the request, the planner breaks it into tickets, a developer implements each one in its own worktree, the quality-reviewer reviews it, the merger merges it into a session branch, and the whole feature is reviewed once more before promotion. Around that, hooks:
A test suite covers those hooks, and CI runs it on every push. That coverage is the
product: an untested guard fails silently, and one of them had been inert for months
before a test caught it. npm test states the current count.
/plugin marketplace add marmelab/AIHarness
/plugin install aiharness
Then declare your project's facts in harness.config.json at the repo root. The minimum:
{
"name": "myapp",
"containers": { "allow": [] },
"validation": {
"steps": [
{
"id": "typecheck",
"kind": "typecheck",
"command": "npm run typecheck"
},
{
"id": "unit",
"kind": "unit",
"command": "npm test",
"changedScoped": true
}
],
"extraForbidden": ["build", "e2e"]
},
"roles": {
"orchestrator": { "model": "sonnet", "pipeline": false },
"planner": { "model": "opus", "pipeline": true },
"developer": { "model": "sonnet", "pipeline": true },
"quality-reviewer": { "model": "opus", "pipeline": true },
"merger": { "model": "haiku", "pipeline": true }
},
"review": {
"tiers": {
"trivial": { "model": "sonnet" },
"normal": { "model": "sonnet" },
"hard": { "model": "default" },
"critical": { "model": "fable" }
}
}
}
This repo's own harness.config.json is a working reference, and
node scripts/check-config-sync.mjs tells you whether your roles cover the hook matchers.
The harness does not gate package installs. To keep agents (and everyone else) off a
freshly compromised release, set npm's release-age floor: min-release-age=1 in the
project's .npmrc, or NPM_CONFIG_MIN_RELEASE_AGE=1 in the machine or container env. It
needs npm 11.10+; older npm ignores it.
review.tiers runs in both directions: below the reviewer's own model the harness names a
cheaper one, and at critical it names fable, above it. The escalation is the one
rewrite that fails downward, since a runtime that ignores model there reviews with the
agent's declared model instead. That model is the floor of every failure path and is what
every review cost before the tiers existed, so none of them reviews more weakly than the
untiered harness did. Whatever a tier names also needs a rate in
scripts/lib/pricing.mjs and in its copy under
plugins/sessions-stats, or the cost reports price it at the sonnet fallback.
deploy and app are absent from the defaults on purpose: a capability exists if and
only if its block is present. Omit one and the feature is simply off, with no warning,
which is the failure mode worth knowing about before you go looking for a bug.
Plugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub marmelab/aiharness --plugin aiharness