stripe-best-practices

stripe-best-practices is a skill for Claude Code from fcakyon/claude-codex-settings. It costs 161 tokens per session (1,485 once invoked), scanned A, a copy of stripe-best-practices, Apache-2.0.

A guide to choosing and implementing Stripe features for payments, subscriptions, connected accounts, tax, financial accounts, and related services.

In plain words
What is it for?
Use it when building checkout, one-time payments, subscriptions, marketplace payments, tax handling, or Stripe test environments.
Why use it?
It helps you select suitable Stripe APIs and safer integration choices for different payment and billing requirements.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the stripe-skills plugin — 8 skills shipped together

Good fit Use it when building checkout, one-time payments, subscriptions, marketplace payments, tax handling, or Stripe test environments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fcakyon/claude-codex-settings/stripe-best-practices
About the project

claude-codex-settings is a collection of configurations and reusable extensions for Claude Code, OpenAI Codex, Cursor, and related coding tools. Developers use its skills, commands, hooks, agents, plugins, and MCP servers to shape coding-agent workflows and connect alternative model APIs. The catalogue entries are components of this collection that can be installed into supported coding tools.

fcakyon/claude-codex-settings · 1,187 stars · on GitHub · claudesettings.com

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 fcakyon/claude-codex-settings --skill stripe-best-practices
Clone the repo
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings

Made for: Claude Code.

Or install stripe-skills, the plugin that ships this one along with the rest of its 8 skills.

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-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/stripe-best-practices/github.svg)](https://agentmods.dev/skills/fcakyon/claude-codex-settings/stripe-best-practices)
Your own site
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/stripe-best-practices"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/stripe-best-practices/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-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/stripe-best-practices"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/stripe-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,485 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 98% copy Near-identical to another mod 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.00161 $0.01485
Opus 5.5 $0.00064 $0.00594
Sonnet 5.5 $0.00032 $0.00297
Haiku 4.5 $0.00016 $0.00148

Measured 23d ago against content hash 59d0395ca626, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stripe-best-practices 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 23d 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.

Origin

This is a copy

98% identical to stripe-best-practices — 42 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/stripe-skills/skills/stripe-best-practices/SKILL.md · 80 lines

How it starts

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

Latest Stripe API version: 2026-08-26.dahlia. Always use the latest API version and SDK unless the user specifies otherwise.

Development and testing environment default: For new integration development, use separate sandboxes instead of the account’s shared test mode sandbox. Sandboxes isolate settings and test data from live mode. Use separate sandboxes for local development and CI. When stronger isolation is useful, dedicate sandboxes to development teams or testing scenarios. Use the shared test mode sandbox only for an existing integration that depends on it or when a required feature doesn’t support general sandboxes.

Latest SDK versions:

Language Latest version
Ruby 19.6.0
Python 15.6.0
Node.js 22.6.0
PHP 21.3.0
Java 33.4.0
Go 86.4.0
.NET 52.4.0

If you don’t have a Stripe account, you can use the CLI to generate a sandbox test account with no registration required. Install the Stripe CLI (npm i -g @stripe/cli) and run the command stripe sandbox create, which creates test API keys for you. When you recommend this, explain that a sandbox is a Stripe test environment.

If stripe sandbox create is used, don’t use MCP.

If you try to use MCP after running sandbox creation, first make sure stripe sandbox claim is run. Use stripe whoami --format json for CLI auth checks; do not run stripe config --list.

API key default: Always recommend a restricted API key (RAK) (rk_ prefix) over a secret key (sk_ prefix).

Integration routing

Building… Recommended API Details
One-time payments Checkout Sessions references/payments.md
Custom payment form with embedded UI Checkout Sessions + Payment Element references/payments.md
Saving a payment method for later Setup Intents references/payments.md
Connect platform or marketplace Accounts v2 (/v2/core/accounts) references/connect.md
Usage-based billing (new integration) Metronome references/billing.md
Subscriptions or recurring billing Billing APIs + Checkout Sessions references/billing.md
Sales tax, VAT, or GST compliance Stripe Tax + Registrations API references/tax.md
Embedded financial accounts / banking v2 Financial Accounts references/treasury.md
Security (key management, RAKs, webhooks, OAuth, 2FA, Connect liability) See security reference references/security.md

Read the relevant reference file before answering any integration question or writing code.

Read the full file on GitHub · 80 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 23d ago Changed · +6 lines · +27 tokens per session 59d0395ca626
  2. 1mo ago Changed d4c5bea537e3
  3. 1mo ago First seen · 74 lines · 134 tokens per session scan A 0bd7b5253cd5

Subscribe to this mod's changes

stripe-best-practices is a skill published in the GitHub repository fcakyon/claude-codex-settings (1,187 stars, last pushed today), licensed Apache-2.0. It adds 161 tokens to every session and 1,485 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 98% identical to stripe-best-practices, differing in 42 lines, and is treated as a copy.

Related

Other skills, from other repositories

lov-skill-pricing

A pricing workflow for creating an explanation-backed pricing card for an AI agent skill. It considers creation and maintenance effort, user value, scarcity, buyer confidence, and distribution potential.

lovstudio/skills · 78 tokens

lov-expense-report

A tool that reads invoice photos, scanned receipts, or expense descriptions and turns them into a categorized Excel reimbursement report. It extracts details such as date, vendor, item, amount, and notes.

lovstudio/skills · 127 tokens

ainb-fleet:cost

Show fleet spend — per-session, per-model, per-day, and per-group USD cost rollups for every claude/codex session, sourced live from ainb's burndown analytics (which already prices every provider call). Use when you need spend visibility across a multi-session fleet, want to find the most expensive session/model, or…

stevengonsalvez/agents-in-a-box · 120 tokens

payment-gateways-stripe-adyen-integration

Architect and implement secure, PCI-DSS compliant payment processing integrations with Stripe and Adyen, featuring idempotent webhook handling, tokenization, multi-currency processing, automatic retries, and ledger-based reconciliation.

hamzabellouch/agent-skills · 53 tokens

tray-pagamentos

API de informações de pagamento da Tray (recurso payments). Cobre listar, consultar, criar, atualizar e excluir registros de pagamento (CRUD em /payments), além de consultar as opções de pagamento ativas da loja (/payments/options) e as configurações globais de pagamento (/payments/settings). Total de 7 endpoints.…

tray-tecnologia/tray-api-ai-plugin · 176 tokens

tray-notas-fiscais

API de Notas Fiscais (NF-e) da Tray. Utilize quando o desenvolvedor precisar gerenciar notas fiscais eletrônicas associadas a pedidos, incluindo listagem geral, consulta por ID, consulta por pedido, criação e atualização. Inclui campos como número, série, chave de acesso, CFOP, link do DANFE e valor total, essenciais…

tray-tecnologia/tray-api-ai-plugin · 88 tokens