autoresearch
Installation
SKILL.md
Autoresearch
Autonomous experiment loop: try ideas, measure results, keep what works, discard what doesn't, never stop.
Works for any optimization target: test speed, bundle size, LLM training, build times, Lighthouse scores, binary size, latency, memory usage.
Setup
If autoresearch.md already exists in the working directory, skip setup and resume the loop — read autoresearch.md, autoresearch.jsonl, and git log, then continue experimenting.
Otherwise:
- Gather context: Ask (or infer from
$ARGUMENTSand conversation) the Goal, Command to benchmark, Primary metric (name + direction), Files in scope, and Constraints. - Create branch:
git checkout -b autoresearch/<goal>-<date>(e.g.autoresearch/test-speed-2026-03-21). - Read source files: Understand the workload deeply before writing anything. Read every file in scope.
- Write session files: Create
autoresearch.mdandautoresearch.sh(see templates below). If constraints require correctness validation (tests must pass, types must check), also createautoresearch.checks.sh. Commit all. - Run baseline: Execute the first experiment with no changes to establish the baseline metric.
- Start looping: Begin the experiment loop immediately after the baseline is logged.