karpathy-loop SKILL.md skillA

karpathy-loop from ahmadhammoud56/moaa is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ahmadhammoud56/moaa/karpathy-loop@git:20261031.c8bd52c

Pins git:20261031.c8bd52c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
ahmadhammoud56/moaa
Path
plugins/agent-arena-mode/skills/karpathy-loop/SKILL.md
Versions recorded
3
Latest version
git:20261031.c8bd52c, committed Oct 31, 2026
First version recorded
Oct 24, 2026
Size
3,003 bytes
Repository stars
5
License
MIT

Improve something against a fixed number - edit, measure with a script the agent may not change, keep the change if the number improved, otherwise revert, repeat until the budget runs out (after Karpathy's autoresearch). Use for tuning code speed, model loss, test pass rate, file size or any measurable target, or when the user invokes /agent-arena-mode:karpathy-loop.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Agent Arena: Karpathy loop

Request: `$ARGUMENTS`. `L` means `python "${CLAUDE_PLUGIN_ROOT}/scripts/loop.py"` (`py` on Windows), one standalone
command. Loop folder: `.claude/loop/<slug>/` in the project.

The loop runs unattended because a number, not a reader, judges each attempt. Everything here protects that number.

1. **Metric first.** Agree with the user on a command that prints one number and finishes in minutes (a benchmark, a
   validation score, failing-test count, bundle size). The metric script, its data and the tests it uses are fixed:
   never edit them during the loop. If none exists, write it with the user before starting, and commit it.
2. **Set up.** In a git repository with a clean working tree (commit or stash the user's work first; ask if unsure),
   run `L init <dir> --metric "<cmd>" --direction min|max --max-iters N [--max-minutes M] [--target T]
   [--patience P]`. It measures the baseline. Stop rules (on by default, `--stop-rule off` or `MOAA_LOOP_STOP_RULE=off`): with `--target`, the
   loop is done when the target holds in two runs in a row (the kept run plus one re-measure); after P discards in a
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ahmadhammoud56/moaa/karpathy-loop@sha256:f95adaf84a08d286

The line at the top of this page pins the label git:20261031.c8bd52c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_cr436iwonlg24wjx.svg)](https://markdownregistry.com/a/art_cr436iwonlg24wjx)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Oct 24, 2026 and Oct 31, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
git:20261031.c8bd52c latest2026-10-31 c8bd52c 3,003 BA view · diff
git:20261031.5376ed62026-10-31 5376ed6 2,974 BA view · diff
git:20261024.c94a4612026-10-24 c94a461 2,549 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3003 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ahmadhammoud56/moaa · 5 stars · license MIT · pushed 2026-10-31 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_cr436iwonlg24wjx
GET https://markdownregistry.com/api/v1/resolve?ref=ahmadhammoud56/moaa/karpathy-loop
GET https://markdownregistry.com/api/v1/blob/f95adaf84a08d2866c421e25871c9454aeba2c380ac76827fd03acbcf15e0ee6

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from ahmadhammoud56/moaa

AGENTS.md AGENTS.md file
ahmadhammoud56/moaa · AGENTS.md
git:20261026.5036e01 · audit A · 5 stars
CLAUDE.md CLAUDE.md file
ahmadhammoud56/moaa · CLAUDE.md
git:20261026.5036e01 · audit B · 5 stars
cascade SKILL.md skill
ahmadhammoud56/moaa · plugins/agent-arena-mode/skills/cascade/SKILL.md · Explore many agent proposals and progressively invest in the strongest survivors. Use when the user requests…
git:20261011.397dbb2 · audit A · 5 stars
effort-trial SKILL.md skill
ahmadhammoud56/moaa · plugins/agent-arena-mode/skills/effort-trial/SKILL.md · Measure whether council roles find more at a higher effort than at a lower one, per unit of cost, and suggest each…
git:20261021.a5ed6ab · audit A · 5 stars
evolution SKILL.md skill
ahmadhammoud56/moaa · plugins/agent-arena-mode/skills/evolution/SKILL.md · Evolve agent populations through inheritance, selection, mutation, and final synthesis. Use when the user requests…
git:20261011.397dbb2 · audit A · 5 stars
fold-trial SKILL.md skill
ahmadhammoud56/moaa · plugins/agent-arena-mode/skills/fold-trial/SKILL.md · Measure whether a council of subagents beats one agent loop on your own tasks, per unit of cost - the same frozen tasks…
git:20261031.7519e8c · audit A · 5 stars
harness-league SKILL.md skill
ahmadhammoud56/moaa · plugins/agent-arena-mode/skills/harness-league/SKILL.md · Compare agent harnesses (Claude Code, Codex, Gemini CLI, OpenCode through allies) on the same frozen tasks, judged…
git:20261031.7519e8c · audit A · 5 stars
judge SKILL.md skill
ahmadhammoud56/moaa · plugins/agent-arena-mode/skills/judge/SKILL.md · Select the best of independent agent answers with one strong judge. Use when the user requests agent-arena judge mode…
git:20261011.397dbb2 · audit A · 5 stars
league SKILL.md skill
ahmadhammoud56/moaa · plugins/agent-arena-mode/skills/league/SKILL.md · Compare frozen agent answers across repeated Elo-rated matches. Use when the user requests agent-arena league mode or…
git:20261011.397dbb2 · audit A · 5 stars
library SKILL.md skill
ahmadhammoud56/moaa · plugins/agent-arena-mode/skills/library/SKILL.md · Find, inspect, load, and reuse the best saved agent-arena profiles and results from the persistent database. Use when…
git:20261014.0c821c5 · audit A · 5 stars
redteam SKILL.md skill
ahmadhammoud56/moaa · plugins/agent-arena-mode/skills/redteam/SKILL.md · Use adversarial agents to test, repair, and validate competing solutions. Use when the user requests agent-arena…
git:20261011.397dbb2 · audit A · 5 stars
swarm SKILL.md skill
ahmadhammoud56/moaa · plugins/agent-arena-mode/skills/swarm/SKILL.md · Run collaborative agent competition with shared findings and iterative elimination. Use when the user requests…
git:20261011.397dbb2 · audit A · 5 stars

Every file in ahmadhammoud56/moaa

Other files named karpathy-loop

karpathy-loop SKILL.md skill
andersonlimahw/lemon-ai-hub · plugins/karpathy-loop/SKILL.md · Executes autonomous Loop Engineering cycles for continuous software engineering optimization — performance, build time…
v2.1.0 · audit A · 17 stars

Browse by kind, by grade A, or by owner.