Skill / SKILL.md

karpathy

gaasher/Agent-Loop-Skills

Use when the user wants the LLM to do its own ML research: a fully-autonomous loop that hacks the training code, runs it, and keeps changes that lower a single scalar metric (e.g. val_bpb). One agent proposes one change at a time, runs training in the user's env, keeps it only if the metric improves (advancing a git branch) else reverts, and loops forever until the human interrupts. A faithful adaptation of Karpathy's autoresearch. Not for the analysis-first variant that profiles before editing (that is ml-autoresearch), and not for a budgeted, plateau-stopping refactor.
2 views 185 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Use when the user wants the LLM to do its own ML research: a fully-autonomous loop that hacks the training code, runs it, and keeps changes that lower a single scalar metric (e.g. val_bpb). One agent proposes one change at a time, runs training in the user's env, keeps it only if the metric improves (advancing a git branch) else reverts, and loops forever until the human interrupts. A faithful adaptation of Karpathy's autoresearch. Not for the analysis-first variant that profiles before editing (that is ml-autoresearch), and not for a budgeted, plateau-stopping refactor.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/gaasher/Agent-Loop-Skills' skill-source

Use the complete skill-source/loops/karpathy directory with your client’s skill installer.

Source directory loops/karpathy

Compatibility & requirements

Declared compatibility

Requires Python 3.9+

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
836bf268eb926a351b1a052afa8800a82fab8c4fa188df0a50f746f816706477
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills