agentleFS
ulab-uiuculab-uiuc/research-ledger/skills/exp-tracking/SKILL.md

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.

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
  1. Very specific:

    Every metric cell is value.

    line 12
  2. Distinctive:

    Every invocation produces TWO artifacts:

    line 28
  3. Very specific:

    When a design file exists, the design link goes under the Table 1 caption only:

    line 33
  4. Very specific:

    If the user pastes a table, append it as the next Table N+1 and show it inline.

    line 42
  5. Very specific:

    Same name as design: If ./experiments/<name>-design.md exists, reuse <name> and the run ids.

    line 79
  6. Very specific:

    Run starts → that row's status=running, data updated to step <current>/<total>.

    line 83
  7. Very specific:

    Run finishes → that row's status=done, linked metrics filled, data finalized to <total>/<total> steps.

    line 84
  8. Very specific:

    Run fails → that row's status=blocked, failure log link in notes, data shows last-reached.

    line 85
  9. Distinctive:

    Show inline: After each append, show only the NEW latest table inline in chat.

    line 87

≈ “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.

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

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-design first)
  • 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:

  1. Inline — the LATEST table only (Table N+1), with caption, in chat.
  2. 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

  1. Experimental question — same as the design file's question (do not drift across tables).
  2. Scope — same fixed knobs.
  3. Acceptance — what counts as a complete row. MUST include: status=done with all metrics linked AND data column showing final scale + completed step/sample count, OR status=blocked with reason and last-reached data value.
  4. Update (for Table N where N>1) — what status changed since Table 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>:
    • pending row: <planned scale>, step 0/<total> — e.g., 50k train / 5k val, step 0/5000.
    • running row: <planned scale>, step <current>/<total> — e.g., 50k train / 5k val, step 2400/5000.
    • done row: <actual scale>, <total>/<total> steps — e.g., 50k train / 5k val, 5000/5000 steps.
    • blocked row: <scale>, step <last>/<total> (blocked) — e.g., 50k train / 5k val, step 1200/5000 (blocked).
    • NEVER —, NEVER blank, NEVER absent. A row without data is an unauditable run.
    • Even pending rows have data populated 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 of pending, 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 — or TBD (data column STILL has the scale + progress).
  • Failed rows: status=blocked, notes column states the reason and a link to the failure log; data column shows what was reached before blocking.

Interaction Flow

  1. Same name as design. If ./experiments/<name>-design.md exists, reuse <name> and the run ids. Link to the design file under Table 1's caption.
  2. Table 1 = skeleton. One row per planned run, all status=pending, metrics —, data column populated with planned scale + step 0/<total> for every row.
  3. Create the file at ./experiments/<name>-tracking.md with Table 1.
  4. Append on every event. Each substantive change appends Table N+1 to the END of the file (use the Edit tool, not Write):
    • Run starts → that row's status=running, data updated to step <current>/<total>.
    • Run finishes → that row's status=done, linked metrics filled, data finalized to <total>/<total> steps.
    • Run fails → that row's status=blocked, failure log link in notes, data shows last-reached.
    • Live progress poll → data updated to current step <current>/<total> for running rows.
  5. Show inline. After each append, show only the NEW latest table inline in chat.
  6. 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

idconfigdataval_ROUGE-Loverfit?statusgeneratorartifactnotes
R1lr=1e-350k train / 5k val, step 0/5000——pendingtrain.py——
R2lr=3e-450k train / 5k val, step 0/5000——pendingtrain.py——
R3lr=1e-450k train / 5k val, step 0/5000——pendingtrain.py——
R4lr=3e-550k train / 5k val, step 0/5000——pendingtrain.py——

Table 2. Same question, scope, acceptance as Table 1. Update: R1 and R2 finished; R3 running at step 2400/5000.

idconfigdataval_ROUGE-Loverfit?statusgeneratorartifactnotes
R1lr=1e-350k train / 5k val, 5000/5000 steps21.8yesdonetrain.pyckpttrain_loss < val from step 2k
R2lr=3e-450k train / 5k val, 5000/5000 steps26.1nodonetrain.pyckptbest so far
R3lr=1e-450k train / 5k val, step 2400/5000——runningtrain.pylog48% through
R4lr=3e-550k train / 5k val, step 0/5000——pendingtrain.py——

Table 3. Same question, scope, acceptance. Update: R3 finished; R4 running at step 1200/5000.

idconfigdataval_ROUGE-Loverfit?statusgeneratorartifactnotes
R1lr=1e-350k train / 5k val, 5000/5000 steps21.8yesdonetrain.pyckpttrain_loss < val from step 2k
R2lr=3e-450k train / 5k val, 5000/5000 steps26.1nodonetrain.pyckptbest so far
R3lr=1e-450k train / 5k val, 5000/5000 steps24.3nodonetrain.pyckptundertrained vs R2
R4lr=3e-550k train / 5k val, step 1200/5000——runningtrain.pylog24% 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

ThoughtReality
"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

ThoughtReality
"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.

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.