karpathy-loop SKILL.md skillA
karpathy-loop from andersonlimahw/lemon-ai-hub is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add andersonlimahw/lemon-ai-hub/karpathy-loop@v2.1.0Pins v2.1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- andersonlimahw/lemon-ai-hub
- Path
plugins/karpathy-loop/SKILL.md- Versions recorded
- 2
- Latest version
- v2.1.0, committed Sep 7, 2026
- First version recorded
- Jul 10, 2026
- Size
- 5,597 bytes
- Repository stars
- 17
- License
- MIT
Executes autonomous Loop Engineering cycles for continuous software engineering optimization — performance, build time, bundle size, test coverage, correctness — against any measurable metric.
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
# Karpathy Loop (Loop Engineering) Implements **Loop Engineering** — the practice of delegating experimentation loops to an AI agent that iteratively modifies code, runs a timed experiment, evaluates a metric, and decides to keep or revert the change. Generalized from Andrej Karpathy's Autoresearch method to general-purpose software engineering: performance tuning, build/CI optimization, bundle-size reduction, test-coverage loops, flaky-test fixes, refactors — anything with a measurable metric and a revert path. No ML/GPU/dataset assumptions required. ## Core Architecture Three-part contract: | Part | Role | Agent Editable? | Required? | |------|------|----------------|-----------| | Setup script (wired via the `evaluation_script` field; e.g. `prepare.sh`, fixtures, seed data) | Deterministic baseline for the experiment | No (immutable baseline) | Optional — see `evaluation_script` under `/runLoop` below | | Target file(s) | The code under optimization — any language, any layer | Yes (agent's playground) | Required | | `program.md` | Human-written instructions, constraints, metric definition, and acceptance criteria | No (human edits only) | Required | …
Read the whole file at its exact version.
How to install
mdr add andersonlimahw/lemon-ai-hub/karpathy-loop@sha256:91479c74b3a6c01fThe line at the top of this page pins the label v2.1.0, 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.
[](https://markdownregistry.com/a/art_bkc4qnvsbfv4a6hf)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Jul 10, 2026 and Sep 7, 2026, about one every 59 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.1.0 latest | 2026-09-07 | 68f584a | 5,597 B | A | view · diff |
| v2.0.0 | 2026-07-10 | 9c72b5d | 4,797 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5597 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
andersonlimahw/lemon-ai-hub · 17 stars · license MIT · pushed 2026-10-16 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_bkc4qnvsbfv4a6hf GET https://markdownregistry.com/api/v1/resolve?ref=andersonlimahw/lemon-ai-hub/karpathy-loop GET https://markdownregistry.com/api/v1/blob/91479c74b3a6c01f22311146a2c40d4ba2787ac30742fe97dfa045e052f3c7f9
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 andersonlimahw/lemon-ai-hub
Every file in andersonlimahw/lemon-ai-hub