billing-stripe

billing-stripe is a skill for Claude Code from vstorm-co/full-stack-ai-agent-template. It costs 56 tokens per session (670 once invoked), scanned A, original, MIT.

A guide for handling Stripe billing in an application, including subscriptions, plans, invoices, credits, usage records, and payment notifications. Stripe is a service that processes payments and manages subscriptions.

In plain words
What is it for?
Use it to change subscription plans, create or update checkout flows, process Stripe webhook events, manage customer billing pages, and track credits or usage-based charges.
Why use it?
It keeps payment-related code in one billing service and records events and credit changes safely. This makes plan changes, payment updates, and usage billing easier to trace and handle consistently.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to change subscription plans, create or update checkout flows, process Stripe webhook events, manage customer billing pages, and track credits or usage-based charges.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vstorm-co/full-stack-ai-agent-template/billing-stripe
About the project

Full-Stack AI Agent Template generates full-stack AI applications with a FastAPI backend and Next.js frontend, including agents, retrieval-augmented generation, streaming, authentication, and integrations. It is for building AI products with features such as chat, conversation sharing, administration, and multiple agent or vector-database choices. Catalogue add-ons support the generated applications and their agent workflows.

vstorm-co/full-stack-ai-agent-template · 1,885 stars · on GitHub · vstorm-co.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 vstorm-co/full-stack-ai-agent-template --skill billing-stripe
Clone the repo
git clone --depth 1 https://github.com/vstorm-co/full-stack-ai-agent-template

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/vstorm-co/full-stack-ai-agent-template/billing-stripe/github.svg)](https://agentmods.dev/skills/vstorm-co/full-stack-ai-agent-template/billing-stripe)
Your own site
<a href="https://agentmods.dev/skills/vstorm-co/full-stack-ai-agent-template/billing-stripe"><img src="https://agentmods.dev/badge/skills/vstorm-co/full-stack-ai-agent-template/billing-stripe/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 billing-stripe

Your own site · 80×15
<a href="https://agentmods.dev/skills/vstorm-co/full-stack-ai-agent-template/billing-stripe"><img src="https://agentmods.dev/badge/skills/vstorm-co/full-stack-ai-agent-template/billing-stripe.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 670 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 pass 7 Sept 2026
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.00056 $0.00670
Opus 5 $0.00028 $0.00335
Sonnet 5 $0.00011 $0.00134
Haiku 4.5 $0.00006 $0.00067

Measured 10d ago against content hash 44d674b30a0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

billing-stripe 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 10d 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.

template/{{cookiecutter.project_slug}}/.claude/skills/billing-stripe/SKILL.md · 45 lines

How it starts

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

Billing & Credits (Stripe)

Billing is a thick service at backend/app/services/billing/. Routes never touch Stripe directly — everything goes through BillingService (the facade in facade.py, re-exported from __init__.py).

Layout

File Responsibility
facade.py BillingService — the only thing routes/workers import
checkout_service.py Checkout sessions (seat-configurable)
subscription_service.py Subscription CRUD, change plan, cancel/reactivate
credit_service.py Credit ledger + usage aggregation
stripe_client.py Thin Stripe API wrapper
webhook_handler.py + handlers/ Event processing (customer / invoice / payment / subscription)
pricing.py Static plan/price data
exceptions.py Billing domain errors (extend core/exceptions)

Data model: plan / price mirror Stripe products; subscription is one-per-org; stripe_event is an idempotency log; credit_transaction is an immutable ledger; usage_event records per-message token spend, rolled up into the mv_usage_daily materialized view.

Common tasks

Handle a new webhook event: add a handler module/function under services/billing/handlers/, dispatch it from webhook_handler.py, and record it in stripe_event for idempotency (skip if already processed). Verify the signature — never trust unsigned payloads.

Add/adjust a plan: update pricing.py and the corresponding Stripe product/price; the sync-stripe-plans command ({{ cookiecutter.project_slug }} cmd sync-stripe-plans) mirrors Stripe → local plan/price tables.

Charge/grant credits: go through credit_service so every change writes a credit_transaction row (grants, purchases, debits) and the running balance stays consistent. Never mutate balances directly.

Meter usage: write a usage_event (input/output/cached tokens, model, provider, credits charged) — the daily rollup and dashboard charts read from mv_usage_daily (refreshed by a background task).

Read the full file on GitHub · 45 lines

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. 10d ago First seen · 45 lines · 56 tokens per session scan A 44d674b30a0f

Subscribe to this mod's changes

billing-stripe is a skill published in the GitHub repository vstorm-co/full-stack-ai-agent-template (1,885 stars, last pushed 6d ago), licensed MIT. It adds 56 tokens to every session and 670 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

xlsx

Create polished Excel workbooks for budgets, trackers, tables, and explicit .xlsx spreadsheet requests.

MODSetter/SurfSense · 21 tokens

wb_finance_skill

A general entry point for requests about finance, investing, markets, securities, funds, trading, financial reports, and related analysis.

crane-in-clear-sky/WorkWit-AI-Agent · 145 tokens

stock_research_report_expert

A specialist guide for writing professional securities and industry research reports.

crane-in-clear-sky/WorkWit-AI-Agent · 101 tokens

x402

Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing…

browser-use/browser-use · 175 tokens

connect-recommend

Use this skill when the user asks about Stripe Connect configuration, charge patterns, Dashboard access, or how to get started with Connect, is building a marketplace, platform, multi-vendor store, gig platform, or subscription platform, needs to pay out sellers, vendors, or providers, mentions split payments, revenue…

stripe/ai · 151 tokens

stripe-best-practices

Guides Stripe integration decisions across API selection (Checkout Sessions vs PaymentIntents), Connect platform setup (Accounts v2, controller properties), billing/subscriptions, tax and registrations (Stripe Tax, automatictax, product tax codes), Treasury financial accounts, integration options (Checkout, Payment…

stripe/ai · 135 tokens