ad-spend-optimizer
Skill149 starsChanged 8 months agoMITArchived repositoryView on GitHub
Analyze paid advertising performance across channels and recommend budget reallocation to maximize ROAS and minimize CAC. Use when: planning quarterly ad budget allocation, diagnosing underperforming ad channels, deciding whether to scale spend on a channel, calculating marginal ROI across Google Ads, Meta, LinkedIn, or TikTok, rebalancing media mix after performance shifts, or setting up a test-and-scale framework for new channels.
In this repository175 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- google-ads-expertSkill
- design-trends-2026Skill
- image-to-3d-pipelineSkill
- minimalist-image-directorSkill
- web-design-directorSkill
- website-finishing-directorSkill
- ab-test-statsSkill
- cohort-analysisSkill
- funnel-analyzerSkill
- sentiment-analyzerSkill
- audiobook-productionSkill
- audio-editingSkill
- audio-logo-designSkill
- podcast-interviewSkill
- podcast-productionSkill
- podcast-seoSkill
- pydub-automationSkill
- remote-interviewSkill
- sonic-brandingSkill
- sound-design-filmSkill
- transcription-to-contentSkill
- ux-sound-designSkill
- video-testimonialSkill
- voice-designSkill
- voice-localizationSkill
- voiceover-directionSkill
- competitor-monitorSkill
- content-repurposerSkill
- data-visualizerSkill
- image-batchSkill
- pdf-extractorSkill
- report-generatorSkill
- video-processingSkill
- web-scraperSkill
- whisper-transcriptionSkill
- youtube-downloaderSkill
- brand-strategySkill
- brand-voice-learnerSkill
- brand-voiceSkill
- naming-6-gatesSkill
- boron-lettersSkill
- content-strategySkill
- content-writingSkill
- conversion-copywritingSkill
- copy-frameworksSkill
- copywriting-awarenessSkill
- copywriting-classicSkill
- cta-writingSkill
- dan-kennedy-copySkill
- educational-presentationSkill
- email-writingSkill
- expert-secretsSkill
- headline-formulasSkill
- landing-page-copySkill
- landing-page-optimizerSkill
- made-to-stickSkill
- permission-marketingSkill
- persuasion-principlesSkill
- purple-cow-marketingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 54
Validation checkpoint: If data is missing for any channel, flag it — incomplete data leads to wrong reallocations.
- Distinctive: line 97
Scaling rule: If CAC stays 15%+ below target for 2 consecutive weeks, increase spend by 25%.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Ad Spend Optimizer
Analyze paid advertising performance across channels and recommend budget reallocation to maximize ROAS and minimize CAC.
When to Use This Skill
- Quarterly budget planning — reallocate spend based on performance data
- Channel mix optimization — find the right balance across platforms
- Performance troubleshooting — diagnose why CAC is rising or ROAS declining
- Scaling decisions — determine if a channel has headroom to scale
- New channel testing — structure test budgets with clear success criteria
Methodology Foundation
| Aspect | Details |
| Source | Marginal ROI optimization + portfolio theory for marketing |
| Core Principle | Allocate each dollar where the marginal return is highest — shift spend from diminishing-returns channels to underspent ones |
| Framework | 70/20/10 — 70% proven channels, 20% optimization tests, 10% new channel experiments |
What Claude Does vs What You Decide
| Claude Does | You Decide |
| Calculates ROAS, CAC, and CPL per channel and campaign | Total budget constraints |
| Identifies diminishing returns and reallocation opportunities | Risk tolerance for new channels |
| Models projected outcomes for different allocation scenarios | Business priorities and brand considerations |
| Creates monitoring dashboards and alert thresholds | Platform selection and creative direction |
Instructions
Step 1: Audit Current Performance
Collect these metrics per channel and campaign:
| Metric | Formula | Healthy Range |
| ROAS | Revenue ÷ Ad Spend | >3:1 for most B2B/B2C |
| CAC | Ad Spend ÷ New Customers | <LTV ÷ 3 |
| CPL | Ad Spend ÷ Leads | Varies by industry |
| CTR | Clicks ÷ Impressions | >1% search, >0.5% social |
| Conv Rate | Conversions ÷ Clicks | >2% landing pages |
Validation checkpoint: If data is missing for any channel, flag it — incomplete data leads to wrong reallocations.
Step 2: Attribution Analysis
Choose the model that matches the business:
| Model | Best For | Trade-off |
| Last Click | Direct response, short cycles | Ignores awareness |
| First Click | Awareness campaigns | Ignores conversion assist |
| Linear | Balanced multi-touch view | Dilutes signal |
| Time Decay | Shorter sales cycles | Biases toward bottom-funnel |
| Position-Based | Balanced with emphasis | May miss mid-funnel |
| Data-Driven | Sophisticated, enough data | Requires volume |
Step 3: Calculate Marginal ROI
For each channel, answer: Where does the next $1 produce the most return?
| Signal | Meaning | Action |
| CAC well below target | Headroom to scale | Increase spend 50%, monitor weekly |
| CAC at target | Optimized | Maintain, test creative |
| CAC above target | Diminishing returns | Reduce spend, reallocate |
| Low volume, good CAC | Underinvested | Scale cautiously (2x) |
| High volume, rising CAC | Hitting ceiling | Cap spend, diversify |
Step 4: Model Reallocation Scenarios
Build 3 scenarios (conservative, moderate, aggressive) showing projected leads, CAC, and ROAS at each budget level. Include:
- Per-channel breakdowns with expected performance
- Warning thresholds — CAC levels that trigger spend cuts
- Implementation timeline — weekly changes, not all at once
Step 5: Implement and Monitor
Weekly monitoring checklist:
- Spend pacing vs. plan
- CAC by channel vs. target
- Lead volume vs. forecast
- Any channel crossing warning threshold?
Scaling rule: If CAC stays 15%+ below target for 2 consecutive weeks, increase spend by 25%. If CAC exceeds target for 2 weeks, reduce by 25%.
Examples
Example: B2B SaaS Budget Reallocation
Input: $100K/month — Google ($50K), Meta ($30K), LinkedIn ($15K), Other ($5K). Target: $200 CAC, 500 leads/month. Current: 395 leads, $253 CAC.
Diagnosis:
- Google Display ($15K → 30 leads, $500 CAC) — cut entirely
- Meta Lookalike ($15K → 85 leads, $176 CAC) — star performer, scale
- LinkedIn Lead Gen ($5K → 10 leads, $500 CAC) — cut
Proposed reallocation:
| Channel | Current | Proposed | Expected CAC |
| Google Ads | $50K | $35K | $206 |
| Meta | $30K | $50K | $196 |
| $15K | $8K | $286 | |
| Testing | $5K | $7K | Variable |
Projected result: 473 leads (+20%), $211 CAC (-17%).
Skill Boundaries
What This Skill Does Well
- Analyzing multi-channel ad performance from provided data
- Recommending budget shifts based on marginal ROI
- Modeling reallocation scenarios with projected outcomes
- Creating monitoring frameworks with alert thresholds
What This Skill Cannot Do
- Access ad platform accounts or pull live data
- Make real-time bid adjustments or campaign changes
- Evaluate creative quality (headlines, images, video)
- Account for brand lift or offline conversion effects
References
- Google Ads Optimization Guide
- Meta Business Suite Best Practices
- LinkedIn Marketing Solutions
- Common Thread Collective — ad spend allocation methodology
Related Skills
google-ads-expert— Google-specific campaign optimizationaarrr-metrics— Full funnel view beyond paid acquisitiongrowth-loops— Sustainable growth beyond paid channels
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

