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 devantler-tech/agent-plugins --skill stripe-best-practicesgit clone --depth 1 https://github.com/devantler-tech/agent-pluginsWrote 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/devantler-tech/agent-plugins/stripe-best-practices)<a href="https://agentmods.dev/skills/devantler-tech/agent-plugins/stripe-best-practices"><img src="https://agentmods.dev/badge/skills/devantler-tech/agent-plugins/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.
<a href="https://agentmods.dev/skills/devantler-tech/agent-plugins/stripe-best-practices"><img src="https://agentmods.dev/badge/skills/devantler-tech/agent-plugins/stripe-best-practices.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.00161 | $0.01503 |
| Opus 5.5 | $0.00064 | $0.00601 |
| Sonnet 5.5 | $0.00032 | $0.00301 |
| Haiku 4.5 | $0.00016 | $0.00150 |
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 8d 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.
This is a copy
86% identical to stripe-best-practices — 21 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.
How it starts
The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Latest Stripe API version: 2026-11-18.endive. 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 | 21.1.0 |
| Python | 17.1.0 |
| Node.js | 23.2.0 |
| PHP | 23.1.0 |
| Java | 34.2.0 |
| Go | 87.2.0 |
| .NET | 53.2.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 using the installation script for your operating system, then open a new terminal 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; don’t 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. Reference paths are relative to this skill’s directory, not to the docs.stripe.com root. If you don’t have the skill files locally, append the path to https://docs.stripe.com/.well-known/skills/stripe-best-practices/. For example, fetch https://docs.stripe.com/.well-known/skills/stripe-best-practices/references/connect.md.
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.
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.
- 8d ago Changed 02b15fae9a91
- 16d ago Changed d45474f5d424
- 17d ago Changed 6b6f1e5e9e36
- 25d ago First seen · 71 lines · 161 tokens per session scan A ffaa27f4bfd6
stripe-best-practices is a skill published in the GitHub repository devantler-tech/agent-plugins (3 stars, last pushed 2d ago), licensed Apache-2.0. It adds 161 tokens to every session and 1,503 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to stripe-best-practices, differing in 21 lines, and is treated as a copy.
stripe-best-practices compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stripe-best-practicesdevantler-tech/agent-plugins | Skill | 3 | 2d ago | Apache-2.0 | A | 161 | Claude Code |
| design-code-architecturewondelai/skills | Skill | 2.8k | today | MIT | A | 220 | Claude Code |
| system-designwondelai/skills | Skill | 2.8k | today | MIT | A | 139 | Claude Code, Codex |
| bloombloom-directory/bloom | Skill | 27 | today | MIT | A | 124 | Claude Code |
| subscription-lifecycleHainrixz/agente-pagokit | Skill | 72 | 1mo ago | MIT | A | 102 | Claude Code |
| nodejsxobotyi/cc-foundry | Skill | 23 | today | MIT | B | 50 | Claude Code |
| zogxobotyi/cc-foundry | Skill | 23 | today | MIT | B | 45 | Claude Code |