Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurf+15 more

    Optimization-Loop

    by Martin Gunderman

    1

    Autonomous loop that iteratively modifies, evaluates, and selects the best version of any text resource — skills, prompts, or campaigns — using a modify-measure-keep/discard cycle.

    Secure checkout via Stripe

    1 installSecurity scanned

    See it in action

    You say

    Customer: John Smith Email: john@example.com API Key: sk-123456789

    Your agent does

    Customer: [PERSON_1] Email: [EMAIL_1] API Key: [API_KEY_1]

    What you get

    Optimize an agent skill prompt to improve task success rate across test scenariosIteratively refine a sales conversation script (e.g., Emma's outbound prompt) for higher conversion scoresRun unattended optimization cycles on campaign copy using click/conversion metricsA/B test prompt variations with LLM-judge scoring when live metrics aren't available

    About this skill

    Auto-Optimize is an autonomous optimization loop for text-based resources such as agent skills, prompts, and campaign copy. Inspired by Andrej Karpathy's autoresearch methodology, it applies the same principle that works for training models — modify, measure, keep or discard, repeat — to the domain of text optimization.

    The skill operates on files stored in a dedicated targets directory. Each optimization cycle makes exactly one targeted change, evaluates the result using either live metrics or simulated LLM-judge scoring, and logs the outcome to a results file. If the change improves the score, it's kept and becomes the new baseline. If it performs the same or worse, it's discarded via a hard git reset. This ensures the optimization path is always traceable, reversible, and never accumulates unverified changes.

    The evaluation method adapts to the target type: skills are scored on task success rate through agent testing, prompts through simulated conversation scoring across multiple criteria, and campaigns through real click and conversion data. When live metrics are unavailable, the skill uses delegate_task with an evaluator LLM to simulate and score conversations based on per-target evaluation criteria.

    Key constraints keep the process grounded: only one change per experiment, a simplicity criterion where removing code that performs equally is always kept, no bundling of multiple ideas, and changes must be large enough to matter but small enough to review. The loop runs continuously until interrupted by a human, and it never asks for permission to continue — it just optimizes.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    1 install

    Downloaded by developers to date

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    Installs1
    Listed1 month ago

    Creator

    I use Agent Skills to increase my Work Output by a factor of 35 % ore more.

    Frequently Asked Questions

    Popular in AI Agents & LLM Ops