From mlx
Autonomous time-budget experiment loop. Modify a training script, train for a fixed wall-clock budget, evaluate, record, repeat. Inspired by karpathy/autoresearch. Use for overnight architecture search, systematic hyperparameter sweeps, or any iterative model improvement workflow.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mlx:autoexperimentopusThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run autonomous time-budget experiment loops. Each iteration modifies `train.py`,
Run autonomous time-budget experiment loops. Each iteration modifies train.py,
trains for a fixed wall-clock budget, evaluates, records in results.tsv, and repeats.
results.tsv exists with a baseline (exp000) before iteratingEXPERIMENT.md with your goal, baseline, hypothesis, and constraints/mlx:autoexperiment path/to/train.pyEXPERIMENT.md for the current hypothesisresults.tsv for experiment historytrain.py with the single changetimeout $BUDGET uv run train.pyresults.tsv: KEEP / DISCARD / CRASHEXPERIMENT.md "Next to try" sectionSee references/EXPERIMENT.md.template for the hypothesis file format.
See scripts/time_budget_train.py for a complete training script template with all patterns.
total_nats / (math.log(2) * total_bytes) — vocab-independent metricif math.isnan(loss) or loss > 100: sys.exit(1)See references/autoexperiment-guide.md for full documentation.
npx claudepluginhub damionrashford/mlx --plugin mlxRuns an autonomous ML research loop that edits training code, runs it, and keeps changes that lower a single scalar metric. Use for hands-off optimization of one training script.
Curated index of autonomous improvement loops and research agents following the keep-or-revert pattern for code optimization, ML experimentation, and any measurable metric.
Sets up and runs an autonomous experiment loop for any optimization target. Gathers what to optimize and starts iterating. Triggered by phrases like 'run autoresearch' or 'optimize X in a loop'.