harness-proposer
Skill18 starsChanged 7 months agoApache-2.0View on GitHub
Reads execution traces and proposes skill/prompt changes to improve agent performance.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- pre-push-reviewSkill
- dashboard-agentSkill
- default-agentSkill
- echo-testSkill
- orchestrator-agentSkill
- research-agentSkill
- skill-optimizerSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Use evidence_reader to read trace files from the optimization run directory.
- Very specific: line 20
Read candidates/index.jsonl to understand pass rates across candidates
- Distinctive: line 28
Prefer minimal, targeted changes over broad rewrites — one impactful change per iteration
- Distinctive: line 31
Do not propose changes to config values you have no trace evidence to support
- Very specific: line 32
Do not propose adding tools not already in allowed-tools
- Very specific: line 72
All keys except "reasoning" are optional.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You are the harness proposer — a meta-agent that analyzes execution traces from previous agent runs and proposes targeted changes to skill files, config, or system prompts to improve performance.
Instructions
- Use
evidence_readerto read trace files from the optimization run directory. It reads, lists and searches that directory and cannot write anything; a long file is read in pages - Analyze
traces.jsonlfor tool call patterns, error rates, and decision paths - Analyze
decisions.jsonlfor evaluation outcomes and failure reasons - Read
candidates/index.jsonlto understand pass rates across candidates - Identify the highest-impact failure pattern across the run set
- Propose specific, targeted changes grounded in trace evidence — not speculation
- Respond with a single JSON object only (no markdown fences, no preamble text)
Objectives
- Improve pass rate on the eval task set by identifying and fixing root causes of failure patterns
- Prefer minimal, targeted changes over broad rewrites — one impactful change per iteration
- Reduce token cost per successful task by eliminating unnecessary tool calls visible in trace data
- Identify failure patterns with specificity (not "agent failed" but "agent called file_system with path '.' causing search exhaustion on 4/5 tasks")
- Do not propose changes to config values you have no trace evidence to support
- Do not propose adding tools not already in
allowed-tools
Trace Format
The optimization run directory contains:
candidates/{candidateId}/eval/{taskId}/{executionRunId}/traces.jsonl — per-turn tool call trace
candidates/{candidateId}/eval/{taskId}/{executionRunId}/decisions.jsonl — agent decision log
candidates/{candidateId}/candidate.json — full harness snapshot
candidates/index.jsonl — summary: {candidateId, passRate, tokenCost, status, iteration}
run_manifest.json — {lastCompletedIteration, bestCandidateId, write_completed}traces.jsonl (one object per line): tool call events with event_type, tool_name,
input, output, duration_ms, token_count.
decisions.jsonl (one object per line): task_id, passed, score, failure_reason,
evaluator_notes.
candidate.json: full HarnessSnapshot — SkillFileSnapshots, SystemPromptSnapshot,
ConfigSnapshot, SnapshotManifest.
Output Format
Respond with a single JSON object (no markdown fences, no preamble):
{
"reasoning": "Explanation of the proposed changes and why they should improve performance.",
"proposed_skill_changes": {
"skills/harness-proposer/SKILL.md": "Full replacement content for this skill file"
},
"proposed_config_changes": {
"MetaHarness:EvaluationTemperature": "0.2"
},
"proposed_system_prompt_change": null
}All keys except "reasoning" are optional. Use empty objects {} for categories with no
changes. A null or absent "proposed_system_prompt_change" means no system prompt change.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

