Autoresearch Optimizer
Automates the iterative improvement of codebase metrics like performance, test coverage, and accuracy through autonomous hill-climbing loops.
Autoresearch is a sophisticated Claude Code skill designed for autonomous codebase optimization based on the Karpathy autoresearch pattern. It creates a self-correcting loop that iteratively observes failures, hypothesizes improvements, executes code edits, and evaluates results against defined scalar metrics. Whether you are aiming to increase test coverage, reduce latency, or improve model accuracy, this skill manages the entire lifecycle—from baseline setting to git-backed 'ratcheting'—ensuring that gains are preserved while maintaining strict code quality guards and scope constraints.
Key Features
01Git-backed ratcheting system that automatically commits gains and reverts regressions.
02Autonomous OHEE (Observe, Hypothesize, Experiment, Evaluate) optimization loop.
030 GitHub stars
04Smart executor routing between Claude, Cursor, and Codex based on task complexity.
05Interactive discovery phase to define metrics, mutable scopes, and guard commands.
06Detailed session reporting with baseline comparisons and convergence analysis.
Use Cases
01Increasing unit test coverage for specific modules without manual intervention.
02Iteratively optimizing API latency or algorithm performance to meet specific targets.
03Improving pass rates for complex evaluation suites or accuracy benchmarks.