unit-economics

unit-economics is a skill for Claude Code from cbrock84/headcount. It costs 78 tokens per session (1,097 once invoked), scanned A, original, MIT.

A guide to measuring whether each customer, account, seat, or order makes money. It explains contribution margin, customer acquisition cost, payback period, lifetime value, and customer-group performance over time.

In plain words
What is it for?
Use it to assess pricing, sales channels, customer segments, growth plans, and how long it takes to recover acquisition costs.
Why use it?
It shows whether growth is profitable or merely increasing costs, and identifies errors caused by leaving out variable expenses or using unsupported retention assumptions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the finance plugin — 13 skills shipped together

Good fit Use it to assess pricing, sales channels, customer segments, growth plans, and how long it takes to recover acquisition costs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cbrock84/headcount/unit-economics
About the project

headcount is an organization of independently installable Claude Code plugins, each grouping skills for a department such as finance, security, or demand generation. Claude Code users install the departments they need and invoke their skills for specialized work; the catalogue entries are skills and related agent tooling from that organization.

cbrock84/headcount · 2,587 stars · on GitHub · cbrock84.github.io

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 cbrock84/headcount --skill unit-economics
Clone the repo
git clone --depth 1 https://github.com/cbrock84/headcount

Made for: Claude Code.

Or install finance, the plugin that ships this one along with the rest of its 13 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 unit-economics

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cbrock84/headcount/unit-economics"><img src="https://agentmods.dev/badge/skills/cbrock84/headcount/unit-economics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,097 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 50
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00078 $0.01097
Opus 5.5 $0.00031 $0.00439
Sonnet 5.5 $0.00016 $0.00219
Haiku 4.5 $0.00008 $0.00110

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

Security

Grade A, and why

unit-economics 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/unit_economics.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/finance/skills/unit-economics/SKILL.md · 87 lines

How it starts

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

Unit economics

The question is simple and usually unanswered: does one more customer make the business better off, and how long does that take?

Build it in this order

  1. Define the unit. A customer, an account, a seat, an order. State it, because most disagreements about unit economics are disagreements about the unit.
  2. Contribution margin — revenue per unit minus the costs that vary with it. Include everything that actually varies: payment processing, hosting attributable to usage, support load, delivery, third-party fees. Understating variable cost is the single most common error and it flatters everything downstream.
  3. Acquisition cost — fully loaded. All sales and marketing spend, including salaries, divided by customers acquired in the same period. Excluding people costs is the second most common error and typically understates by half or more.
  4. Payback period — acquisition cost divided by monthly contribution. This is the number that governs how fast you can grow without financing it.
  5. Lifetime value — contribution × expected lifetime, from observed retention. Not from a churn-rate assumption chosen because it produces a good ratio.

Read it honestly

  • Ratios hide the constraint. A healthy lifetime-value ratio with a long payback still means growth consumes cash faster than it produces it. Payback governs the growth rate; the ratio governs whether it is worth doing at all.
  • Segment before concluding. Blended economics almost always conceal one segment subsidizing another. The average is the least useful number.
  • Use cohorts, not averages. Retention improves or decays over time, and blended figures mask which. If early cohorts retain better than recent ones, the business is deteriorating while the average looks stable.
  • Do not extrapolate lifetime beyond your data. A twelve-month-old company cannot observe a three-year lifetime, and assuming one is how unprofitable businesses appear profitable.

Read the full file on GitHub · 87 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago Changed · +17 lines 883eb94c50ae
  2. 3d ago Changed · +12 lines 31a15182d000
  3. 2mo ago Changed · +7 lines eac0b3d1d0c4
  4. 3mo ago First seen · 51 lines · 78 tokens per session scan A d46aa16467a5

Subscribe to this mod's changes

unit-economics is a skill published in the GitHub repository cbrock84/headcount (2,587 stars, last pushed 2d ago), licensed MIT. It adds 78 tokens to every session and 1,097 once invoked, about $0.0003 per session on Opus 5.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-09-03.

Related

unit-economics compared with skills from other repositories

unit-economics next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
unit-economicscbrock84/headcountSkill2.6k2d agoMITA78Claude Code
sharded-countersproyecto26/system-design-skillsSkill1511mo agoMITA106Claude Code
back-of-the-envelopeproyecto26/system-design-skillsSkill1511mo agoMITA0Claude Code
negative-keyword-sweepmarkifact/markifact-mcpSkill5913d agoMITA56Cursor
launch-google-searchmarkifact/markifact-mcpSkill5913d agoMITA56Cursor
design-reviewCavalry-Collective/visual-stackSkill172d agoMITA71Claude Code
pandadoc-invoice-handoffPandaDoc/mcp-server-guideSkill32d agoMITA65Claude Code