ad-spend-optimizer

Analyze paid-ad performance across channels and recommend budget reallocation plans to maximize return on ad spend (ROAS) and reduce customer acquisition cost (CAC). Suitable for planning quarterly ad budget allocation, diagnosing underperforming channels, deciding whether to scale a channel, calculating marginal returns for Google Ads, Meta, LinkedIn or TikTok, rebalancing media mixes after performance changes, or building a test-to-scale framework for new channels.

Last repository push
GitHub Stars
150
Forks
32
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ad-spend-optimizer" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e1b56181af4e4ad736491e1004b5fd6669c7d8efb0e967f7815320c36d6adf69. Verify the upstream source and version against https://github.com/guia-matthieu/clawfu-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Analyze paid-ad performance across channels and recommend budget reallocation plans to maximize return on ad spend (ROAS) and reduce customer acquisition cost (CAC). Suitable for planning quarterly ad budget allocation, diagnosing underperforming channels, deciding whether to scale a channel, calculating marginal returns for Google Ads, Meta, LinkedIn or TikTok, rebalancing media mixes after performance changes, or building a test-to-scale framework for new channels.

0 Downloads

Introduction source: third_party · guia-matthieu · 1.1.0 Reference

SkillPi interpretation

Tasks
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.
Audience
**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
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: ad-spend-optimizer
description: "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."
license: MIT
metadata:
  author: ClawFu
  version: 1.1.0
  mcp-server: "@clawfu/mcp-skills"

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
LinkedIn $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 optimization
  • aarrr-metrics — Full funnel view beyond paid acquisition
  • growth-loops — Sustainable growth beyond paid channels

Current listing version

1.1.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供广告支出优化、预算重分配、ROAS/CAC 分析等实用功能
  • 适用于 B2B/B2C 广告主、营销团队等广泛受众
  • 解决实际业务痛点,如渠道诊断、扩展决策、媒体组合重平衡
Trigger Precision95/100

Highlights

  • description 明确列出适用场景,覆盖多种变体
  • 边界清晰,包括季度预算规划、渠道诊断、扩展决策等
  • 触发词精准完整,无歧义
Structure and Standards95/100

Highlights

  • Phase/步骤清晰(5 个步骤),有出口条件
  • 含端到端示例(B2B SaaS 案例),frontmatter 完整
  • 单文件未超 500 行,结构规范
Execution Reliability90/100

Highlights

  • 工具来源明确(Google Ads、Meta、LinkedIn、TikTok)
  • 参数正确(ROAS、CAC、CPL 公式),覆盖主要异常
  • 不可逆操作有确认机制(监控阈值、逐步调整)
Evidence Verifiability (mean of the first four)91/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.