stripe-integration

stripe-integration is a skill for Claude Code, Codex from hoangatg/ai-agent-toolkit. It costs 29 tokens per session (750 once invoked), scanned A, original, MIT.

Stripe payment integration guidance for adding online payments and recurring billing to applications. It covers checkout pages, payment intents, subscriptions, customer billing portals, webhooks, and marketplace payments.

In plain words
What is it for?
Use it to implement one-time payments, subscriptions, trials, billing management, payment methods, and Stripe Connect marketplace flows.
Why use it?
It helps connect payment events to application actions such as fulfilling an order or updating a subscription, while choosing an appropriate checkout flow.

Skill for Claude CodeCodex

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

Good fit Use it to implement one-time payments, subscriptions, trials, billing management, payment methods, and Stripe Connect marketplace flows.

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

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-integration

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/stripe-integration"><img src="https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/stripe-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 750 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.00029 $0.00750
Opus 5 $0.00015 $0.00375
Sonnet 5 $0.00006 $0.00150
Haiku 4.5 $0.00003 $0.00075

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

Security

Grade A, and why

stripe-integration 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 5d 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.

.agent/skills/stripe-integration/SKILL.md · 117 lines

How it starts

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

Stripe Integration

Get paid reliably. Stripe handles the hard parts of payments.


1. Integration Patterns

Pattern Best For Complexity
Checkout Session Quick setup, hosted page Low
Payment Intent Custom UI, full control Medium
Subscription Recurring billing Medium
Billing Portal Self-service management Low
Connect Marketplace, split payments High

2. Checkout Flow

Server-Side Flow

Client Request → Create Checkout Session → Redirect to Stripe
  → Customer Pays → Webhook: checkout.session.completed
  → Fulfill Order → Show Success Page

Key Decisions

Decision Options
Hosted vs Embedded Hosted (simpler) vs Elements (custom UI)
Payment methods Cards, Apple Pay, Google Pay, SEPA
Tax handling Stripe Tax, manual, or external
Trial periods Free trial before charging

3. Subscription Management

Subscription Lifecycle

Created → Active → [Past Due → Unpaid → Canceled]
                  → [Paused]
                  → [Canceled at period end]

Key Webhooks

Event Action
checkout.session.completed Provision access
invoice.payment_succeeded Confirm renewal
invoice.payment_failed Notify user, retry
customer.subscription.deleted Revoke access
customer.subscription.updated Update plan details

4. Webhook Security

Verification Principles

Principle Implementation
Verify signature Use Stripe SDK, never skip
Idempotent handling Deduplicate by event ID
Acknowledge fast Return 200 immediately, process async
Retry handling Stripe retries for 3 days
Event ordering Don't assume order, check timestamps

5. Security

Practice Implementation
Server-side only Secret key never on client
Webhook verification Validate every webhook signature
PCI compliance Use Stripe.js/Elements (SAQ A)
Idempotency keys Prevent duplicate charges
Metadata Track internal IDs, don't store card data

Read the full file on GitHub · 117 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. 5d ago First seen · 117 lines · 29 tokens per session scan A d20bf44561ea

Subscribe to this mod's changes

stripe-integration is a skill published in the GitHub repository hoangatg/ai-agent-toolkit (1 stars, last pushed 5mo ago), licensed MIT. It adds 29 tokens to every session and 750 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

frappe-payments

Frappe Payments and ERPNext payment workflow guidance for payment gateways, payment requests, subscriptions, invoices, reconciliation, webhooks, and secure checkout flows. Use when work touches payments in Frappe or ERPNext.

Dkm0315/frappe-agent · 49 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

opencode

Delegate coding tasks to the OpenCode CLI for feature work, refactoring, PR review, and autonomous-style runs. Requires opencode installed where the agent can execute shell commands.

deepelementlab/jupyter-studio · 38 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

codex

Delegate coding tasks to the OpenAI Codex CLI for features, refactoring, PR reviews, and batch fixes. Requires the codex CLI and typically a git repository.

deepelementlab/jupyter-studio · 37 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