agentleFS
YauhenBichelYauhenBichel/engineering-skills/skills/ml-experiment/SKILL.md

ml-experiment

Skill0 starsChanged 54 days agoApache-2.0View on GitHub

Runs a machine-learning experiment that can be trusted. Use when training or evaluating models.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 0

    Distinctive

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

    Run a simple baseline (majority class or mean prediction).

    line 8
  2. Very specific:

    Run uv run python train.py --seed <N> for at least three seeds.

    line 10

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “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

Steps

  1. Fix the train/validation/test split and save it (for example data/split.csv). When rows are related (same user, subject or session), split by that group so none appears in two sets.
  2. Run a simple baseline (majority class or mean prediction). Save scores to baseline_results.json.
  3. Select the primary metric (e.g., roc_auc or f1) before training. Write it to config.yaml.
  4. Run uv run python train.py --seed <N> for at least three seeds. Save weights to models/seed_<N>/.
  5. Evaluate each seed on the test set. Compute mean and standard deviation.
  6. Log config, data version hash, and metrics to logs/run_<ID>.jsonl.
  7. Compare model results against the baseline. Report absolute improvement and statistical significance.

Checklist

  • Split file exists and matches data schema
  • Baseline metrics recorded before training starts
  • Primary metric defined in config
  • At least three seeds run and evaluated
  • Data version (a hash of the data files) is recorded
  • Test set untouched during tuning
  • Results logged with exact config hash

Output

  • baseline_results.json with raw scores
  • logs/run_<ID>.jsonl with config, data hash, and per-seed metrics
  • Comparison table showing mean, spread, and delta vs baseline
  • Final verdict: pass or fail against threshold

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.