meta-harness

Runs an evolutionary Pareto search over harness code around a fixed LLM using native agent workflows.

Updated Jul 9, 2026
One-click install
npx skills add https://github.com/ByronWilliamsCPA/plugin --skill meta-harness-byronwilliamscpa
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: meta-harness
Source: https://github.com/ByronWilliamsCPA/plugin/tree/main/plugins/wff-code/skills/meta-harness
Command: npx skills add https://github.com/ByronWilliamsCPA/plugin --skill meta-harness-byronwilliamscpa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Improving an LLM system without retraining the model requires optimizing the scaffolding around it (memory, retrieval, context assembly, prompts, summarizers), but doing this by hand is slow and ad hoc. This Skill automates that search: it proposes candidate harness implementations, scores each on a cheap deterministic eval, and maintains a Pareto frontier of quality versus cost. ## Core Features & Use Cases - Native evolutionary search loop: Proposes k candidate harness variants per round with parallel proposer agents, validates them, scores each with a $0 deterministic scorer, and Pareto-merges results, all via native Workflow/Agent/loop tools instead of a standalone Python harness. - Guardrails against silent failure: Built-in defenses against the frozen-replay defect, Goodharting (hard quality floors), eval leakage, and premature promotion, with held-out test discipline enforced. - Reusable templates and tooling: Ships a candidate-interface template, scorer template, proposer-prior template, a parameterized Workflow script, and a deterministic Pareto-frontier script (scripts/pareto.py). - Use Case: You want to shrink the tokens injected by your agent's memory summarizer without losing accuracy. Define the summarizer interface and a fidelity rubric, then run the search to get a frontier of compressors that hold fidelity above a floor at progressively lower character counts. ## Quick Start Ask the AI to use the meta-harness skill to frame a search over your harness component, build the scorer and candidate interface from the templates, and run the workflow to produce a quality-versus-cost Pareto frontier.

Frequently Asked Questions about meta-harness

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize an LLM harness without fine-tuning the model?▼

Define a clean candidate interface for the harness component, build a deterministic scorer with quality and cost axes, then run the propose-score-frontier loop. Proposer agents write candidate implementations each round and a Pareto frontier tracks quality versus cost tradeoffs.

What is the frozen-replay defect in harness evaluation?▼

It occurs when candidates are scored by replaying cached outputs, so a new candidate cannot change the recorded quality result and only the cost axis moves. The search then wins by emptying context while quality appears constant. Fix it by grading something the candidate controls, like retrieval relevance or compression fidelity.

When should I use harness optimization instead of RL or fine-tuning?▼

Use it when the base model is fixed, such as an off-the-shelf API, and gains must come from the code around the model. It is complementary to RL: it hardens the eval and reward at low cost and produces a leaner harness as a starting point for later training.

What do I need to build before running a Meta-Harness search?▼

You supply five pieces: a candidate interface, a $0 deterministic scorer with a rubric, an eval corpus with a held-out test split, a proposer prior steering toward mechanism-level changes, and a frontier plus run log. Templates for all five ship in the assets directory.

Why does my harness search produce a meaningless frontier?▼

The usual causes are a scorer whose quality number cannot vary with the candidate, a leaky eval split, or a soft metric the proposer exploits. Add a hard quality floor, verify the scorer changes when candidates change, and validate proxy rankings against the true metric before trusting results.

Can the search run unattended or on a schedule?▼

Yes, the loop can be driven by CronCreate for scheduled cloud runs, /loop with an interval for in-session cadence, or ScheduleWakeup for self-paced continuation. The Workflow mode also supports resume via resumeFromRunId for long searches.