stripe

stripe is a skill for Claude Code, Codex from andresquirogadev/skillsense. It costs 0 tokens per session (479 once invoked), scanned A, original, MIT.

A set of conventions for adding Stripe payments to an application. Stripe is a payment service used for checkout, taxes, payment confirmation, and webhooks, which are messages Stripe sends to your server about payment events.

In plain words
What is it for?
Use it when implementing checkout pages, tax calculation, order or user tracking, and server-side handling of successful or failed payment events.
Why use it?
It helps keep secret payment keys on the server, create checkout sessions correctly, and verify that payment notifications really came from Stripe.

Skill for Claude CodeCodex

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

Good fit Use it when implementing checkout pages, tax calculation, order or user tracking, and server-side handling of successful or failed payment events.

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

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/andresquirogadev/skillsense/stripe/github.svg)](https://agentmods.dev/skills/andresquirogadev/skillsense/stripe)
Your own site
<a href="https://agentmods.dev/skills/andresquirogadev/skillsense/stripe"><img src="https://agentmods.dev/badge/skills/andresquirogadev/skillsense/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/andresquirogadev/skillsense/stripe"><img src="https://agentmods.dev/badge/skills/andresquirogadev/skillsense/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 479 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.00479
Opus 5 $0.00000 $0.00239
Sonnet 5 $0.00000 $0.00096
Haiku 4.5 $0.00000 $0.00048

Measured 12d ago against content hash 2f33ecc2d7f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 12d 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.

packages/catalog/skills/stripe/SKILL.md · 44 lines

How it starts

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

Stripe Skill

You are integrating Stripe payments. Apply these conventions.

Setup

  • Store STRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET as server-only environment variables — never expose on the client.
  • Store NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY as a client-exposed variable for Stripe.js.
  • Use the official stripe Node.js SDK on the server; use @stripe/stripe-js on the client.
  • Initialize the server SDK once:
    import Stripe from 'stripe';
    export const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, { apiVersion: '2024-12-18.acacia' });
    

Checkout Session

  • Create Checkout Sessions on the server; return the session URL to the client for redirect.
  • Always set success_url and cancel_url with ?session_id={CHECKOUT_SESSION_ID} in success_url for verification.
  • Use metadata to attach order/user IDs to the session for webhook reconciliation.
  • Enable automatic_tax: { enabled: true } for tax calculation.

Webhooks

  • Verify every webhook signature before processing:
    const event = stripe.webhooks.constructEvent(rawBody, signature, process.env.STRIPE_WEBHOOK_SECRET!);
    
  • Use the raw request body (Buffer) for verification — JSON parsing the body before this step will break signature validation.
  • Handle checkout.session.completed, payment_intent.succeeded, invoice.payment_failed, and customer.subscription.deleted at minimum.
  • Make webhook handlers idempotent — Stripe may deliver the same event more than once.

Subscriptions

  • Create a Customer object for each user and store stripe_customer_id in your database.
  • Use customer.subscription.updated and customer.subscription.deleted to sync subscription status.
  • Store current_period_end and status in your DB — never re-fetch Stripe on every request for gating logic.

Testing

  • Use Stripe test mode keys in development; never use real keys in tests.
  • Use the Stripe CLI to forward webhooks: stripe listen --forward-to localhost:3000/api/webhooks/stripe.
  • Use stripe trigger commands to fire test events.

Read the full file on GitHub · 44 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. 12d ago First seen · 44 lines · 0 tokens per session scan A 2f33ecc2d7f9

Subscribe to this mod's changes

stripe is a skill published in the GitHub repository andresquirogadev/skillsense (2 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 479 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

payment-integration

Implement payment integrations with SePay (Vietnamese payment gateway with VietQR, bank transfers, cards) and Polar (global SaaS monetization platform with subscriptions, usage-based billing, automated benefits). Use when integrating payment processing, implementing checkout flows, managing subscriptions, handling…

ihatesea69/kiro-kit · 120 tokens

zapier-israeli-integrations

Build Zapier Zaps connecting Israeli business apps (Morning/Green Invoice, Cardcom, Tranzila, iCount, Grow) with global services for billing, payment, and workflow automation. Use when asked to "create a Zap for Israeli invoicing", "automate Morning receipts", "connect Cardcom to my CRM", or set up payment…

squadcodercom/squadcoder · 184 tokens

pelecard-payment-gateway

Integrate Pelecard payment processing into Israeli web and mobile apps -- covers the iframe payment flow on gateway21.pelecard.biz, ActionType selection (J2/J4/J5/J5h), tashlumim (installments), tokenization, ConfirmationKey server-side validation via PaymentGW/GetTransaction, refunds, 3D Secure 2, Bit wallet, and…

squadcodercom/squadcoder · 197 tokens

tranzila-payment-gateway

Integrate Tranzila payment processing into Israeli applications -- covers iframe payments, tokenization, installments (tashlumim), refunds, 3D Secure, and Bit wallet. Use when user asks to accept payments via Tranzila, integrate Israeli credit card processing, set up "slikat ashrai", handle tashlumim (installment…

squadcodercom/squadcoder · 146 tokens

israeli-customs-duty-calculator

Classify products into Israeli 8-digit HS codes and calculate full landed cost for imports to Israel: customs duty, VAT 18%, and purchase tax (mas kniya). Use when user asks about Israel import tax, personal import threshold, customs duty on an online order from Amazon/AliExpress, FTA preferences from US/EU/UK/Canada…

squadcodercom/squadcoder · 195 tokens

israeli-payment-orchestrator

Orchestrate Israeli payment gateways (Cardcom, Tranzila, PayMe, Meshulam, iCredit, Pelecard) with unified routing, fallback, and installments (tashlumim). Use when user asks about multi-gateway payment integration, "slikat kartisim", "tashlumim", payment routing, Shva network, BOI payment-services regulation, gateway…

squadcodercom/squadcoder · 197 tokens