exp-design
Skill2 starsChanged 7 months agoMITView on GitHub
Use when planning an experimental run set BEFORE executing — choosing which configurations to vary, which baselines to include, what hypothesis each run tests, and what outcome would settle the question. Not for tracking running experiments. Each invocation APPENDS a new table to ./experiments/<name>-design.md (append-only ledger of design revisions) and shows only the latest table inline.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- skyllwt/AutoScitheir own version, first seen Sep 28, 2026
- Lambenthan/empiricalwikitheir own version, first seen Jun 12, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- skyllwt/AutoSci★ 1.7ksame name
- Lambenthan/empiricalwiki★ 91same 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 repository4 other files it gives its agents.
- exp-trackingSkill
- gpu-manageSkill
- lit-reviewSkill
- review-writingSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Every invocation produces TWO artifacts:
- Distinctive: line 64
Question first: Write the caption (experimental question, scope, stop criterion) before any rows.
- Very specific: line 69
Hand-off: When the latest design table is locked, exp-tracking is invoked with the same <name> and references the latest table here.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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 Design
The experimental design is a stack of tables appended to a markdown file, decided BEFORE any run starts. Rows are candidate runs, columns are the configuration to vary plus the hypothesis and expected outcome. The caption states the experimental question, the fixed scope, and the stop criterion. The file at ./experiments/<name>-design.md accumulates design revisions over time — every revision appends Table N+1, never overwrites. Chat shows only the LATEST design.
When to Use
- Designing a hyperparameter sweep, ablation, or comparison set
- Choosing baselines and what variations to test against them
- Deciding the stop criterion that would settle the experimental question
When NOT to Use
- Tracking progress on already-running experiments (use
exp-tracking) - A single one-off run (write a paragraph)
- Pure dataset / model design without a comparison structure
Output Contract — Append-Only Stack
Every invocation produces TWO artifacts:
- Inline — the LATEST design table only (
Table N+1), with caption, in chat. - File — append the new table at the END of
./experiments/<name>-design.md(<name>is a slugged sweep name such aslr-sweep-7b; create the directory if missing). Use the Edit tool to APPEND, never the Write tool to overwrite. Earlier design revisions MUST stay intact.
The file is an append-only ledger of how the design evolved. exp-tracking always references the LATEST table when invoked.
The file is append-only — NEVER edit or overwrite earlier tables. Each revision (added run, dropped baseline, refined hypothesis) appends Table N+1 with a caption naming the delta.
Caption Contract
- Experimental question — what would the results decide?
- Scope — model / dataset / fixed knobs (everything that does NOT vary).
- Stop criterion — what outcome counts as "answered"?
- Update (for
Table Nwhere N>1) — what changed sinceTable N-1.
Format: **Table N.** <question> Scope: <fixed knobs>. Stop: <stop criterion>. Update: <delta from previous table>.
Bad: **Table 1.** lr sweep — no question, no scope, no stop.
Good: **Table 1.** Learning-rate sweep on 7B summarization fine-tune — which lr maximizes val ROUGE-L without overfitting? Scope: model=7B-base, data=cnn-dm-train, batch=32, steps=5k, seed=0. Stop: best lr's val ROUGE-L > all others by 0.5+ or all within 0.5 (declare insensitive). Update: initial design.
Table Schema
| id | config | hypothesis | expected | baseline | dependency | generator |
|----|--------|------------|----------|----------|------------|-----------|
| R1 | lr=1e-3, seed=0 | overfits at high lr | val_loss > R2 by 0.1+ | R2 | — | [train.py](./src/train.py) |id— stable run id (R1..Rk); same id is reused byexp-trackingAND across design revisions.config— only the varied knob(s); fixed knobs go in the caption scope.hypothesis— one sentence on what this row tests. Must be falsifiable by the metric named inexpected.expected— a quantitative comparison or threshold that would confirm the hypothesis.baseline— id of the run this row is judged against (or—for absolute-baseline rows).dependency— id of any prior run this depends on (—if independent).generator—[<script>](./path/to/script)— the code that will run this row. Plain-text script names are a bug.- Empty cells:
—orTBD. Never blank.
Interaction Flow
- Question first. Write the caption (experimental question, scope, stop criterion) before any rows.
- Skeleton. Propose rows for each candidate config; get user agreement on configs before filling hypotheses / expected.
- Create the file at
./experiments/<name>-design.mdwithTable 1. - Fill hypotheses. Each row's hypothesis must be falsifiable by what's in
expected. - Append on revision. Adding/dropping rows or changing hypotheses appends
Table N+1to the END of the file (with a caption naming the delta) and shows the new table inline. NEVER overwrite earlier tables. - Hand-off. When the latest design table is locked,
exp-trackingis invoked with the same<name>and references the latest table here.
Worked Example
The file ./experiments/lr-sweep-design.md after one revision contains both tables:
Table 1. Learning-rate sweep for 7B summarization fine-tune — which lr maximizes val ROUGE-L without overfitting? Scope: model=7B-base, data=cnn-dm-train, batch=32, steps=5k, seed=0. Stop: best lr's val ROUGE-L > all others by 0.5+ or all within 0.5 (declare insensitive). Update: initial design.
id config hypothesis expected baseline dependency generator R1 lr=1e-3 too high → overfits train_loss < R2, val_ROUGE < R2 by 1.0+ R2 — train.py R2 lr=3e-4 sweet spot per LM literature best val_ROUGE — — train.py R3 lr=1e-4 undertrains in 5k steps val_ROUGE < R2 by 0.5+ R2 — train.py R4 lr=3e-5 too slow to converge val_ROUGE worst of all R2 — train.py Table 2. Same question, scope, stop as Table 1. Update: dropped R4 (3e-5 confirmed too slow in pilot run, no learning signal); added R5 with seed=1 to check sensitivity at the best lr.
id config hypothesis expected baseline dependency generator R1 lr=1e-3 too high → overfits train_loss < R2, val_ROUGE < R2 by 1.0+ R2 — train.py R2 lr=3e-4, seed=0 sweet spot per LM literature best val_ROUGE — — train.py R3 lr=1e-4 undertrains in 5k steps val_ROUGE < R2 by 0.5+ R2 — train.py R5 lr=3e-4, seed=1 seed sensitivity check at best lr val_ROUGE within 0.3 of R2 R2 R2 train.py
In chat after the revision, show only Table 2.
Common Mistakes
| Thought | Reality |
| "I'll just start running things" | Designing the table first surfaces redundant or unfalsifiable runs. |
| "Hypothesis is just a guess" | A hypothesis without an expected metric is decoration. |
| "Generator as plain text" | generator is [script](./path). Plain text is a bug. |
| "Skip the file, it's just a sketch" | The file is the contract exp-tracking will refer to. No file = no design. |
| "I don't know the baseline yet" | If the comparison structure isn't clear, the design isn't ready. Stop and decide. |
| "All runs are independent baselines" | If everything is a baseline, the design has no axis. Pick one varied knob. |
| "I'll just edit Table 1 as the design evolves" | Append Table N+1. The trajectory of design revisions IS part of the record. |
| "Use Write to overwrite the design file" | Use Edit to APPEND. NEVER Write the whole file. |
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.

