Skip to main content
skill CX Codex GP ChatGPT official · OpenAI

stripe-best-practices · openai — Codex skill: what it does, how to install

Integration guide for Stripe in Codex: covers Checkout Sessions, Connect Accounts v2, tax setup, and restricted API keys.

Install into Codex · Skills CLI (Vercel) All methods and platforms ↓
npx skills add openai/plugins --skill stripe-best-practices -a codex
Open on GitHub

What stripe-best-practices does

This skill enforces official Stripe architectural guidelines inside coding agents. It routes API decisions toward Checkout Sessions for one-time checkouts and subscriptions, Accounts v2 for platforms, and Metronome for usage-based billing. The rules mandate instantiating a StripeClient rather than relying on legacy global API key configurations like stripe.api_key.

The guidelines eliminate common pitfalls. They ban hardcoding payment_method_types so dynamic payment methods function properly, keeping an exception only for in-person Terminal setups (card_present). Before activating automatic_tax, the skill verifies active registrations so tax collection works as expected. For authentication, it favors restricted API keys with the rk_ prefix over secret keys.

Developers can scaffold testing keys directly via stripe sandbox create in the Stripe CLI. Install this if you build payment flows from scratch and want to stay on current SDK patterns.

What it helps with

  • route payment flows between Checkout Sessions and PaymentIntents
  • configure Stripe Tax without skipping registration requirements
  • migrate code from global stripe.api_key to StripeClient instances
  • spin up sandbox credentials using the Stripe CLI

Example prompts for the agent

  • Create a one-time Checkout Session in Python with dynamic payment methods.
  • Set up Connect Accounts v2 for a marketplace backend.
  • Audit our Stripe billing integration for deprecated global key usage.

How to install stripe-best-practices

1Skills CLI (Vercel)

npx skills add openai/plugins --skill stripe-best-practices -a codex

2Manually: put the files in place

.agents/skills/stripe-best-practices/SKILL.md

For all projects use ~/.agents/skills/

From the same set201

The whole set →
supabase official supabase Guides the agent through database configuration and strict RLS policies in Supabase. CX Codex GP ChatGPT 8installs remotion-render official Remotion Exports videos and static stills from Remotion projects using CLI commands. CX Codex GP ChatGPT 3installs figma-create-new-file official Figma Creates blank Figma, FigJam, or Slides files inside draft folders. It resolves planKey and editor types before invoking Figma MCP tools. CX Codex GP ChatGPT 6installs swiftui-performance-audit official OpenAI Pinpoints SwiftUI runtime issues like frame drops, unresponsive taps, and excessive view body computations. Works code-first and guides Instruments profiling. CX Codex GP ChatGPT 109installs swiftui-liquid-glass official OpenAI This skill helps build and review SwiftUI Liquid Glass interfaces for iOS 26+. Use it when adopting the API or checking fallbacks, interaction, and design fit. CX Codex GP ChatGPT 121installs swiftui-ui-patterns official OpenAI This skill helps build and refactor SwiftUI interfaces, from navigation and state to layouts and controls. Use it for new screens or changes to an existing project. CX Codex GP ChatGPT 114installs swiftui-view-refactor official OpenAI Refactors SwiftUI view files into clean, testable structures with dedicated subview types and proper Observation ownership. CX Codex GP ChatGPT 113installs ios-memgraph-leaks official OpenAI Captures and inspects iOS leaks from a simulator process or .memgraph. Useful for tracing retained objects and checking a fix with before-and-after evidence. CX Codex GP ChatGPT 1,054installs

Other versions of stripe-best-practices

Similar

migrating-oracle-to-postgres-data-access-code official github Migrates .NET and C# data access code from Oracle to PostgreSQL using Npgsql. Useful when converting an existing .NET project layer step by step. GitHub Copilot 10installs upstash-redis official Upstash Connect to Redis over HTTP in serverless runtimes using @upstash/redis and configure rate limiting with @upstash/ratelimit without TCP connection pooling. GitHub Copilot 7installs protobuf-grpc-api-review official github Reviews .proto and gRPC changes for format compatibility, migration risks, and RPC contract quality. Use it when changing schemas or investigating failures across client versions. GitHub Copilot 7installs mcp-builder official anthropics This skill walks through building an MCP server in TypeScript or Python, from reading the protocol spec to writing tests and evaluation questions. Claude Code Claude.ai 130,949installs google-agents-cli-adk-code official Google A reference skill for building ADK agents with tools, callbacks, state, and workflows. Use it when an agent project needs concrete API patterns or code examples. Claude Code CX Codex Cursor +1 511,400installs lark-im larksuite This skill lets an agent work with Lark IM messages, chats, files, and interactive cards. Use it when coding tasks need access to team conversations. Claude Code CX Codex Cursor +1 472,300installs lark-event larksuite Listens to Lark/Feishu events and streams them as NDJSON. Use it for bots, message processing, and long-running subscribers. Claude Code CX Codex Cursor +1 466,200installs caveman-discover JuliusBrussee Finds and labels every LLM workflow in your repository so Caveman Cloud breaks down spend by actual job rather than grouping everything into one bucket. Claude Code CX Codex Cursor +1 103,500installs

Questions about stripe-best-practices

How to install stripe-best-practices in Codex?

Run npx skills add openai/plugins --skill stripe-best-practices in your terminal. Codex saves it under .agents/skills/stripe-best-practices/SKILL.md.

What does stripe-best-practices do?

It instructs AI agents to use modern Stripe patterns, targeting API version 2026-07-29.dahlia. It ensures correct API choices, restricted keys, and proper tax handling.

Why does the skill disallow payment_method_types?

Explicitly passing payment methods disables dynamic payment methods managed from the Stripe Dashboard. The only valid exception is Terminal transactions requiring card_present.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor