From claude-keitaro
Auto-optimizes Keitaro campaigns by pulling report API data, classifying flows by ROI and clicks, recommending kills/scales/rebalances, and executing after confirmation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-keitaro:keitaro-optimizeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. Read `keitaro/references/optimization-rules.md` for decision logic
keitaro/references/optimization-rules.md for decision logickeitaro/references/verticals.md for vertical-specific thresholdsBuild report grouped by stream_id with metrics:
clicks, conversions, revenue, cost, profit, roi, cr, epc
For each flow, determine status based on vertical thresholds:
| Status | Condition | Action |
|---|---|---|
| KILL | ROI < kill threshold AND clicks >= min | Recommend pause |
| WARNING | ROI in warning range | Monitor, flag |
| STABLE | ROI in good range | Keep running |
| SCALE | ROI > scale threshold AND clicks >= scale min | Recommend weight increase |
| TESTING | clicks < min threshold | Wait for data |
Present as prioritized list:
Optimization Plan — Campaign #12
═══════════════════════════════════════
KILL (save $X/day):
✗ Flow "Test Landing C" — ROI: -45%, 180 clicks, 0 conv
→ Action: Pause flow (saves ~$15/day)
SCALE (earn +$X/day):
↑ Flow "DE Mobile" — ROI: +78%, 3,259 clicks, 62 conv
→ Action: Increase weight 60% → 70% (est. +$12/day)
TESTING (wait):
? Flow "New Offer X" — ROI: +15%, 45 clicks, 2 conv
→ Action: Need 55 more clicks before decision
TOTAL ESTIMATED IMPACT: +$27/day
Only execute after user says "yes", "do it", "apply", etc.
Actions:
POST /streams/{id}/disablePUT /streams/{id} with new weightWhen user says "optimize all campaigns":
Bulk Optimization Summary
═════════════════════════
Campaigns analyzed: 8
Flows to kill: 5 (saving ~$85/day)
Flows to scale: 3 (est. +$45/day)
Flows still testing: 12
Net estimated impact: +$130/day
--dry-run first — show plan to user, get confirmation, then executeAfter each optimization action, show how to reverse:
Applied: Paused flow #45 in campaign #12
Undo: Run `/keitaro flows` → "enable flow 45 in campaign 12"
npx claudepluginhub iso73-ops/claude-keitaroBuilds and displays Keitaro analytics reports on campaigns, flows, landings, offers, GEOs, devices with ROI/CR/EPC metrics. Triggers on 'report', 'stats', performance queries.
Audits marketing performance across Meta Ads, TikTok Ads, Google Ads, and organic channels. Diagnoses root causes of issues like high CPMess or low ROAS, benchmarks against industry data, and outputs a 48h action plan plus weekly optimization checklist.
Generates marketing performance reports with executive summaries, key metrics tables, trend analysis, wins/misses, and prioritized optimizations for campaigns or channels.