budget-optimization

budget-optimization is a skill for Claude Code from itallstartedwithaidea/agent-skills. It costs 25 tokens per session (1,933 once invoked), scanned A, original, MIT.

A budgeting method for distributing advertising spend across campaigns using forecasts and portfolio theory. Portfolio theory treats the campaigns together as one investment group rather than as separate budget silos.

In plain words
What is it for?
Use it to analyse campaign performance, seasonality, competition, conversion delays, budget limits, geographic coverage, brand-presence requirements, and shared or portfolio bidding strategies.
Why use it?
It helps identify where extra spend may produce more conversions and where a campaign is overfunded or facing diminishing returns, while respecting business constraints.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex.

Part of the google-ads-skills plugin — 12 skills shipped together , and of all-skills

Good fit Use it to analyse campaign performance, seasonality, competition, conversion delays, budget limits, geographic coverage, brand-presence requirements, and shared or portfolio bidding strategies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/itallstartedwithaidea/agent-skills/budget-optimization
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/itallstartedwithaidea/agent-skills/budget-optimization
Any agent
npx skills add itallstartedwithaidea/agent-skills --skill budget-optimization
Clone the repo
git clone --depth 1 https://github.com/itallstartedwithaidea/agent-skills

Made for: Claude Code.

Or install google-ads-skills, the plugin that ships this one along with the rest of its 12 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for budget-optimization

README.md
[![agentmods](https://agentmods.dev/badge/skills/itallstartedwithaidea/agent-skills/budget-optimization.svg)](https://agentmods.dev/skills/itallstartedwithaidea/agent-skills/budget-optimization)
Your own site
<a href="https://agentmods.dev/skills/itallstartedwithaidea/agent-skills/budget-optimization"><img src="https://agentmods.dev/badge/skills/itallstartedwithaidea/agent-skills/budget-optimization.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,933 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.01933
Opus 5 $0.00013 $0.00966
Sonnet 5 $0.00005 $0.00387
Haiku 4.5 $0.00003 $0.00193

Measured 6d ago against content hash 934d406429d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

budget-optimization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/google-ads/budget-optimization/SKILL.md · 208 lines

How it starts

The opening of the file, as written. The whole thing — 208 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Budget Optimization

Part of Agent Skills™ by googleadsagent.ai™

Description

The Budget Optimization skill applies AI-driven forecasting and portfolio theory to allocate advertising budgets across campaigns for maximum return. Rather than treating each campaign as an isolated budget silo, this skill models the entire account as an investment portfolio, dynamically shifting spend toward campaigns with the highest marginal return on ad spend (ROAS) while respecting business constraints like minimum brand presence and geographic coverage.

The optimization engine ingests historical performance data, seasonality patterns, competitive dynamics, and conversion lag curves to build predictive models for each campaign's response to budget changes. It identifies campaigns that are impression-share-limited (underfunded relative to demand), campaigns with diminishing returns (overfunded past the efficient frontier), and campaigns where budget shifts would yield measurable incremental conversions.

Portfolio bidding strategies are a key lever. The skill evaluates whether campaigns should use individual or shared budgets, whether portfolio bid strategies can aggregate conversion signals across thin-data campaigns, and how seasonal budget adjustments should be timed relative to demand curves. It produces actionable budget reallocation plans with expected impact projections and confidence intervals.

Use When

  • User asks to "optimize my budget" or "allocate budget better"
  • User mentions "budget pacing" or "campaigns running out of budget"
  • User wants to know "where to increase spend" or "where to cut budget"
  • User asks about "shared budgets" or "portfolio bidding"
  • User mentions "ROAS optimization" or "maximize conversions within budget"
  • User asks about "seasonal budget adjustments" or "budget planning"
  • User wants to "reduce wasted spend" or "improve budget efficiency"
  • User mentions "impression share lost to budget"

Read the full file on GitHub · 208 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 208 lines · 25 tokens per session scan A 934d406429d3

Subscribe to this mod's changes

budget-optimization is a skill published in the GitHub repository itallstartedwithaidea/agent-skills (37 stars, last pushed 4mo ago), licensed MIT. It adds 25 tokens to every session and 1,933 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.