agentleFS
walkinglabswalkinglabs/learn-harness-engineering/skills/harness-creator/SKILL.md

harness-creator

Skill19k starsChanged 2 months agoMITView on GitHub

Build, audit, and improve harnesses that make AI coding agents reliable: AGENTS.md/CLAUDE.md instruction files, feature/state tracking, verification gates, scope boundaries, session handoff, memory persistence, context budgets, tool-permission safety, and multi-agent coordination. Use this whenever a coding agent is unreliable across sessions — forgets context, drifts out of scope, claims "done" before tests pass, or starts each session inconsistently — or when creating or assessing AGENTS.md, CLAUDE.md, feature_list.json, init.sh, progress.md, or session-handoff files. Reach for it even if the user never says the word "harness."

4 other projects use a version of this, 1 of them edited.

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 1 mentionMay 2026: 3 mentionsJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 3 mentionsSep 2026: 0 mentionsOct 2026: 9 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the walkinglabs/learn-harness-engineering repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about walkinglabs/learn-harness-engineering

The biggest 5 of 17 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 17

Talked about on GitHub and Bluesky (17 times).

On GitHub · 16

11 more on GitHub

On Bluesky · 1

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 1

    1. xeroc/skills★ 195% same

    Wrote their own version · 3

    1. anthony-chaudhary/fak★ 41same name
    2. ffy6511/harness-creator-skill★ 4same name
    3. idoforgod/cys-harness-creator★ 4same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 13 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to make a repository easier for coding agents to start, stay in scope, verify work, and resume across sessions.

    line 16
  2. Distinctive:

    Not for model selection, prompt tuning in isolation, chat UI design, or general app architecture.

    line 18
  3. Distinctive:

    Every useful coding-agent harness has five subsystems:

    line 22
  4. Distinctive:

    Ask only for missing context that cannot be inferred safely: target agent, desired file name, tolerance for structure, and whether …

    line 35
  5. Distinctive:

    Prefer a minimal harness first.

    line 36
  6. Distinctive:

    Use the bundled script when working on a local repository:

    line 42
  7. Distinctive:

    Use when the user wants a shareable assessment:

    line 69
  8. Distinctive:

    Keep the root instruction file short: routing and invariants, not a full manual.

    line 92
  9. Distinctive:

    Put project facts in project docs, not in the skill.

    line 93
  10. Distinctive:

    Use one active feature unless the harness has explicit multi-agent ownership boundaries.

    line 96
  11. Distinctive:

    Prefer append/update state files over relying on chat history.

    line 97
  12. Distinctive:

    Never hide destructive behavior in scripts.

    line 98
  13. Distinctive:

    If you cannot create files, provide exact file contents and commands instead.

    line 111

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Harness Creator

Use this skill to make a repository easier for coding agents to start, stay in scope, verify work, and resume across sessions. Keep the harness small enough that agents actually follow it.

Not for model selection, prompt tuning in isolation, chat UI design, or general app architecture.

Core Model

Every useful coding-agent harness has five subsystems:

SubsystemMinimal artifactPurpose
InstructionsAGENTS.md or CLAUDE.mdStartup path, working rules, definition of done
Statefeature_list.json, progress.mdCurrent feature, status, evidence, next step
Verificationinit.sh or documented commandsTests/checks the agent must run before claiming done
ScopeFeature dependencies and done criteriaPrevents overreach and half-finished work
Lifecyclesession-handoff.md, end-of-session routineMakes the next session restartable

First Move

  1. Inspect what already exists: instruction files, feature/state files, verification commands, docs, package manifests.
  2. Ask only for missing context that cannot be inferred safely: target agent, desired file name, tolerance for structure, and whether overwriting is allowed.
  3. Prefer a minimal harness first. Add memory, tool safety, multi-agent, or benchmark details only when the user's problem calls for them.

Common Tasks

Create a harness

Use the bundled script when working on a local repository:

node skills/harness-creator/scripts/create-harness.mjs --target /path/to/project

Options:

  • --agent-file CLAUDE.md for Claude-oriented projects.
  • --package-manager npm|pnpm|yarn|bun when detection is wrong.
  • --commands "cmd one,cmd two" for custom verification.
  • --force only after confirming overwrites are acceptable.

Then explain what was created and how the user should replace placeholder feature entries.

Audit an existing harness

Run:

node skills/harness-creator/scripts/validate-harness.mjs --target /path/to/project

Report the five subsystem scores, the lowest-scoring area, and the first 2-3 changes that would improve reliability. Treat the lowest score as a candidate bottleneck; confirm with failures, logs, or task outcomes before claiming causality.

Produce a report

Use when the user wants a shareable assessment:

node skills/harness-creator/scripts/render-assessment-html.mjs --target /path/to/project
node skills/harness-creator/scripts/run-benchmark.mjs --target /path/to/project --html /path/to/report.html

Be clear that this is a structural benchmark. The benchmark first runs a self-check — it scaffolds a throwaway harness and validates it, proving the bundled scripts work end-to-end — then scores the target and eval coverage. Real effectiveness still needs before/after agent sessions on representative tasks.

When to Read References

Load only the reference needed for the user's problem:

  • Memory across sessions: Memory Persistence
  • Reusable workflows as skills: Skill Runtime
  • Permissions, tools, concurrency: Tool Registry & Safety
  • Context budget and progressive disclosure: Context Engineering
  • Delegation and parallel agents: Multi-Agent Coordination
  • Hooks, startup, long-running work: Lifecycle & Bootstrap
  • Non-obvious failure modes: Gotchas

Design Rules

  • Keep the root instruction file short: routing and invariants, not a full manual.
  • Put project facts in project docs, not in the skill.
  • Make verification commands explicit and runnable.
  • Require evidence before marking a feature done.
  • Use one active feature unless the harness has explicit multi-agent ownership boundaries.
  • Prefer append/update state files over relying on chat history.
  • Never hide destructive behavior in scripts; overwrites require explicit user approval.

Deliverable Checklist

For a usable minimal harness, leave the target project with:

  • AGENTS.md or CLAUDE.md
  • feature_list.json
  • progress.md
  • init.sh
  • Optional session-handoff.md for multi-session work
  • Documented verification evidence or next action

If you cannot create files, provide exact file contents and commands instead.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.