# kenhuangus/harness2

Run Google's Harness² recursive harness optimization on a custom agent domain by scaffolding a BenchmarkAdapter, validating the c1 to c8 harness tree with Harness²'s own validator, and running a fail-closed Propose-Probe-Compose loop with a frozen model. Use when Ken asks to optimize, evolve, or self-improve an agent harness with Harness², build a Harness² adapter, or run a Harness² demo or sweep.

- Author: Ken Huang (https://app.skillsync.com/kenhuangus)
- Price: Free
- Version: 1

## Files

- LICENSE (1066 bytes)
- SKILL.md (9327 bytes)
- references/adapter-contract.md (3674 bytes)
- references/components-codex.md (2614 bytes)
- references/components-opencode.md (2766 bytes)
- references/models-and-env.md (3010 bytes)
- references/safety-and-cost.md (2698 bytes)
- scripts/_harness2_home.py (2216 bytes)
- scripts/run_harness2.py (7722 bytes)
- scripts/scaffold_adapter.py (14801 bytes)
- scripts/summarize_run.py (4798 bytes)
- scripts/validate_harness.py (6396 bytes)
- skill.yaml (522 bytes)
- templates/adapter.py.tmpl (4707 bytes)
- templates/base-harness-codex/AGENTS.md (703 bytes)
- templates/base-harness-codex/scripts/count_lines.py (323 bytes)
- templates/base-harness-codex/sub_agents/reviewer/AGENT.md (256 bytes)
- templates/base-harness-opencode/LongTermMEMORY.md (111 bytes)
- templates/base-harness-opencode/guardrails.md (197 bytes)
- templates/base-harness-opencode/plugin/example.ts (319 bytes)
- templates/base-harness-opencode/scripts/count_lines.py (323 bytes)
- templates/base-harness-opencode/skills/example-workflow/SKILL.md (297 bytes)
- templates/base-harness-opencode/sub_agents/reviewer/AGENT.md (271 bytes)
- templates/base-harness-opencode/systemprompt.md (220 bytes)
- templates/base-harness-opencode/tool_descriptions/tool_guidance.md (315 bytes)

## How to use it

1. Connect the Skillsync MCP server: https://app.skillsync.com/mcp (OAuth sign-in).
2. Add it to your library: https://app.skillsync.com/kenhuangus/harness2
3. Load it with the get_skill tool: `get_skill("kenhuangus/harness2")`, then follow its instructions.
