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.
npx skills add joao-aires/agent-skills-public --skill saas-billinggit clone --depth 1 https://github.com/joao-aires/agent-skills-publicWrote 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.
[](https://agentmods.dev/skills/joao-aires/agent-skills-public/saas-billing)<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/saas-billing"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/saas-billing/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.
<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/saas-billing"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/saas-billing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00090 | $0.01658 |
| Opus 5.5 | $0.00036 | $0.00663 |
| Sonnet 5.5 | $0.00018 | $0.00332 |
| Haiku 4.5 | $0.00009 | $0.00166 |
Grade A, and why
saas-billing 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Make paid access a contract, not a redirect
Billing answers a commercial question and an access question at the same time: what the customer bought, what the product currently permits, and how those two facts stay aligned when a payment fails, an event repeats or a plan changes. Treat the payment provider as one source of facts, not as the product's entitlement model.
This method owns plans, prices, entitlements, commercial transitions and provider-event
handling. saas-design owns customer lifecycle and tenancy; saas-identity-and-access
owns who may administer the account; saas-supporting-services owns non-billing supporting
capabilities. Reuse their accepted decisions rather than duplicating them here.
Reading path
| Need | Read |
|---|---|
| Entitlement model, precedence, trials, transitions and enforcement evidence | Entitlements |
| Webhook authenticity, idempotency, ordering, replay, retries and reconciliation | Provider events |
| Dated Stripe and Superwall observations and verification questions | Provider notes |
| Customer lifecycle and tenant closure | saas-design |
| Organization roles and administrative authority | saas-identity-and-access |
Read only the reference that matches the open decision. Provider notes do not override the commercial model and do not record durable prices.
Establish the commercial promise
Define what is sold before defining how it is charged:
- the plans and the capability, limit or service level each one promises;
- who buys (person, organization, workspace) and which entity owns the invoice;
- the billing interval, currency, tax treatment and supported payment methods;
- what a trial includes, how it ends and what the customer sees at the boundary;
- how seats, usage or credits are counted and when they become billable;
- what happens to existing data and work on downgrade, cancellation or non-payment.
Keep the product's plan and entitlement vocabulary separate from provider objects such as prices, products or subscription items. Map them explicitly. A provider price ID can change without changing the product promise; a product promise can change without creating a new provider price.
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.
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.
- today Changed · +3 lines · +27 tokens per session 082f13592183
- 11d ago Changed · -3 lines bd6ad511a7bb
- 19d ago First seen · 145 lines · 63 tokens per session scan A ed88a78a06d8
saas-billing is a skill published in the GitHub repository joao-aires/agent-skills-public (2 stars, last pushed yesterday), licensed MIT. It adds 90 tokens to every session and 1,658 once invoked, about $0.0004 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-11-17.
saas-billing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| saas-billingjoao-aires/agent-skills-public | Skill | 2 | yesterday | MIT | A | 90 | Claude Code |
| sector-rotationHKUDS/Vibe-Trading | Skill | 40k | yesterday | MIT | A | 39 | Claude Code, Codex |
| strategy-pivot-designertradermonty/claude-trading-skills | Skill | 9.9k | yesterday | MIT | A | 28 | Claude Code |
| twitter-readerhimself65/finance-skills | Skill | 3.6k | 1mo ago | MIT | A | 110 | Claude Code |
| energy-procurementhashgraph-online/awesome-codex-plugins | Skill | 1.6k | 2d ago | Apache-2.0 | A | 93 | Claude Code, Codex |
| airdrop-hunting-guidenirholas/three.ws | Skill | 289 | today | Apache-2.0 | A | 54 | Claude Code, Codex |
| cim-teardownmicrosoft/cat-agent-skills | Skill | 127 | 2d ago | MIT | A | 139 | Claude Code, Codex |