pmax

pmax is a command for Claude Code from chanktb/claude-google-ads. It costs 16 tokens per session (165 once invoked), scanned A, original, MIT.

A command for preparing a Performance Max campaign, Google’s campaign type that can place ads across several Google channels from one setup.

In plain words
What is it for?
Use it to choose a split strategy and produce a spreadsheet blueprint plus a campaign specification for later pushing.
Why use it?
It helps compare campaign-splitting approaches against the available budget before creating the campaign.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude-google-ads plugin — 15 skills, 15 commands shipped together

Good fit Use it to choose a split strategy and produce a spreadsheet blueprint plus a campaign specification for later pushing.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add chanktb/claude-google-ads
Claude Code
/plugin install claude-google-ads

Made for: Claude Code.

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

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 pmax

README.md
[![agentmods](https://agentmods.dev/badge/commands/chanktb/claude-google-ads/pmax.svg)](https://agentmods.dev/commands/chanktb/claude-google-ads/pmax)
Your own site
<a href="https://agentmods.dev/commands/chanktb/claude-google-ads/pmax"><img src="https://agentmods.dev/badge/commands/chanktb/claude-google-ads/pmax.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 165 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.00016 $0.00165
Opus 5 $0.00008 $0.00082
Sonnet 5 $0.00003 $0.00033
Haiku 4.5 $0.00002 $0.00016

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

Security

Grade A, and why

pmax 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.

commands/pmax.md · 16 lines

What it actually says

Use the claude-google-ads:builder-pmax skill to build a Performance Max campaign for the business in the current working directory.

Use ONLY claude-google-ads:builder-pmax. Do not invoke other ads skills — especially NOT pmax-campaign-builder, google-ads-optimizer, or ads-google. This command is dedicated to the claude-google-ads suite.

Present the split-strategy menu and recommend objectively (budget-aware). Emit both blueprint.xlsx (via ${CLAUDE_PLUGIN_ROOT}/skills/builder-pmax/scripts/spec_to_xlsx.py) and campaign-spec.json for the pusher.

$ARGUMENTS

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 · 16 lines · 16 tokens per session scan A 2cfdb9c05302

Subscribe to this mod's changes

pmax is a command published in the GitHub repository chanktb/claude-google-ads (11 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 165 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.

Related

Other commands, from other repositories

diagnose-underperformer

Diagnose why a specific Google Ads or Meta Ads campaign / ad set / ad is underperforming and prescribe the next concrete action. Use when the user says something like "why is X not converting?", "this campaign is wasting money", or "why are impressions so low?". Read-only — no changes are made.

markifact/markifact-mcp · 64 tokens

edit-meta-creative

Edit a Meta ad's creative content — landing page URL, primary text, headline, description, CTA, link description — across one ad or many. Use when the user says "change the URL on my ads", "update the copy", "swap the CTA", or anything that changes what an existing Meta ad shows. Meta does not allow in-place creative…

markifact/markifact-mcp · 88 tokens

launch-google-search

Launch a complete Google Ads Search campaign — campaign, ad group, responsive search ads, keywords, sitelinks, callouts, and negatives — built paused and ready to review. Use when the user wants to spin up a new Search campaign on Google Ads.

markifact/markifact-mcp · 52 tokens

launch-meta-campaign

Launch a complete Meta Ads campaign — campaign, ad set, and ad(s) — built paused and ready to review. Use when the user wants a new Facebook/Instagram campaign.

markifact/markifact-mcp · 36 tokens

launch-pmax

Launch a Google Ads Performance Max campaign with a complete asset group, audience signals, and (for ecom) listing groups. Built paused for review. Use when the user wants a new PMax campaign.

markifact/markifact-mcp · 41 tokens

negative-keyword-sweep

Find wasted spend in Google Ads search terms and add negatives at the right scope (account list, campaign, or ad group). Use when the user says "find junk keywords", "stop wasting on bad searches", or wants a search-terms cleanup.

markifact/markifact-mcp · 50 tokens