Autoresearch Experiment Runner

0•

Executes a single, systematic code experimentation iteration by applying isolated changes, evaluating performance metrics, and retaining only verified improvements.

The Autoresearch Experiment Runner skill enables Claude Code to execute controlled, iterative code optimization cycles via the /ar:run command. By reviewing previous experiment logs, the skill applies structured escalation strategies—progressing from quick wins to algorithmic refactoring—modifying only target files while strictly preserving evaluation harnesses. It commits changes, runs automated evaluations, reports keep/discard decisions based on objective metrics, and automatically updates strategy documentation to drive continuous, data-driven code improvements.

Key Features

01Implements phased escalation strategies based on iteration count and prior results
02Performs automatic self-reflection and strategy updates every ten iterations
03Tracks performance deltas and updates experiment logs (results.tsv) in real-time
04Executes isolated single-change experiment iterations with automatic git branch management
050 GitHub stars
06Evaluates code against fixed benchmark harnesses with automatic revert on failure

Use Cases

01Refactoring performance-critical code while preventing behavioral regressions
02Hyperparameter tuning and prompt engineering experiments with strict evaluation metrics
03Optimizing API endpoints and backend algorithms for latency and throughput