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.
$npx -y skills add gaasher/agent-loop-skills --skill karpathyInstalls into the current project.
Run `npx skills use "https://github.com/gaasher/agent-loop-skills" --skill "gaasher/agent-loop-skills/karpathy"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/gaasher/agent-loop-skills" that are relevant to the current task. Run `npx skills add "https://github.com/gaasher/agent-loop-skills"` and select the relevant skills, then follow their instructions.