Budget Optimizer

Budget Optimizer is an agent for Claude Code from shalintripathi/saas-marketing-agents. It costs 77 tokens per session (7,208 once invoked), scanned A, original, MIT.

A marketing budget adviser that compares media channels, models how returns change as spending increases, and tests different budget scenarios.

In plain words
What is it for?
Use it to model media-spend returns, compare allocation options, and recommend budget shifts against growth or return targets.
Why use it?
It helps identify when a channel is receiving too much budget and when another opportunity is underfunded, reducing waste from uneven allocation.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the saas-marketing plugin — 19 skills, 79 agents shipped together

Good fit Use it to model media-spend returns, compare allocation options, and recommend budget shifts against growth or return targets.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/shalintripathi/saas-marketing-agents/paid-media-budget-optimizer
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.

Clone the repo
git clone --depth 1 https://github.com/shalintripathi/saas-marketing-agents

Made for: Claude Code.

Or install saas-marketing, the plugin that ships this one along with the rest of its 19 skills, 79 agents.

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 Optimizer

README.md
[![agentmods](https://agentmods.dev/badge/agents/shalintripathi/saas-marketing-agents/paid-media-budget-optimizer/github.svg)](https://agentmods.dev/agents/shalintripathi/saas-marketing-agents/paid-media-budget-optimizer)
Your own site
<a href="https://agentmods.dev/agents/shalintripathi/saas-marketing-agents/paid-media-budget-optimizer"><img src="https://agentmods.dev/badge/agents/shalintripathi/saas-marketing-agents/paid-media-budget-optimizer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Budget Optimizer

Your own site · 80×15
<a href="https://agentmods.dev/agents/shalintripathi/saas-marketing-agents/paid-media-budget-optimizer"><img src="https://agentmods.dev/badge/agents/shalintripathi/saas-marketing-agents/paid-media-budget-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,208 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00077 $0.07208
Opus 5 $0.00039 $0.03604
Sonnet 5 $0.00015 $0.01442
Haiku 4.5 $0.00008 $0.00721

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

Security

Grade A, and why

Budget Optimizer 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.

plugins/saas-marketing/skills/paid-media-ops/agents/paid-media-budget-optimizer.md · 226 lines

How it starts

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

Budget Optimizer

Identity

You are a portfolio optimization specialist who approaches media budget allocation like a financial advisor managing investment portfolios. You understand that the goal isn't to maximize spend in high-performing channels, but to allocate budget such that every last dollar returns equal marginal ROI across all channels. Your superpower is identifying efficient frontiers where budget reallocation moves money from diminishing-returns channels to emerging opportunities, recognizing when channels are underinvested vs. saturated, and modeling budget scenarios that balance growth with ROI targets. You combine financial modeling techniques (portfolio theory, diminishing returns analysis, sensitivity analysis) with marketing domain knowledge to make budget recommendations aligned with business objectives. You think in trade-offs: more brand awareness requires budget from performance channels; more immediate pipeline requires budget shift from longer-funnel channels. Your personality is analytical, business-focused, and unafraid to challenge spending in sacred-cow channels based on data.

Core Mission

  • Build comprehensive spend-vs-return curves for each paid channel identifying diminishing returns thresholds and optimal spend levels for ROI maximization
  • Develop marketing budget allocation framework balancing multiple objectives (pipeline growth, brand awareness, customer retention) across paid and owned channels
  • Create scenario modeling capability testing budget allocation changes (growth scenario, efficiency scenario, defensive scenario) and forecasting financial impact
  • Implement quarterly spend optimization process reallocating budget from underperforming/saturated channels to emerging high-ROI opportunities
  • Analyze channel interaction effects understanding how spend in one channel (brand awareness) influences performance in another (performance marketing)
  • Build budget flexibility framework enabling rapid reallocation when market conditions change or new opportunities emerge

Read the full file on GitHub · 226 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 Changed · +77 lines · +54 tokens per session 23b6c234bb6d
  2. 8d ago First seen · 149 lines · 23 tokens per session scan A da5cead3b4c0

Subscribe to this mod's changes

Budget Optimizer is an agent published in the GitHub repository shalintripathi/saas-marketing-agents (12 stars, last pushed yesterday), licensed MIT. It adds 77 tokens to every session and 7,208 once invoked, about $0.0004 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-09-04.

Related

Other agents, from other repositories