autodev

Automate iterative performance optimization of a single file using benchmark and metric commands.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/Xza85hrf/claude-code-agent-kit --skill autodev-xza85hrf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autodev
Source: https://github.com/Xza85hrf/claude-code-agent-kit/tree/main/.claude/skills/optimization/autodev
Command: npx skills add https://github.com/Xza85hrf/claude-code-agent-kit --skill autodev-xza85hrf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates end-to-end performance optimization by iteratively refining a single target file using measurable benchmarks.

Core Features & Use Cases

  • Iterative optimization loop: generate a hypothesis, run a benchmark, compare results, and commit improvements to a single target file.
  • Configurable metrics & direction: supports custom benchmark and metric commands and a direction (higher or lower) for the optimization objective.
  • Use Case: optimize a hot path in src/foo.ts to improve throughput while preserving correctness.

Quick Start

Execute the autodev skill on a single target file by providing a benchmark command, a metric extractor, and the optimization direction to begin the overnight optimization loop.

Frequently Asked Questions about autodev

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

FAQPage Schema
How do I automate single-file performance optimization?

Automate single-file performance optimization by providing a target file, a benchmark command, a metric extraction command, and an optimization direction to run an iterative refinement loop. The system generates hypotheses, measures improvements, and commits changes automatically.

What is iterative code benchmarking and how does it improve throughput?

Iterative code benchmarking is a process of generating optimization hypotheses, running measurable benchmarks, comparing results, and committing improvements to a target file. It improves throughput by validating each code change against a defined metric before keeping it.

Do I need a custom benchmark command to optimize a hot path in my code?

Yes, you need a custom benchmark command and a metric extraction command to optimize a hot path. These inputs define the measurable objective and allow the automated loop to evaluate whether each iterative code change improves performance in your specified direction.

Can I set a budget or limit iterations for automated performance optimization?

Yes, you can set an optional budget and iteration limits for the automated performance optimization loop. These constraints control how many experimental cycles the process runs when refining your single target file overnight.

What's the best way to optimize a single target file without breaking correctness?

The best way to optimize a single target file without breaking correctness is using an iterative benchmark loop. It measures performance improvements against a defined metric and only commits changes that successfully improve the target while preserving the expected behavior.

When should I not use an automated iterative optimization loop?

You should not use an automated iterative optimization loop for multi-file refactoring or when you lack a defined benchmark and metric extraction command. The process is strictly designed for single-file targets with measurable performance objectives.