autoresearch

Automate iterative experiments to optimize a measurable metric.

27|2|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/maragudk/fabrik --skill autoresearch-maragudk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autoresearch
Source: https://github.com/maragudk/fabrik/tree/main/skills/autoresearch
Command: npx skills add https://github.com/maragudk/fabrik --skill autoresearch-maragudk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates autonomous experimentation to optimize a measurable metric by iteratively branching, measuring, and deciding which changes to keep.

Core Features & Use Cases

  • Plan phase: collect goal, verify command, optional guard, and scope interactively.
  • Loop phase: run automated experiments that modify code, measure outcomes, and merge the best results.
  • Use cases: optimize code performance, reduce build size, improve model quality, or any task with a numeric objective.

Quick Start

Set a goal and a verify command, then start the autoresearch loop.

Frequently Asked Questions about autoresearch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate metric optimization for my codebase?

Automated metric optimization works by iteratively branching, measuring, and deciding which changes to keep. It applies to any domain with a quantifiable objective, such as code performance or build size, by running autonomous experiments until the goal is met.

What do I need to start autonomous experimentation for performance tuning?

To start autonomous experimentation, you need a clear numeric goal, a shell command to verify the metric, an optional guard to block unsafe changes, and an optional scope to limit file modifications. The process operates in two phases: plan and loop.

Can I restrict file modifications during automated code optimization?

Yes, you can restrict file modifications by defining an optional scope. This limits the autonomous experimentation to specific areas, preventing unintended changes to the rest of the codebase during the optimization loop.

How do I prevent unsafe code changes during automated branching?

Prevent unsafe code changes by defining an optional guard before starting the loop. This guard acts as a safety check to block modifications that violate your constraints while the system attempts to optimize the measurable metric.

Does automated metric optimization work for reducing build size?

Yes, automated metric optimization works for reducing build size. It supports any task with a numeric objective and a shell command to verify the outcome, iterating through branching and measurement to achieve the target size.