adops-deal

adops-deal is a command for Claude Code from OrbiAds/Orbiads-GAM-MCP. It costs 28 tokens per session (1,333 once invoked), scanned A, original, MIT.

A command for managing programmatic advertising deals, including private marketplace deals, private auctions, and marketplace proposals. It handles the deal from setup through execution.

In plain words
What is it for?
Use it to list and inspect deals or auctions, estimate costs, and create or manage approved deals with targeting, buyers, and pricing details.
Why use it?
It requires naming checks, cost estimates, and a preview confirmation before writes, reducing accidental or unclear changes to advertising deals.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the orbiads plugin — 8 skills, 7 commands, 5 agents, 1 hook, 2 MCP servers shipped together

Good fit Use it to list and inspect deals or auctions, estimate costs, and create or manage approved deals with targeting, buyers, and pricing details.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/orbiads/orbiads-gam-mcp/adops-deal
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/OrbiAds/Orbiads-GAM-MCP

Made for: Claude Code.

Or install orbiads, the plugin that ships this one along with the rest of its 8 skills, 7 commands, 5 agents, 1 hook, 2 MCP servers.

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 adops-deal

README.md
[![agentmods](https://agentmods.dev/badge/commands/orbiads/orbiads-gam-mcp/adops-deal/github.svg)](https://agentmods.dev/commands/orbiads/orbiads-gam-mcp/adops-deal)
Your own site
<a href="https://agentmods.dev/commands/orbiads/orbiads-gam-mcp/adops-deal"><img src="https://agentmods.dev/badge/commands/orbiads/orbiads-gam-mcp/adops-deal/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 adops-deal

Your own site · 80×15
<a href="https://agentmods.dev/commands/orbiads/orbiads-gam-mcp/adops-deal"><img src="https://agentmods.dev/badge/commands/orbiads/orbiads-gam-mcp/adops-deal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,333 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.00028 $0.01333
Opus 5 $0.00014 $0.00666
Sonnet 5 $0.00006 $0.00267
Haiku 4.5 $0.00003 $0.00133

Measured 11d ago against content hash 0f2f39345094, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

adops-deal 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 11d 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/adops-deal.md · 91 lines

How it starts

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

GAM Programmatic Deals

Always confirm the tenant first: get_my_tenant_id. Write operations require a confirmation_token from a prior preview call.

Naming conventions (always fetch before creating)

Before naming any proposal or deal, call settings(action="get_naming_conventions") and apply the returned pattern. Convention violations cause ambiguity in billing reports. If no pattern is configured, ask the user to confirm the name explicitly.

Estimating cost before writes

For any proposal, run deals(action="estimate_deal_cost", params={deal_type, targeting, impressions_goal, cpm_floor}) first — it returns a credit breakdown at zero cost. Surface the estimate to the user before proceeding.

list

Calls deals(action="list_deals") and deals(action="list_auctions") in parallel. Render a table: type | name | buyer | status | CPM floor.

get <deal-id>

Call deals(action="get_deal", params={deal_id}) for PMP deals or deals(action="get_proposal", params={proposal_id}) for Marketplace proposals. Show full targeting, floor price, buyers, and associated line items.

For auction details: deals(action="get_auction", params={auction_id}).

create

Ask the user for deal type, then follow the corresponding path:

PMP deal or private auction:

  1. Fetch available buyers: deals(action="list_buyers").
  2. Fetch naming conventions: settings(action="get_naming_conventions").
  3. Estimate cost: deals(action="estimate_deal_cost", params={...}).
  4. Call deals(action="create_deal", params={name, buyer_id, cpm_floor, targeting, ...}) — preview step (0 cr, no token required).
  5. For private auctions: deals(action="create_auction", params={name, floor_price, targeting, ...}).

Marketplace PG/PD proposal (costs 5 cr, token required):

  1. Validate feasibility first: deals(action="adcp_validate", params={targeting, goal, cpm}) — free.
  2. Preview the proposal: deals(action="adcp_preview", params={...}) — returns estimated delivery. Free.
  3. Fetch buyers: deals(action="list_buyers").
  4. Fetch naming conventions: settings(action="get_naming_conventions").
  5. Estimate credit cost: deals(action="estimate_deal_cost", params={...}).
  6. Preview ADCP: deals(action="adcp_create", params={..., dry_run: true}) — returns a signed ExecutionPlan with dealSpecs[], packageCount, partialFailureRisk, estimatedCost, and confirmationToken. Show the full plan to the user. If partialFailureRisk is present or high, call out that package 0..N-1 may remain in GAM if package N fails.
  7. Execute ADCP: deals(action="adcp_create", params={..., confirmation_token: "<token>"}) — creates through DealPipeline (PMP REST / PG SOAP / PD SOAP).
  8. Add line items when needed: deals(action="create_proposal_line_items", params={proposal_id, ...}). Costs 3 cr, requires a fresh confirmation_token.

Read the full file on GitHub · 91 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. 11d ago First seen · 91 lines · 28 tokens per session scan A 0f2f39345094

Subscribe to this mod's changes

adops-deal is a command published in the GitHub repository OrbiAds/Orbiads-GAM-MCP (3 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 1,333 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-31.