exp-tracking
Skill2 starsChanged 7 months agoMITView on GitHub
Use when reporting on the live state of running, completed, or pending experimental runs — sweep status, accumulated metrics, decisions on what to run next. Every row MUST surface the data scale (dataset size) AND current progress (steps or samples done vs total) in a mandatory `data` column — this is non-negotiable, no exceptions. Refers to an `exp-design` file when one exists. Each invocation APPENDS a new table to ./experiments/<name>-tracking.md (append-only ledger) and shows only the latest table inline.
In this repository4 other files it gives its agents.
- exp-designSkill
- gpu-manageSkill
- lit-reviewSkill
- review-writingSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 2 are distinctive, and 7 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.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Every metric cell is value.
- Distinctive: line 28
Every invocation produces TWO artifacts:
- Very specific: line 33
When a design file exists, the design link goes under the Table 1 caption only:
- Very specific: line 42
If the user pastes a table, append it as the next Table N+1 and show it inline.
- Very specific: line 79
Same name as design: If ./experiments/<name>-design.md exists, reuse <name> and the run ids.
- Very specific: line 83
Run starts → that row's status=running, data updated to step <current>/<total>.
- Very specific: line 84
Run finishes → that row's status=done, linked metrics filled, data finalized to <total>/<total> steps.
- Very specific: line 85
Run fails → that row's status=blocked, failure log link in notes, data shows last-reached.
- Distinctive: line 87
Show inline: After each append, show only the NEW latest table inline in chat.
≈ “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 Tracking
Live experimental state is a stack of tables appended to a markdown file, not a chat paragraph and not a single overwritten snapshot. Rows are runs, columns are status + metrics + provenance.
Every row MUST include a data column showing the dataset scale AND the current progress — without it, "lr=3e-4 done" is unauditable. A reader of the table should never have to ask "how big was the dataset?" or "how far along is R3?".
Every metric cell is [value](output_file). The file at ./experiments/<name>-tracking.md accumulates tables over time — every status change appends Table N+1, never overwrites. Chat shows only the LATEST table.
When to Use
- Reporting status of a sweep / ablation / set of runs (some running, some done, some pending)
- Accumulating metrics as runs complete
- Deciding the next run based on partial results
When NOT to Use
- Designing the experiment (use
exp-designfirst) - A single one-off run (write a paragraph)
- Final results figure for publication (the table is the working interface; figures come downstream)
Output Contract — Append-Only Stack
Every invocation produces TWO artifacts:
- Inline — the LATEST table only (
Table N+1), with caption, in chat. - File — append the new table at the END of
./experiments/<name>-tracking.md(use the same<name>as the design file when one exists). Use the Edit tool to APPEND, never the Write tool to overwrite. Earlier tables MUST stay intact.
When a design file exists, the design link goes under the Table 1 caption only:
Design: [<name>-design.md](./<name>-design.md)The file becomes a chronological ledger: Table 1 (initial skeleton, all pending) → Table 2 (after R1 completed) → ... → Table N (current). The trajectory IS the value: a reviewer can scroll the file to see exactly when each run finished and what the sweep state was.
The file is append-only — NEVER edit or overwrite earlier tables. Each new table's caption names the delta from the previous one (e.g., "Table 3 — R2 completed; R3 still running at step 2400/5000").
If the user pastes a table, append it as the next Table N+1 and show it inline.
Caption Contract
- Experimental question — same as the design file's question (do not drift across tables).
- Scope — same fixed knobs.
- Acceptance — what counts as a complete row. MUST include:
status=donewith all metrics linked ANDdatacolumn showing final scale + completed step/sample count, ORstatus=blockedwith reason and last-reacheddatavalue. - Update (for
Table Nwhere N>1) — what status changed sinceTable N-1.
Format: **Table N.** <question> Scope: <fixed knobs>. Acceptance: <row-complete criterion including data column>. Update: <delta from previous table>.
Table Schema (data column is MANDATORY — no exceptions)
| id | config | data | metric_a | metric_b | status | generator | artifact | notes |
|----|--------|------|----------|----------|--------|-----------|----------|-------|
| R1 | lr=1e-3 | 50k train / 5k val, 5000/5000 steps | [21.8](./runs/R1/eval.json) | [yes](./runs/R1/train.log) | done | [train.py](./src/train.py) | [ckpt](./runs/R1/ckpt.pt) | val<train, capped early |id— matches the design file's id when present.config— only the varied knob(s).data— REQUIRED on every row. Mandatory. Non-negotiable. Format:<dataset scale>, <progress>:pendingrow:<planned scale>, step 0/<total>— e.g.,50k train / 5k val, step 0/5000.runningrow:<planned scale>, step <current>/<total>— e.g.,50k train / 5k val, step 2400/5000.donerow:<actual scale>, <total>/<total> steps— e.g.,50k train / 5k val, 5000/5000 steps.blockedrow:<scale>, step <last>/<total> (blocked)— e.g.,50k train / 5k val, step 1200/5000 (blocked).- NEVER
—, NEVER blank, NEVER absent. A row withoutdatais an unauditable run. - Even pending rows have
datapopulated with the planned scale +step 0/<total>.
- Metric cells — the value IS the link, hrefed to the output file where the number is persisted (eval json, log, csv). Plain-text values are forbidden, no exceptions for
0,100%, or "obvious" numbers. status— one ofpending,running,done,blocked. No synonyms.generator—[<script-or-commit>](./path)— the code or commit that produced this row.artifact— checkpoint / output dir link, or—if none.- Pending / running rows: metric cells use
—orTBD(datacolumn STILL has the scale + progress). - Failed rows:
status=blocked, notes column states the reason and a link to the failure log;datacolumn shows what was reached before blocking.
Interaction Flow
- Same name as design. If
./experiments/<name>-design.mdexists, reuse<name>and the run ids. Link to the design file underTable 1's caption. - Table 1 = skeleton. One row per planned run, all
status=pending, metrics—,datacolumn populated with planned scale +step 0/<total>for every row. - Create the file at
./experiments/<name>-tracking.mdwithTable 1. - Append on every event. Each substantive change appends
Table N+1to the END of the file (use the Edit tool, not Write):- Run starts → that row's
status=running,dataupdated tostep <current>/<total>. - Run finishes → that row's
status=done, linked metrics filled,datafinalized to<total>/<total> steps. - Run fails → that row's
status=blocked, failure log link in notes,datashows last-reached. - Live progress poll →
dataupdated to currentstep <current>/<total>for running rows.
- Run starts → that row's
- Show inline. After each append, show only the NEW latest table inline in chat.
- Reading layer (optional, after the latest inline table) — a short "current read" paragraph naming what the partial results suggest. Earlier tables in the file already record the trajectory.
Worked Example
The file ./experiments/lr-sweep-tracking.md after three updates contains all three tables stacked:
Table 1. Learning-rate sweep for 7B summarization fine-tune — which lr maximizes val ROUGE-L without overfitting? Scope: 7B-base, cnn-dm-train, batch=32, steps=5k, seed=0. Acceptance: status=done with all metrics linked AND data column showing final scale + steps, or status=blocked with reason and last-reached data. Update: initial skeleton.
Design: lr-sweep-design.md
id config data val_ROUGE-L overfit? status generator artifact notes R1 lr=1e-3 50k train / 5k val, step 0/5000 — — pending train.py — — R2 lr=3e-4 50k train / 5k val, step 0/5000 — — pending train.py — — R3 lr=1e-4 50k train / 5k val, step 0/5000 — — pending train.py — — R4 lr=3e-5 50k train / 5k val, step 0/5000 — — pending train.py — — Table 2. Same question, scope, acceptance as Table 1. Update: R1 and R2 finished; R3 running at step 2400/5000.
id config data val_ROUGE-L overfit? status generator artifact notes R1 lr=1e-3 50k train / 5k val, 5000/5000 steps 21.8 yes done train.py ckpt train_loss < val from step 2k R2 lr=3e-4 50k train / 5k val, 5000/5000 steps 26.1 no done train.py ckpt best so far R3 lr=1e-4 50k train / 5k val, step 2400/5000 — — running train.py log 48% through R4 lr=3e-5 50k train / 5k val, step 0/5000 — — pending train.py — — Table 3. Same question, scope, acceptance. Update: R3 finished; R4 running at step 1200/5000.
id config data val_ROUGE-L overfit? status generator artifact notes R1 lr=1e-3 50k train / 5k val, 5000/5000 steps 21.8 yes done train.py ckpt train_loss < val from step 2k R2 lr=3e-4 50k train / 5k val, 5000/5000 steps 26.1 no done train.py ckpt best so far R3 lr=1e-4 50k train / 5k val, 5000/5000 steps 24.3 no done train.py ckpt undertrained vs R2 R4 lr=3e-5 50k train / 5k val, step 1200/5000 — — running train.py log 24% through
In chat after the third update, show only Table 3 (the latest). Note the data column on every row, every table — including R4 (running) showing live progress step 1200/5000.
Common Mistakes
| Thought | Reality |
| "Data column? lr is what matters." | Lr without data scale + progress is unauditable. The data column is REQUIRED on every row — never —, never blank, never absent. |
| "R3 is running, I'll skip its data column until done." | Running rows are exactly when the data column matters most. Show step <current>/<total> live. |
| "Data scale is in the design file, no need to repeat." | The tracking table must stand alone. A reader of Table 3 shouldn't need to flip to the design file to learn the dataset size. |
| "Pending rows don't need a data column yet." | Yes they do. Use <planned scale>, step 0/<total>. Even pending state surfaces the planned scale. |
| "I'll overwrite Table 1 with the new state" | The file is a stack/ledger. Append Table N+1. Earlier tables ARE the trajectory. |
| "Use Write to replace the file with current state" | Use Edit to APPEND Table N+1 at the end. NEVER Write the whole file. |
"Plain 21.8 is fine, the artifact column has the run dir" | The number is the specific claim — clicking it must land on the file storing it. Both number-link and artifact-link are needed. |
"Use OK / failed / crashed for status" | Status uses only pending / running / done / blocked. No synonyms. |
| "Skip the file for a quick status check" | The file is the durable interface AND the trajectory log. Without it, history is lost next session. |
| "Show all past tables inline too" | Inline shows only the latest table. The file holds history. |
| "Drifted caption from the design file" | The tracking caption's question must match the design's. Update both or neither. |
Red Flags — STOP and check
| Thought | Reality |
| "The data scale is obvious from the config name." | It is not. State <dataset>, step X/Y for every row, every table. |
"R3 is just running, I'll fill data once it finishes." | data is REQUIRED for running rows specifically — that's where progress (step current/total) lives. |
| "Other people will figure out how big the data is." | No. The table must be self-contained. Data column is non-negotiable. |
| "I already wrote the dataset name in the caption scope, that's enough." | Caption scope names the dataset; data column gives per-row scale + live progress. Both are required. |
| "Just edit Table 2 in place to reflect R3 finishing" | No. Append Table 3. The trajectory IS the value. |
| "Inline already shows latest, file can wait" | The file IS the interface. Append now, not later. |
| "Use Write tool to refresh the file" | Use Edit tool to APPEND. Write would erase the trajectory. |
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.

