experiment-discipline
Skill0 starsChanged 3 months agoMITView on GitHub
Run experiments that produce evidence a paper can stand on. Use when writing experiment code, running evaluations, choosing where compute happens, or recording results. Covers artifacts, reproducibility, baselines, and the compute backend the user actually chose.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-cost-controlSkill
- citation-disciplineSkill
- delivery-contractSkill
- env-isolationSkill
- figure-integritySkill
- latex-compileSkill
- literature-surveySkill
- numbers-traceableSkill
- page-fittingSkill
- paper-machineSkill
- paper-structureSkill
- research-integritySkill
- reviewer-mindsetSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Every run writes a file under results/.
- Distinctive: line 30
If a published baseline number exists and you did not rerun it, say it is quoted from the paper rather than measured by you.
- Distinctive: line 37
If the project is configured for a cluster, submit to the cluster.
- Distinctive: line 56
If you execute third-party code, benchmark harnesses, or anything you did not write, run it in a container.
- Distinctive: line 62
When a run fails, record the failure with its error, and move on to the next experiment rather than quietly dropping it.
≈ “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
Experiment Discipline
Write results to disk, always
Every run writes a file under results/. Not to stdout, not to a variable
that lives in the agent's context, not to a summary you will remember. The
paper cites files. If it is not on disk, it did not happen.
results/
exp1_results.json # metrics, one object per condition
exp1_raw.csv # per-sample outputs, for later re-analysis
environment.json # versions, seeds, hardwareInclude the seed and the library versions. A number without them cannot be reproduced, and reviewers ask.
Baselines are part of the experiment
A method with no comparison is not an evaluation. Implement at least one honest baseline, and give it the same tuning budget you gave your own method. A hobbled baseline is a well-dressed way of faking a result.
If a published baseline number exists and you did not rerun it, say it is quoted from the paper rather than measured by you. Mixing quoted and measured numbers in one table without saying which is which is a common, serious error.
Respect the compute backend the user chose
If the project is configured for a cluster, submit to the cluster. A trivial CPU check can run inline, but say which route you took in your notes. Otherwise the user, who deliberately selected Slurm, sees nothing in the queue and cannot tell whether their configuration is broken.
Observed: an agent ran every experiment inline because its instructions said "use Slurm for GPU jobs" and the experiment was CPU-only. That was a reasonable reading, but the decision was invisible, and it looked like a platform bug for days.
Use the project's own environment
Install into the project environment, never a shared or global one. See
env-isolation. This is not tidiness. A single stray install into a shared
environment once downgraded a core library and silently broke every user of
that machine for five days.
Isolate what you run
If you execute third-party code, benchmark harnesses, or anything you did not write, run it in a container. It protects the host, and it makes the environment a fact you can report rather than a property of your laptop.
Failure is data
When a run fails, record the failure with its error, and move on to the next experiment rather than quietly dropping it. An experiment that disappears between the plan and the results section is the shape of a result that was inconvenient.
Before writing the paper
- Every planned experiment is either done or explicitly marked blocked
- Every result is a file under
results/ - Seeds and versions are recorded
- Baselines got a fair shot
- Quoted numbers are labelled as quoted
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.

