env-harness
Skill1 starsChanged 3 months agoMITView on GitHub
Use when validating, repairing, or hardening evaluation harnesses, runtime environments, route guards, sandboxes, canaries, and dependency stacks for RLM or RL systems. Especially useful when metrics look suspicious, harness behavior may mask model weakness, or production-shaped tests must prove real execution and safety boundaries.
In this repository32 other files it gives its agents.
- advertising-imagery-agentSkill
- agent-watchSkill
- aria-intelligenceSkill
- bambu-labsSkill
- cadSkill
- cad-viewerSkill
- dataset-engineeringSkill
- design-business-agentSkill
- design-loopSkill
- dxfSkill
- elite-engineeringSkill
- emil-deign-skillSkill
- gcodeSkill
- human-writingSkill
- implicit-cadSkill
- inference-engineeringSkill
- kernel-engineeringSkill
- lamp-method-first-principles-thinkingSkill
- marketing-and-advertising-agentSkill
- model-evalSkill
- new-project-architectureSkill
- opportunity-hunterSkill
- rlmSkill
- rlSkill
- sdfSkill
- sendcutsendSkill
- sftSkill
- srdfSkill
- step-partsSkill
- synthesys-bug-triageSkill
- taste-maxSkill
- urdfSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
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
- Distinctive: line 8
Use this skill when the environment or harness could be part of the result.
- Distinctive: line 12
Never optimize a model against an untrusted harness.
- Distinctive: line 16
Before trusting a run, verify:
- Distinctive: line 25
no stale server or trainer process owns memory
- Distinctive: line 42
When a number changes, identify which layer changed.
- Distinctive: line 74
read-only plans remain read-only
- Distinctive: line 81
When a gate fails:
- Distinctive: line 85
Add a narrow regression test before repair.
- Distinctive: line 91
Always label the pass as model-weight improvement, runtime-route improvement, harness/scorer repair, environment repair, or …
≈ “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
Env Harness
Use this skill when the environment or harness could be part of the result.
Principle
Never optimize a model against an untrusted harness. Prove what the harness measures before treating metrics as model truth.
Validate The Stack
Before trusting a run, verify:
- correct repo and branch
- clean or intentionally dirty worktree
- correct Python/runtime path
- correct vendor dependency path
- correct GPU runtime visibility
- correct model and adapter lineage
- correct local-files-only behavior when required
- no stale server or trainer process owns memory
- artifacts are from the run being discussed
- stdout summary matches
results/latest.json
Harness Layers
Inspect changes by layer:
- dataset contract
- prompt wrapper
- decoder or route policy
- argument repair
- sandbox/execution backend
- scorer
- artifact writer
- promotion decision
When a number changes, identify which layer changed.
Route Guard Rules
Route guards are production behavior, not eval hacks.
Good guards:
- scope intent to the active prompt segment
- honor explicit toolcall headers
- fail closed on safety-critical prompts
- record override reason
- preserve already-correct routes
- have narrow tests for each repair
Bad guards:
- scan stale context and override current intent
- silently transform model failure into success
- green a fixture while OOD remains broken
- conflate tool selection with argument correctness
Canary Discipline
Executable canaries should prove:
- exact JSON or action tokens
- exact tool and arguments
- allowed mutations only
- expected failures observed
- recovery path works
- approval pauses happen at unsafe boundaries
- read-only plans remain read-only
- endpoint/client proof exists when user interaction matters
Expected failures are part of the signal. Do not hide them.
Debug Workflow
When a gate fails:
- Print prompt, expected output, generated output, score object, route details, and execution result.
- Classify the failure as data, route, decoder, model, environment, scorer, or artifact issue.
- Add a narrow regression test before repair.
- Rerun the focused failing case.
- Rerun the full gate only after the focused failure is green.
Reporting
Always label the pass as model-weight improvement, runtime-route improvement, harness/scorer repair, environment repair, or documentation-only clarification.
That label prevents fake model progress.
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.

