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.5 $0.00000 $0.00192
Sonnet 5.5 $0.00000 $0.00096
Haiku 4.5 $0.00000 $0.00048

Measured 1mo ago against content hash 2f33ecc2d7f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 6mo 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

stripe-refund-auditor

Audits Stripe refunds over a date range to surface anomalies (refund-rate spikes, missing reasons, duplicate refunds). Activates when the user asks to "audit refunds", "check Stripe refund anomalies", or "review refund activity".

anton-abyzov/vskill · 52 tokens

stripe-billing-subscriptions

Analyze Stripe customers, subscriptions, prices, invoices, payment status, and lifecycle transitions with explicit environment and object scope.

Devin-AXIS/iPolloWork · 29 tokens

tax-filing

End-to-end corporate and personal tax preparation: data gathering from Xero/bank statements/Gmail/Obsidian/Google Drive, P&L generation, IRS compliance analysis, tax calculation, document staging, and payment guidance. Use this skill when the user mentions tax filing, tax preparation, P&L report, Form 1120, Form 1040…

anton-abyzov/vskill · 185 tokens

continue-with-codeagent-credits

Switch a session to a CodeAgent managed agent billed from the user's prepaid credits, with the user's explicit confirmation.

edgar-durand/codeagent-mobile-clients · 29 tokens

stripe

Generated by Gutenberg. Use this skill to call the stripe API through the local stripe CLI.

JustVugg/tools-factory · 33 tokens

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