AutoResearch Optimization Loop

•
5
•

Automates the Karpathy-style optimization loop by iteratively modifying code and measuring improvements against specific metrics.

The AutoResearch skill implements an autonomous feedback loop designed to optimize any measurable target in your codebase, such as execution speed, bundle size, or test pass rates. Based on Andre Karpathy's research pattern, the skill follows a structured 'Setup-Loop-Debrief' workflow where it makes isolated changes, verifies them against defined constraints, and only persists modifications that show measurable improvement. It handles Git versioning, baseline establishment, and provides a detailed audit log in TSV format, making it ideal for fine-tuning performance, reducing costs, or increasing model accuracy without manual trial-and-error.

Características Principales

015 GitHub stars
02Statistical median-based baseline establishment and scoring
03Smart strategy selection based on success history and expected impact
04Automatic Git version control with stashing, committing, and reverting
05Autonomous modification and measurement cycle for any numeric target
06Configurable constraint commands to ensure changes never break core functionality

Casos de Uso

01Reducing CI/CD execution time by fine-tuning parallelization and test fixture scopes.
02Optimizing JavaScript bundle sizes by iteratively adjusting build configurations and imports.
03Improving prompt engineering accuracy by testing variations against a quantitative score.