meta-harness

Optimize fixed-model harness configurations via Pareto frontier search.

Updated Nov 24, 2025
One-click install
npx skills add https://github.com/ByronWilliamsCPA/.claude --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/.claude/tree/main/.claude/skills/meta-harness
Command: npx skills add https://github.com/ByronWilliamsCPA/.claude --skill meta-harness-byronwilliamscpa

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill solves the challenge of improving LLM system performance when the base model cannot be retrained. It automatically searches over the harness code—memory, retrieval, context assembly, and prompt scaffolding—to find configurations that deliver higher quality at lower cost.

Core Features & Use Cases

  • Native Pareto Optimization: Runs Meta-Harness-style evolutionary loops using built-in Agent, Workflow, and loop tools instead of external Python harnesses.
  • Deterministic Scoring: Uses a $0 evaluator to grade candidates on quality and cost while enforcing guardrails against frozen-replay defects and data leakage.
  • Use Case: Optimize a campaign-memory summarizer or retrieval ranker for a fixed-model agent, achieving better performance without touching the model weights.

Quick Start

Use the meta-harness skill to run a native optimization loop that proposes candidate harness variants, scores them on a cheap deterministic eval, and maintains a Pareto frontier of quality versus cost for your fixed base model.

Frequently Asked Questions about meta-harness

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

FAQPage Schema
How do I optimize LLM system performance without modifying the base model weights?

Harness code optimization uses native Pareto search loops to automatically tune memory systems, retrieval policies, context assembly, and prompt templates around a fixed base model, finding configurations that deliver higher quality at lower cost without requiring model weight retraining.

What components of an AI agent's harness code can be optimized using Pareto frontier search?

Pareto frontier search optimizes memory systems, retrieval policies, context assembly logic, prompt templates, and summarization scaffolds within the harness code, systematically improving system quality and reducing operational cost across repeated task episodes.

How do I run evolutionary optimization loops over prompt templates and retrieval policies?

You execute evolutionary optimization loops natively using built-in Agent, Workflow, and loop tools to propose candidate harness variants, score them against a cheap deterministic evaluator, and maintain a Pareto frontier of quality versus cost without relying on external Python harnesses.

What do I need to set up before running automated Pareto optimization on my LLM harness?

Before running automated Pareto optimization, you must establish a cheap deterministic evaluator, a held-out evaluation corpus, a defined candidate interface boundary, and a proposer prior to successfully execute the native optimization loops over your harness code.

How does a deterministic evaluator prevent data leakage when scoring candidate harness variants?

A deterministic evaluator prevents data leakage and frozen-replay defects by enforcing strict guardrails during candidate scoring, ensuring harness variants are graded accurately on quality and cost metrics against the held-out evaluation corpus.

Is meta-harness the best way to reduce operational costs for a fixed-model agent?

Meta-harness effectively reduces operational costs for a fixed-model agent by applying native Pareto frontier optimization to the surrounding harness code, discovering configurations that achieve better performance at lower cost compared to manual tuning methods.