What it does\nAGR implements an autonomous optimization loop (the Ralph Loop) for any measurable problem. It spawns fresh agent instances to prevent context degradation, implementing a cycle of: experiment → implement → measure metric → verify guard → keep/discard. It is designed to optimize software metrics like speed, accuracy, or bundle size without breaking core functionality.\n\n## When to use it\nUse this skill when you need to perform exhaustive, autonomous research or optimization on a codebase where success can be quantified by a number (metric) and correctness can be verified by a test (guard).\n\n## What's included\n- References: Templates for benchmark scripts, strategy documents, and results logging.\n- Instructions: Detailed decision logic for keeping or discarding experiments based on variance-aware acceptance and artifact detection.\n- Setup Wizard: A guided process to define metrics, guards, and target files.\n\n## Compatible agents\nSpecifically designed for Claude Code (v2.1.72+) using headless mode (claude -p), but architecturally agent-agnostic.
Not yet audited
This skill has not been reviewed by our automated audit pipeline yet.