account-research
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect enrichment tools or your CRM.…
\"Optimize advertising budget allocation across campaigns using marginal returns analysis. Use this skill when the user needs to distribute budget across multiple campaigns, optimize spend pacing, or maximize overall ROAS under budget constraints — even if they say 'how to split
$ npx -y skills add charlieviettq/awesome-agent-skill --skill algo-ad-budget --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/algo-ad-budgetContext preview
The summary Claude sees to decide when to auto-load this skill.
\"Optimize advertising budget allocation across campaigns using marginal returns analysis. Use this skill when the user needs to distribute budget across multiple campaigns, optimize spend pacing, or maximize overall ROAS under budget constraints — even if they say 'how to split
name: "\"algo-ad-budget\"" description: "\"Optimize advertising budget allocation across campaigns using marginal returns analysis. Use this skill when the user needs to distribute budget across multiple campaigns, optimize spend pacing, or maximize overall ROAS under budget constraints — even if they say 'how to split my ad budget', 'campaign budget optimization', or 'diminishing returns on ad spend'.\"." allowed-tools: Read, Glob, Grep
Budget allocation distributes a total advertising budget across campaigns to maximize overall returns. Uses the equal marginal returns principle: allocate until the marginal CPA (or marginal ROAS) is equalized across all campaigns. Handles diminishing returns and budget constraints.
**Trigger conditions:**
**When NOT to use:**
IRON LAW: Equal Marginal Returns Principle Optimal allocation makes the MARGINAL return of the last dollar equal across ALL campaigns. If Campaign A's marginal CPA is $5 and Campaign B's is $15, shift budget from B to A until they equalize. Total budget constraint: Σ budget_i = total_budget.
Collect per-campaign: historical spend, conversions, revenue at multiple spend levels. Need at least 3 data points per campaign to fit response curve. **Gate:** Sufficient historical data to estimate response curves.
1. Fit response curve per campaign: conversions = f(spend). Common models: log curve, power curve, or S-curve 2. Compute marginal return curve: f'(spend) for each campaign 3. Allocate: use Lagrangian optimization or iterative greedy — assign next marginal dollar to campaign with highest marginal return 4. Apply constraints: minimum spend floors, maximum caps, channel-specific rules
Check: total allocation = total budget, no campaign below floor or above cap, marginal returns approximately equal at boundaries. **Gate:** Allocation sums to budget, constraints satisfied.
Return allocation table with expected performance projections.
{
"allocation": [{"campaign": "Search-Brand", "budget": 50000, "expected_conversions": 200, "expected_cpa": 250}],
"total": {"budget": 200000, "expected_conversions": 650, "blended_cpa": 308},
"metadata": {"optimization_method": "lagrangian", "response_model": "log_curve"}
}**Input:** Budget: $100K, Campaigns: Search ($50K, 100 conv), Social ($30K, 60 conv), Display ($20K, 20 conv) **Expected:** Shift budget from Display (high marginal CPA) to Search (low marginal CPA). e.g., Search $60K, Social $30K, Display $10K.
| Input | Expected | Why | |-------|----------|-----| | One campaign dominates | Most budget to winner | But maintain minimum floor for others | | All campaigns saturated | Reduce total spend | Spending more won't help | | New campaign, no data | Use minimum test budget | Need data before optimizing |
Curated skill pack for LLM agents in engineer and science workflow (Cursor & Claude ready).
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect enrichment tools or your CRM.…
Evaluate LLM agents and tool-using workflows—task success, tool accuracy, latency/cost, safety, and regression suites. Use when shipping agent features,…
Design agent tools and CLI surfaces—schemas, naming, errors, idempotency, and discoverability for LLM callers. Use when defining tools for agents, SDKs, or…
\"Implement and select ad bidding strategies from manual CPC to automated target-CPA and target-ROAS. Use this skill when the user needs to choose a bidding…
\"Build CTR prediction models for estimating ad click-through rates from features. Use this skill when the user needs to predict click probability, build an ad…
\"Implement Generalized Second Price auction for ad slot allocation and pricing. Use this skill when the user needs to understand search ad auctions, compute…