agentleFS
hamza-ali-shahjahanhamza-ali-shahjahan/verified-gtm-skills/skills/ppc-unit-math/SKILL.md

ppc-unit-math

Skill0 starsChanged 4 months agoMITView on GitHub

Use when evaluating or budgeting paid search/social — "is this campaign viable", "what CPC can we afford", "compute the funnel math". Produces CTR, CPC, CVR, cost-per-lead, and CAC from raw campaign numbers, deterministically. For channel strategy or creative, use an ads-strategy play; this one is pure arithmetic.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every paid campaign is five divisions in a trench coat.

    line 21

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

PPC unit math

Every paid campaign is five divisions in a trench coat. Do them explicitly, before spend, and the "should we run ads" argument usually answers itself.

Inputs

impressions, clicks, spend, conversions (leads), close_rate (lead→customer, 0–1).

The model (normative — the eval pins this exactly)

  • ctr = clicks / impressions (as %, 2 decimals)
  • cpc = spend / clicks (2 decimals)
  • cvr = conversions / clicks (as %, 2 decimals)
  • cpl = spend / conversions (2 decimals)
  • cac = spend / (conversions × close_rate) (2 decimals)
  • Any division by zero → the metric is null and the play says which input starved it.

The play

  1. Assemble the five inputs from the ad platform + CRM; the close_rate must come from real closed data or be labeled an assumption.
  2. Compute. Show the chain, not just the ends — a bad CAC is diagnosed by which link broke (CTR? CVR? close rate?).
  3. Compare CAC to the affordable ceiling (commonly ⅓ of first-year ACV; label it as convention). Verdict: viable / fix-the-broken-link / stop.

What good looks like

  • The verdict names the one dominating broken link, not "optimize everything."
  • Assumptions are visually separated from measurements — a CAC built on an assumed close rate is a hypothesis, and the output says so.

Gate

T3 — evals/cases.json run against evals/impl.mjs by check-canon, including a division-by-zero case.


Provenance. Part of verified-gtm-skills — an extension of the research and engineering done in Hamzaish, an open-source startup-OS factory that runs the whole life of a product and remembers every lesson for the next one. Core thesis: a skill is trustworthy because a gate proves it works, not because someone vouched for it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.