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.
npx skills add hoangatg/ai-agent-toolkit --skill stripe-integrationgit clone --depth 1 https://github.com/hoangatg/ai-agent-toolkitWrote 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.
[](https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/stripe-integration)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 |
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.
- 5d ago First seen · 117 lines · 29 tokens per session scan A d20bf44561ea
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.
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.
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…
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.
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…
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.
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…