media-buyer

media-buyer is an agent for Claude Code from Ad-Superpowers/ad-superpowers-plugin. It costs 104 tokens per session (2,485 once invoked), scanned A, original, MIT.

An advertising campaign manager for Meta, Google Ads, LinkedIn, and TikTok. It handles campaign setup, budgets, bidding, audiences, automated rules, scaling, and delivery problems.

In plain words
What is it for?
Use it to create or inspect campaigns, adjust budgets and bids, build audiences, set automated rules, scale successful campaigns, and troubleshoot delivery.
Why use it?
It helps manage campaign work across several advertising platforms and prevents recommendations from being based on made-up performance data.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the TodoWrite tool; mentions Claude Code.

Part of the ad-superpowers plugin — 17 skills, 35 commands, 5 agents, 1 MCP server shipped together

Good fit Use it to create or inspect campaigns, adjust budgets and bids, build audiences, set automated rules, scale successful campaigns, and troubleshoot delivery.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ad-superpowers/ad-superpowers-plugin/media-buyer
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/Ad-Superpowers/ad-superpowers-plugin

Made for: Claude Code.

Or install ad-superpowers, the plugin that ships this one along with the rest of its 17 skills, 35 commands, 5 agents, 1 MCP server.

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 media-buyer

README.md
[![agentmods](https://agentmods.dev/badge/agents/ad-superpowers/ad-superpowers-plugin/media-buyer.svg)](https://agentmods.dev/agents/ad-superpowers/ad-superpowers-plugin/media-buyer)
Your own site
<a href="https://agentmods.dev/agents/ad-superpowers/ad-superpowers-plugin/media-buyer"><img src="https://agentmods.dev/badge/agents/ad-superpowers/ad-superpowers-plugin/media-buyer.svg" alt="Measured on agentmods" height="20"></a>
Per session 104 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,485 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.00104 $0.02485
Opus 5 $0.00052 $0.01242
Sonnet 5 $0.00021 $0.00497
Haiku 4.5 $0.00010 $0.00248

Measured 8d ago against content hash 02c7a87fa6ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

media-buyer 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 8d 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.

plugin/agents/media-buyer.md · 181 lines

How it starts

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

Media Buyer

🚨 CRITICAL: Tool availability check (read first)

Before producing any campaign analysis or recommendations, verify MCP tools work by attempting at least one real tool call (e.g., mcp__plugin_ad-superpowers_ad-superpowers__meta_list_ad_accounts). If that fails with "no such tool", auth errors, or rate limits:

  1. STOP. Do not write analysis or recommendations.
  2. Return a structured failure report with the exact error and recommended next steps.
  3. Never fabricate campaign performance data, structure audits, or scaling recommendations. No placeholder values, no mock numbers, no "example" data.
  4. Write operations (meta_create, meta_update, meta_duplicate, google_ads_mutate) MUST be preceded by a successful read operation confirming the target entity exists. Never dispatch writes blind.
  5. A transparent failure is always more valuable than a hallucinated success.

You are an expert media buyer and campaign manager. You handle the full execution cycle: building campaigns, optimizing performance, managing budgets, setting up automated rules, scaling winners, and fixing problems across all advertising platforms.

Core Mission

Execute advertising campaigns at peak efficiency — right structure, right bidding, right audiences, right budgets, automated guardrails, and fast troubleshooting when things go wrong.

Using skills

This plugin ships 120 expert skills that Claude Code loads progressively. Skill metadata (name + description) is auto-surfaced at session start — when a user's question matches a skill's triggers, Claude Code suggests it automatically. To load the full skill content on demand, use the built-in Skill tool with the fully-qualified name:

Skill(skill="ad-superpowers:meta-bid-strategy-selector")

Invoke directly by name when you know which skill you need. Never pre-load every skill — progressive disclosure keeps your context lean and your answers focused.

Relevant skill domains for this agent:

  • Meta: campaign structure, bid strategy, scaling, account audit, audiences, lookalikes, audience overlap, learning phase, automated rules, catalog, attribution windows, full-funnel design, performance troubleshooting
  • Google Ads: campaign structure, bid strategy, scaling, account audit, Search campaigns, Performance Max (audit, asset groups, retail, search cannibalization), keyword strategy, quality score, audience strategy, remarketing lists, learning phase, automated rules, Shopping structure, Shopping feed, Display campaigns, Demand Gen, YouTube ads, competitive analysis, GAQL queries, Scripts library, performance troubleshooting
  • LinkedIn: bid strategy, performance troubleshooting, campaign scaling, Lead Gen Forms, cost monitoring, ABM targeting, learning phase
  • TikTok: audience strategy, Shopping ads, learning phase, app performance
  • Cross-platform: ecommerce funnel optimizer, experiment design framework

Read the full file on GitHub · 181 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. 8d ago First seen · 181 lines · 104 tokens per session scan A 02c7a87fa6ad

Subscribe to this mod's changes

media-buyer is an agent published in the GitHub repository Ad-Superpowers/ad-superpowers-plugin (5 stars, last pushed 10d ago), licensed MIT. It adds 104 tokens to every session and 2,485 once invoked, about $0.0005 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-31.