Skip to content

Autonomous experiment loop that edits one file, measures a metric, and keeps only measured improvements.

CCM score
66 of 100
skills.sh installs
608
GitHub stars
30.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the iteration cycle: one edit per experiment, a fixed evaluation, then keep or revert via git commit and reset
  • Includes setup and loop commands (setup_experiment.py, run_experiment.py --single, /ar-loop) plus results logging to results.tsv
  • Enforces a fixed evaluator that the agent must never modify, and pauses after 5 consecutive crashes
  • Designed for optimizing code speed, bundle size, test pass rate, prompts, or copy in any git repo with a measurable eval command

Install

$ npx -y skills add alirezarezvani/claude-skills --skill autoresearch-agent -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Autoresearch Agent

You sleep. The agent experiments. You wake up to results.

Autonomous experiment loop inspired by Karpathy's autoresearch. The agent edits one file, runs a fixed evaluation, keeps improvements, discards failures, and loops indefinitely.

Not one guess — fifty measured attempts, compounding.


Slash Commands

CommandWhat it does
/autoresearch-agent:setupSet up a new experiment interactively
/ar-runRun a single experiment iteration
/ar-loopStart autonomous loop with configurable interval (10m, 1h, daily, weekly, monthly)
/ar-statusShow dashboard and results
/ar-resumeResume a paused experiment

When This Skill Activates

Recognize these patterns from the user:

  • "Make this faster / smaller / better"
  • "Optimize [file] for [metric]"
  • "Improve my [headlines / copy / prompts]"
  • "Run experiments overnight"
  • "I want to get [metric] from X to Y"
  • Any request involving: optimize, benchmark, improve, experiment loop, autoresearch

If the user describes a target file + a way to measure success → this skill applies.


Details

Repository
github.com/alirezarezvani/claude-skills
Categories
Agent Workflow & Planning, AI Agents & LLM Apps
First seen
Jun 3, 2026

Questions

What does the autoresearch-agent skill do?

The autoresearch-agent skill runs an autonomous experiment loop that edits one target file, runs a fixed evaluation, keeps improvements through git commits, and discards failures with git reset. It is inspired by Karpathy's autoresearch and loops until stopped.

What does autoresearch-agent need before it can run?

The autoresearch-agent skill requires a target file, an evaluation command that outputs a metric, and a git repository. Its setup script then creates an experiment directory with a config, a program file and a results log.

How do I install the autoresearch-agent skill?

Run npx -y skills add alirezarezvani/claude-skills --skill autoresearch-agent -y inside your project. Once installed, autoresearch-agent lets the agent optimize a file against a measurable metric such as speed, size or test pass rate.

Which kinds of files can autoresearch-agent optimize?

The autoresearch-agent skill can optimize code speed, bundle or image size, test pass rate, prompts, and content such as headlines and copy. Any file with a measurable metric can be used as the target.

Where does autoresearch-agent stand in its category?

The autoresearch-agent skill sits in the Agent Workflow & Planning category on Claude Marketplaces, with grill-me, grill-with-docs and setup-matt-pocock-skills among its neighbors. It differs by running measured experiments that keep wins and reset losses.

More from alirezarezvani/claude-skills

All 259

Similar to Autoresearch Agent

More Agent Workflow & Planning