autoresearch

Automate iterative code-improvement cycles with git branches and metric targets.

226|55|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/Miosa-osa/canopy --skill autoresearch-miosa-osa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autoresearch
Source: https://github.com/Miosa-osa/canopy/tree/main/library/skills/development/autoresearch
Command: npx skills add https://github.com/Miosa-osa/canopy --skill autoresearch-miosa-osa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Traditional code improvement is manual, slow, and error-prone. This Skill automates iterative experimentation, measurement, and decision-making to continuously enhance code quality and performance.

Core Features & Use Cases

  • Automated experiment cycle: baseline → analysis → hypothesis → implement → measure → decide.
  • Git-backed history: every change is committed with a descriptive message; branches isolate experiments.
  • Target-driven progress: loops terminate when a metric reaches the target or max iterations are exhausted, with stall handling.

Quick Start

Start an autoresearch session by running /autoresearch with a --metric and a --target to begin iterative improvements.

Frequently Asked Questions about autoresearch

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

FAQPage Schema
How do I automate iterative code improvement cycles?

Automated code improvement works by running a defined metric command to establish a baseline, testing a hypothesis, implementing changes, and measuring results. The cycle repeats automatically until the target metric is reached or maximum iterations are exhausted.

What do I need to run automated code experiments with git branching?

You need a runnable metric command to measure results, git for branching and history, and the ability to create and switch branches per iteration. These prerequisites allow the workflow to isolate experiments and commit changes with descriptive messages.

How does the automated experimentation workflow handle stalled progress?

The automated experimentation workflow handles stalled progress by terminating the loop when a metric reaches the target or maximum iterations are exhausted. It includes stall handling to prevent infinite loops when improvements plateau during the cycle.

Can I use automated code improvement across different programming languages?

Yes, automated code improvement works across languages and projects. It applies a repeatable workflow from baseline through analysis, hypothesis, implementation, measurement, and decision, requiring only a runnable metric command and git for version control.

What is the best way to measure and commit code changes against a performance target?

The best way to measure and commit code changes against a target is to use an automated experiment cycle that establishes a baseline, implements improvements, measures results, and commits changes to git branches with descriptive messages until the target is met.