Autoresearch Skill Andrej Karpathy banner
Muminur Muminur

Autoresearch Skill Andrej Karpathy

Data community

Description

Claude Code skill for autonomous, goal-directed iteration. /autoresearch <goal> builds a real-data benchmark harness, captures a baseline, and iterates with a regression gate until the goal is hit. Inspired by Andrej Karpathy's autoresearch.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

🔬 Autoresearch Skill

Autonomous, Goal-Directed Iteration for Claude Code

*Inspired by [Andrej Karpathy's autoresearch](https://github.com/karpathy/autoresearch) — extended into a universal, real-data benchmark-driven workflow for any engineering task.*

[![Version](https://img.shields.io/badge/version-1.0.4-blue.svg)](./SKILL.md) [![Claude Code](https://img.shields.io/badge/Claude%20Code-v1.0.32%2B-8A2BE2.svg)](https://docs.claude.com/en/docs/claude-code) [![License](https://img.shields.io/badge/license-MIT-green.svg)](./LICENSE) [![Karpathy](https://img.shields.io/badge/inspired%20by-karpathy-FF6F00.svg)](https://github.com/karpathy/autoresearch) [![Status](https://img.shields.io/badge/status-production--ready-brightgreen.svg)](#)


          ╔════════════════════════════════════════════════════╗
          ║   MODIFY → VERIFY → REGRESS → KEEP / DISCARD → ∞   ║
          ╚════════════════════════════════════════════════════╝

✨ What is this?

**Autoresearch** is a Claude Code skill that turns a free-form goal like

/autoresearch reduce API p95 latency to 200ms

into an **autonomous, self-correcting optimization loop** that:

  1. 🧠 Parses the goal into seven machine-readable slots
  2. 📦 Ingests real data (refusing synthetic corpora)
  3. 🛠️ Builds a single-file benchmark harness
  4. 📐 Captures a baseline + regression test count
  5. 🔁 Iterates — one atomic change at a time
  6. Keeps wins, 🗑️ auto-discards regressions, logs everything
  7. 🏁 Stops when the target metric is hit

No hand-holding. No "should I continue?" Just mechanical iteration until the goal is reached.


🌟 Why use it?

🎯 Mechanical, not subjective

Every iteration is judged by a single floating-point metric extracted from a command. "Looks better" is banned.

🛡️ Regression-proof

A hard gate rolls back any change that drops a pre-existin