harness-claude
Turn Claude Code into a disciplined engineering system — a full Plan → Implement → Verify → Maintain pipeline whose gates actually fire, and whose features had to beat a measured baseline or get killed.
PLAN ─────────────► IMPLEMENT ─────► VERIFY ─────────────► MAINTAIN
/spec /research /implement /review /security-review /refactor-clean
/plan /architect /build-fix /test /verify /ship /onboard
Quick start
claude plugin marketplace add vasuag09/harness-claude
/plugin # find "harness-claude", enable it
/harness # run the full pipeline on a real task
Or start with a single gate: /spec a feature, /fix a bug, /review a diff.
Not on Claude Code? The 34 skills are standard SKILL.md files (YAML name +
description frontmatter) — install them into Cursor, Codex, Copilot, Gemini CLI, and
70+ other agents with the open skills CLI:
npx skills add vasuag09/harness-claude # install skills into your agent
npx skills add vasuag09/harness-claude --list # browse first
That gets you the portable tier — the workflow skills. The enforcement tier
(runtime hooks, scoped subagents, orchestrators, durable state) is Claude Code–native.
Why this instead of a prompt pack
Most agent-workflow repos are markdown the agent reads. This is a system that runs:
- Gates that fire — format/typecheck/quality/design hooks run on every edit, and a
routing hook re-anchors every prompt to the pipeline. Prompts suggest; hooks enforce.
- Scoped subagents with model routing — 8 agents on cheapest-sufficient models, three
orchestration modes, parallel fan-out with a one-writer-per-file guarantee.
- Work that survives sessions — a durable
STATE.md spine + per-phase planning
artifacts, so a fresh context resumes from files, not chat scrollback.
- Measured, not vibes — every cost optimization had to beat a baseline on
cost-per-successful-task at held pass^k, or die. Four experiments; two killed.
The receipts →
- Past the repo edge —
/deploy (arm-to-fire) and /observe (prod signal → repro →
/fix) close the pipeline into a loop.
Evaluating against agent-skills, Superpowers, or Matt Pocock's skills?
Honest comparison →
Stack focus: TypeScript/JS (React, Next, Vercel) and Python. MIT-licensed,
plugin-installable, ~0-dependency hooks (plain Node).
What got killed (and why that matters)
I built this privately to v0.8.0 before sharing it. The part I'm most proud of isn't a
feature — it's the gate behind them: beat a bare baseline on cost-per-successful-task
at held consistency (pass^k), or get killed and documented. Two of four didn't clear it —
an input-compression proxy (broke cache economics) and a popular ~51k★ code-graph MCP
(fixed context tax exceeded the whole task cost). What shipped: /lazy generation
reduction (−35% output tokens, −23% LOC at held accuracy, honest caveat: ~−3% dollars
on cache-dominated tasks) and a zero-tax structural-orientation hook.
Full method, raw trial numbers, and the retained kill apparatus:
docs/BENCHMARKS.md.
Documentation
| Guide | Read it for |
|---|
| docs/USAGE.md | Install → full pipeline → reuse-an-existing-codebase → common scenarios |
| docs/SKILLS.md | Every command + agent, what each does, what it delegates to |
| docs/HOOKS.md | Exactly what runs on your machine, and how to disable any hook |
| docs/TROUBLESHOOTING.md | Hooks not firing, slow tsc, MCP, git boundary — fixes |
| docs/COMPARISON.md | How this differs from agent-skills, Superpowers, Matt Pocock's skills |
| docs/BENCHMARKS.md | The benchmark gate: what shipped, what got killed, raw numbers |
| CONTRIBUTING.md | Adding skills/hooks, portability rules, PR checklist |
| ROADMAP.md | Where this is going (eval loops → retrieval → multi-agent → computer-use) |
New here? Start with docs/USAGE.md.
Why it's structured as a plugin
It lives in its own repo and installs as a Claude Code plugin/marketplace, so you can:
- Test in isolation — enable it via
/plugin, run a real task, judge the result.
Toggle it off to fall back. It never overwrites your existing ~/.claude.
- Promote when proven — once it gives production-grade results, make it your default.
- Share later — a plugin repo is already the shareable format; push to GitHub.
What's inside