Loading...
Loading...
Run Karpathy-style autoresearch optimization on any content. Generates 50+ variants, scores with a 5-expert simulated panel, evolves winners through multiple rounds, outputs optimized version + full experiment log. Use when optimizing landing pages, email sequences, ad copy, headlines, form pages, CTA text, or any conversion-focused content. Triggers on "optimize this page", "run autoresearch", "score these variants", "A/B test this copy".
npx skill4agent add ericosiu/ai-marketing-skills autoresearchThe sequence: Run autoresearch FIRST to hit 85+ simulated score. Then deploy. Then validate with real traffic.
| File | Purpose |
|---|---|
| The winning optimized content |
| Full experiment log — all variants + all scores |
| Human-readable summary with winner rationale |
| # | Persona | Scoring Lens |
|---|---|---|
| 1 | CMO at a mid-market B2B company (50M+ revenue) | "Would this make me stop and engage?" |
| 2 | Skeptical founder | "Do I believe this? Would I trust this company?" |
| 3 | Conversion rate optimizer | "Is this clear, specific, and action-driving?" |
| 4 | Senior copywriter | "Is this compelling, differentiated, and well-crafted?" |
| 5 | Your CEO/founder | "Direct, ROI-obsessed, no BS. Would I put this on my site?" |
Customization: Replace persona #5 with your own CEO/founder voice. Define their priorities and communication style in afile.references/founder-voice.md
Round 1:
→ Generate 10 variants of the element
→ Batch-score all 10 with the 5-expert panel (1 API call)
→ Rank by average score
→ Keep top 3
Round 2 (Evolution):
→ Analyze what the top 3 did right
→ Generate 10 new variants that push those winning patterns further
→ Batch-score all 10 (1 API call)
→ Keep top 3
Round 3 (If score < threshold):
→ Identify weakest scoring dimension
→ Generate 10 variants optimized for that dimension
→ Batch-score → keep top 1
Multi-element cross-breeding:
→ Take top 1 winner from each element
→ Generate 5 combinations that mix winning elements
→ Score holistically as complete units
→ Output the single best combinationfirst_impressionclaritytrusturgencywould_convertwould_openwould_readwould_clickwould_replyspam_riskscroll_stoppingclarityclick_worthinessrelevancedifferentiationfirst_impressiontrustcompletion_likelihoodlead_qualitywould_fill_outFound 5 elements to optimize:
1. Hero headline: "We help B2B companies grow"
2. Subheadline: "Full-service digital marketing..."
3. CTA: "Get Started"
4. Problem statement: [excerpt]
5. Social proof: [excerpt]
Optimizing: all | Variants per round: 10 | Min score: 80$ANTHROPIC_API_KEYexport ANTHROPIC_API_KEY="your-api-key-here"claude-sonnet-4-5claude-opus-4# Create output directory
mkdir -p data
# Write optimized content
# Write experiments JSON
# Write optimization report{
"run_id": "autoresearch-{name}-{timestamp}",
"content_type": "landing_page",
"source_file": "path/to/original",
"min_score_threshold": 80,
"rounds": [
{
"round": 1,
"element": "hero_headline",
"variants": [
{
"id": 1,
"text": "...",
"scores": {
"cmo": 72,
"skeptical_founder": 68,
"cro": 75,
"copywriter": 70,
"founder": 65
},
"avg_score": 70
}
],
"top_3": [1, 4, 7],
"winner_score": 82
}
],
"final_winner": {
"hero_headline": "...",
"subheadline": "...",
"cta": "...",
"holistic_score": 87
}
}| Option | Default | Description |
|---|---|---|
| all | Which elements to optimize |
| 10 | How many variants to generate per round |
| 80 | Stop when this score is hit |
| 3 | Max rounds before stopping |
| false | Whether to overwrite the source file with winners |
| auto-detect | Force a content type if auto-detect is wrong |