saas-billing

saas-billing is a skill for Claude Code from joao-aires/agent-skills-public. It costs 90 tokens per session (1,658 once invoked), scanned A, original, MIT.

A method for designing paid access in subscription software, including plans, trials, upgrades, cancellations, refunds, taxes and payment-provider events. It treats billing records and the product's access rules as related but separate concerns.

In plain words
What is it for?
Use it to define plans and entitlements, handle payment-provider webhooks, reconcile billing records and decide how upgrades, cancellations, refunds and failed payments change access.
Why use it?
It prevents payment failures, repeated notifications or plan changes from leaving customer access out of sync with what they bought. It also clarifies which system is trusted for each commercial fact.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to define plans and entitlements, handle payment-provider webhooks, reconcile billing records and decide how upgrades, cancellations, refunds and failed payments change access.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joao-aires/agent-skills-public/saas-billing
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 joao-aires/agent-skills-public --skill saas-billing
Clone the repo
git clone --depth 1 https://github.com/joao-aires/agent-skills-public

Made for: Claude Code.

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 saas-billing

README.md
[![agentmods](https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/saas-billing/github.svg)](https://agentmods.dev/skills/joao-aires/agent-skills-public/saas-billing)
Your own site
<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.

agentmods 80×15 button for saas-billing

Your own site · 80×15
<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>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,658 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.00090 $0.01658
Opus 5.5 $0.00036 $0.00663
Sonnet 5.5 $0.00018 $0.00332
Haiku 4.5 $0.00009 $0.00166

Measured today against content hash 082f13592183, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

plugins/saas-development/skills/saas-billing/SKILL.md · 145 lines

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.

Read the full file on GitHub · 145 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. today Changed · +3 lines · +27 tokens per session 082f13592183
  2. 11d ago Changed · -3 lines bd6ad511a7bb
  3. 19d ago First seen · 145 lines · 63 tokens per session scan A ed88a78a06d8

Subscribe to this mod's changes

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.

Related

saas-billing compared with skills from other repositories

saas-billing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
saas-billingjoao-aires/agent-skills-publicSkill2yesterdayMITA90Claude Code
sector-rotationHKUDS/Vibe-TradingSkill40kyesterdayMITA39Claude Code, Codex
strategy-pivot-designertradermonty/claude-trading-skillsSkill9.9kyesterdayMITA28Claude Code
twitter-readerhimself65/finance-skillsSkill3.6k1mo agoMITA110Claude Code
energy-procurementhashgraph-online/awesome-codex-pluginsSkill1.6k2d agoApache-2.0A93Claude Code, Codex
airdrop-hunting-guidenirholas/three.wsSkill289todayApache-2.0A54Claude Code, Codex
cim-teardownmicrosoft/cat-agent-skillsSkill1272d agoMITA139Claude Code, Codex