Measurement-driven optimization loop for a specific function, algorithm, or pipeline. Given a target piece of code, generates a correctness test and a benchmark, presents both for user review listing exactly what is checked and how, and after approval iterates — one change at a time, keeping only improvements above the observed noise floor that reproduce on a second benchmark invocation and preserve correctness against an immutable oracle, logging every experiment including discards. Supports two modes — interactive co-drive, or autonomous long-running (8–12h default) with an upfront session charter, silent loop, web-search-driven hypothesis generation, and hard-blocker-only escalation. Trigger when the user asks to optimize, speed up, reduce memory of, or benchmark a specific piece of code, requests an overnight or long unattended optimization run, or invokes /claude-optimizer-skill.
2026-04-17