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:

  1. Gather context: Ask (or infer from $ARGUMENTS and conversation) the Goal, Command to benchmark, Primary metric (name + direction), Files in scope, and Constraints.
  2. Create branch: git checkout -b autoresearch/<goal>-<date> (e.g. autoresearch/test-speed-2026-03-21).
  3. Read source files: Understand the workload deeply before writing anything. Read every file in scope.
  4. Write session files: Create autoresearch.md and autoresearch.sh (see templates below). If constraints require correctness validation (tests must pass, types must check), also create autoresearch.checks.sh. Commit all.
  5. Run baseline: Execute the first experiment with no changes to establish the baseline metric.
  6. Start looping: Begin the experiment loop immediately after the baseline is logged.
Related skills

More from paulrberg/dot-agents

Installs
1
GitHub Stars
4
First Seen
Apr 10, 2026