agentleFS
subarnasaikiasubarnasaikia/kaggle-skills/.claude/skills/log-experiment/SKILL.md

log-experiment

Skill2 starsChanged 7 months agoMITView on GitHub

Record a scientific-method entry for an experiment — hypothesis, setup, outcome, lesson. Use before running any non-trivial experiment (new feature, new model, new CV strategy, new agent tactic) so the hypothesis is written down BEFORE the result. Also use when the user says "log experiment", "track this test", or "record the hypothesis".

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create the file with a header if absent:

    line 14
  2. Very specific:

    Recall: Run the recall-learnings skill with keywords from Setup.

    line 41
  3. Very specific:

    Decide capture: If the Lesson is durable beyond this experiment, invoke capture-learning to promote it to .learnings/.

    line 49
  4. Distinctive:

    Lesson must be one sentence: If it needs more, it belongs as a capture.

    line 55
  5. Distinctive:

    After every 10 experiments, run a meta-review: how often did your hypotheses match in direction?

    line 59

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

Keeps you honest: you state what you expect before you see the result. Over time this is where you find your calibration blind spots.

File

competitions/<slug>/experiments/EXPERIMENTS.md. Append-only. Newest last.

Create the file with a header if absent:

# Experiments — <slug>

Format per entry:
- **ID / date / branch-or-commit**
- **Hypothesis** — predict direction + magnitude
- **Setup** — what's different from baseline
- **Priors** — learning IDs cited (from recall-learnings)
- **Outcome** — CV metric, LB delta if submitted
- **Lesson** — what the result updated in your mental model

---

Steps (before running)

  1. Invent the ID: E-YYYY-MM-DD-NNN (sequence per-day, per-competition).
  2. Write the entry stub (all fields except Outcome and Lesson):
    ## E-2026-04-18-001  (2026-04-18, branch: agent-v3)
    **Hypothesis** — Adding 3-turn lookahead in the greedy scorer will lift win-rate vs baseline from ~60% to 70-75%.
    **Setup** — `agents/v3_lookahead/agent.py`; identical opponent; N=50 matches; seed pool {0..49}.
    **Priors** — (cite any from recall-learnings)
    **Outcome** — (pending)
    **Lesson** — (pending)
  3. Recall. Run the recall-learnings skill with keywords from Setup; cite anything applicable in the **Priors** line.

Steps (after running)

  1. Fill Outcome with concrete numbers. Include direction (improved / regressed / flat) and magnitude.
  2. Fill Lesson in one sentence — the delta between your hypothesis and the outcome:
    • Hypothesis matched → lesson is about what confirmed it (strengthen the pattern).
    • Hypothesis missed → lesson is about which assumption broke (weaken or invert the pattern).
  3. Decide capture. If the Lesson is durable beyond this experiment, invoke capture-learning to promote it to .learnings/.

Discipline

  • Hypothesis must predict direction AND magnitude. "It will help" is not a hypothesis.
  • Setup must be reproducible. Seed, sample size, opponent/baseline, code branch.
  • Lesson must be one sentence. If it needs more, it belongs as a capture.

The calibration loop

After every 10 experiments, run a meta-review: how often did your hypotheses match in direction? In magnitude? Systematic overconfidence → predict smaller effects. Systematic underconfidence → try bolder changes.

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.