
Optimization-Loop
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.
- Optimize an agent skill prompt to improve task success rate across test scenarios
- Iteratively refine a sales conversation script (e.g., Emma's outbound prompt) for higher conversion scores
- Run unattended optimization cycles on campaign copy using click/conversion metrics
$19
· or 95 creditsSecure checkout via Stripe
Included in download
- Iteratively refine a sales conversation script (e.g., Emma's outbound prompt) for higher conversion scores
- Run unattended optimization cycles on campaign copy using click/conversion metrics
- terminal automation included
- Ready for Compatible with Claude Code
Sample input
Customer: John Smith Email: john@example.com API Key: sk-123456789
Sample output
Customer: [PERSON_1] Email: [EMAIL_1] API Key: [API_KEY_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.
$19
· or 95 creditsSecure checkout via Stripe
Included in download
- Iteratively refine a sales conversation script (e.g., Emma's outbound prompt) for higher conversion scores
- Run unattended optimization cycles on campaign copy using click/conversion metrics
- terminal automation included
- Ready for Compatible with Claude Code
- Instant install
Sample input
Customer: John Smith Email: john@example.com API Key: sk-123456789
Sample output
Customer: [PERSON_1] Email: [EMAIL_1] API Key: [API_KEY_1]
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.
Use Cases
- Optimize an agent skill prompt to improve task success rate across test scenarios
- Iteratively refine a sales conversation script (e.g., Emma's outbound prompt) for higher conversion scores
- Run unattended optimization cycles on campaign copy using click/conversion metrics
- A/B test prompt variations with LLM-judge scoring when live metrics aren't available
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/optimization-loop -o /tmp/optimization-loop.zip && unzip -o /tmp/optimization-loop.zip -d ~/.claude/skills && rm /tmp/optimization-loop.zipFree skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Early access skill
Be the first to review this skill.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
Allowed Hosts
File Scopes
Compatible with Claude Code, Hermes Agent, OpenClaw, Codex, Cursor, and other agent frameworks that process user-provided text. Requires access to input and output streams for masking and restoration workflows.
Creator
Frequently Asked Questions
Learn More About AI Agent Skills
More Premium Skills
designing-hybrid-context-layers
Architects the right retrieval strategy for every query — teaching your agent when to use RAG, a knowledge graph, or a temporal index instead of defaulting to vector search for everything.
consumer-motivation-analyzer
Go beyond surface-level feedback to uncover the psychological drivers and hidden motivations behind buyer behavior.
keyword-research
Transform URLs or product lists into SEO keyword research packs with Google Ads data and intent-based clustering.
Bounty Security Pattern Master Library — 399 Vulnerability Patterns
A premium library of 399 vulnerability patterns and DeFi attack vectors for AI-driven bug hunting and security audits.