stripe

stripe is a skill for Claude Code, Codex from CaseMark/casedotdev-starter-app. It costs 0 tokens per session (3,524 once invoked), scanned A, original, Apache-2.0.

Guidance for adding Stripe payments to a legal technology application, including recurring subscriptions, checkout pages, usage billing, and payment notifications.

In plain words
What is it for?
Use it to implement subscription billing, hosted checkout, credit or usage tracking, customer self-service, and webhook handling. A webhook is a message Stripe sends when a payment event occurs.
Why use it?
It organizes the server code, browser code, and secret settings needed to connect an application to Stripe.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to implement subscription billing, hosted checkout, credit or usage tracking, customer self-service, and webhook handling. A webhook is a message Stripe sends when a payment event occurs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/casemark/casedotdev-starter-app/stripe
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 CaseMark/casedotdev-starter-app --skill stripe
Clone the repo
git clone --depth 1 https://github.com/CaseMark/casedotdev-starter-app

Made for: Claude Code, Codex.

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 stripe

README.md
[![agentmods](https://agentmods.dev/badge/skills/casemark/casedotdev-starter-app/stripe/github.svg)](https://agentmods.dev/skills/casemark/casedotdev-starter-app/stripe)
Your own site
<a href="https://agentmods.dev/skills/casemark/casedotdev-starter-app/stripe"><img src="https://agentmods.dev/badge/skills/casemark/casedotdev-starter-app/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 stripe

Your own site · 80×15
<a href="https://agentmods.dev/skills/casemark/casedotdev-starter-app/stripe"><img src="https://agentmods.dev/badge/skills/casemark/casedotdev-starter-app/stripe.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,524 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.00000 $0.03524
Opus 5 $0.00000 $0.01762
Sonnet 5 $0.00000 $0.00705
Haiku 4.5 $0.00000 $0.00352

Measured 8d ago against content hash 624832b7583b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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 8d 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.

skills/stripe/SKILL.md · 607 lines

How it starts

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

Stripe Integration Skill

Purpose

This skill covers Stripe payment integration for subscriptions, checkout, credit/usage tracking, and webhook handling in legal tech applications.

Key Concepts

  • Stripe SDK: Official Stripe Node.js library
  • Subscriptions: Recurring billing for SaaS
  • Checkout: Hosted payment pages
  • Webhooks: Real-time payment event notifications
  • Usage-Based Billing: Track and bill for API usage/credits
  • Customer Portal: Self-service subscription management

Setup

Installation

bun add stripe
bun add -D @stripe/stripe-js

Environment Variables

# .env.local
STRIPE_SECRET_KEY=sk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_...

Stripe Client

// lib/stripe/client.ts
import Stripe from 'stripe';

export const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, {
  apiVersion: '2025-12-15.clover', // Latest stable API version
  typescript: true,
});

Project Structure

/
├── app/
│   ├── api/
│   │   ├── stripe/
│   │   │   ├── checkout/route.ts
│   │   │   ├── portal/route.ts
│   │   │   └── webhooks/route.ts
│   └── ...
├── lib/
│   ├── stripe/
│   │   ├── client.ts
│   │   ├── products.ts
│   │   ├── subscriptions.ts
│   │   └── webhooks.ts
└── ...

Products and Prices

Creating Products (Stripe Dashboard or API)

// lib/stripe/products.ts
import { stripe } from './client';

export async function createProduct() {
  const product = await stripe.products.create({
    name: 'Pro Plan',
    description: 'Professional legal tech features',
  });
  
  const price = await stripe.prices.create({
    product: product.id,
    unit_amount: 4900, // $49.00 in cents
    currency: 'usd',
    recurring: {
      interval: 'month',
    },
  });
  
  return { product, price };
}

Listing Products

export async function getProducts() {
  const products = await stripe.products.list({
    active: true,
    expand: ['data.default_price'],
  });
  
  return products.data;
}

Read the full file on GitHub · 607 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. 8d ago First seen · 607 lines · 0 tokens per session scan A 624832b7583b

Subscribe to this mod's changes

stripe is a skill published in the GitHub repository CaseMark/casedotdev-starter-app (2 stars, last pushed 2mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 3,524 tokens. 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-31.

Related

Other skills, from other repositories

asc-ppp-pricing

Set territory-specific pricing for subscriptions and in-app purchases using current asc setup, pricing summary, price import, and price schedule commands. Use when adjusting prices by country or implementing localized PPP strategies.

rorkai/app-store-connect-cli-skills · 45 tokens

stripe

Stripe API integration with managed OAuth. Manage customers, subscriptions, invoices, products, prices, and payments. Use this skill when users want to process payments, manage billing, or handle subscriptions with Stripe. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).…

CraftOS-dev/CraftBot · 79 tokens

etsy-pricing-strategy

Etsy pricing — cost calculation, competitor pricing, perceived value, shipping cost integration, sales and coupons.

nexscope-ai/eCommerce-Skills · 26 tokens

amazon-wholesale-sourcing

Wholesale product sourcing — supplier discovery, negotiation, MOQ optimization, margin analysis.

nexscope-ai/Amazon-Skills · 20 tokens

ai-slop

Operational rubric that turns "don't make AI slop" into observable properties, severity levels, evidence requirements, and repair actions for interface design. Use as the reference rubric when building or reviewing marketing sites, product interfaces, dashboards, portfolios, or e-commerce pages, especially alongside…

waybarrios/opencode-power-pack · 61 tokens

payment-processor

Skill "payment-processor" from Signal-Execution-Labs/forex-trading-ai-agent, covering payment processor skill, supported services, capabilities, view balances and get all balances.

Signal-Execution-Labs/forex-trading-ai-agent · 0 tokens