ads-math

ads-math is a skill for Claude Code from skillmds/skillmd. It costs 75 tokens per session (231 once invoked), scanned A, a copy of ads-math, MIT.

A calculation and modelling tool for paid advertising costs, returns, budgets, forecasts, and business economics. It uses measures such as cost per click, return on ad spend, and customer value to acquisition cost.

In plain words
What is it for?
Use it to calculate ad metrics, break-even targets, budgets, forecasts, margins, and best- and worst-case scenarios.
Why use it?
It helps compare advertising outcomes and assumptions without mixing platform-reported revenue with wider business profit or cash flow.

Skill for Claude Code

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

Part of the agents-mcp plugin — 34 skills shipped together

Good fit Use it to calculate ad metrics, break-even targets, budgets, forecasts, margins, and best- and worst-case scenarios.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/skillmds/skillmd/ads-math
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.

Any agent
npx skills add skillmds/skillmd --skill ads-math
Clone the repo
git clone --depth 1 https://github.com/skillmds/skillmd

Made for: Claude Code.

Or install agents-mcp, the plugin that ships this one along with the rest of its 34 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 ads-math

README.md
[![agentmods](https://agentmods.dev/badge/skills/skillmds/skillmd/ads-math/github.svg)](https://agentmods.dev/skills/skillmds/skillmd/ads-math)
Your own site
<a href="https://agentmods.dev/skills/skillmds/skillmd/ads-math"><img src="https://agentmods.dev/badge/skills/skillmds/skillmd/ads-math/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 ads-math

Your own site · 80×15
<a href="https://agentmods.dev/skills/skillmds/skillmd/ads-math"><img src="https://agentmods.dev/badge/skills/skillmds/skillmd/ads-math.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 231 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 100% copy Near-identical to another mod 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.00075 $0.00231
Opus 5.5 $0.00030 $0.00092
Sonnet 5 $0.00015 $0.00046
Haiku 4.5 $0.00007 $0.00023

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

Security

Grade A, and why

ads-math 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 4d 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.

Origin

This is a copy

100% identical to ads-math — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/agents-mcp/skills/ads-math/SKILL.md · 20 lines

What it actually says

  1. Identify the decision and collect units, currency, period, tax/refund treatment, margin, attribution basis, and uncertainty.
  2. Show the formula and map every input to an operator value or cited artifact.
  3. Validate denominators, sign, missing values, incompatible windows, and unit conversions.
  4. Calculate base, downside, and upside cases where uncertainty affects the decision.
  5. Keep platform-attributed revenue, blended business revenue, cash flow, and contribution margin distinct.
  6. Return machine-readable inputs, formulas, outputs, sensitivities, and decision implications.

Never fabricate missing financial inputs, hide division-by-zero, or present a point forecast without its assumptions.

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. 4d ago First seen · 20 lines · 75 tokens per session scan A 1fe178c2fe98

Subscribe to this mod's changes

ads-math is a skill published in the GitHub repository skillmds/skillmd (1 stars, last pushed yesterday), licensed MIT. It adds 75 tokens to every session and 231 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to ads-math, differing in 2 lines, and is treated as a copy.