upgrade-stripe

upgrade-stripe is a skill for Claude Code, Codex from stripe/ai. It costs 13 tokens per session (1,323 once invoked), scanned A, a copy of upgrade-stripe, MIT.

A guide for changing Stripe API versions and software libraries. Stripe’s date-based API versions define how requests and responses behave, so an upgrade may require code changes.

In plain words
What is it for?
Use it when upgrading Stripe’s API version, server SDK, Stripe.js, or mobile SDKs, and when checking which changes require updates to application code.
Why use it?
It helps identify breaking changes, update server and browser components, and keep the application compatible with the selected Stripe version.

Skill for Claude CodeCodex ✓ vendor

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

Good fit Use it when upgrading Stripe’s API version, server SDK, Stripe.js, or mobile SDKs, and when checking which changes require updates to application code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stripe/ai/upgrade-stripe
About the project

Stripe AI is a collection of SDKs, tools, an MCP server, and agent skills for building AI products and businesses with Stripe's billing infrastructure. Developers use it to connect Stripe payments and metering to language models and agent frameworks, while the catalogue entries provide Stripe-specific skills, commands, plugins, and agent integrations.

stripe/ai · 1,794 stars · on GitHub · docs.stripe.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 stripe/ai --skill upgrade-stripe
Clone the repo
git clone --depth 1 https://github.com/stripe/ai

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 upgrade-stripe

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/stripe/ai/upgrade-stripe"><img src="https://agentmods.dev/badge/skills/stripe/ai/upgrade-stripe.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,323 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 29 May 2026
  • Snyk fail 29 May 2026
How audits are shown
Origin 88% 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.00013 $0.01323
Opus 5 $0.00006 $0.00661
Sonnet 5 $0.00003 $0.00265
Haiku 4.5 $0.00001 $0.00132

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

Security

Grade A, and why

upgrade-stripe scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl https://api.stripe.com/v1/customers \
Origin

This is a copy

88% identical to upgrade-stripe — 44 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.

providers/agent-plugins/plugin/skills/upgrade-stripe/SKILL.md · 186 lines

How it starts

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

The latest Stripe API version is 2026-08-26.dahlia - use this version when upgrading unless the user specifies a different target version.

Upgrading Stripe Versions

This guide covers upgrading Stripe API versions, server-side SDKs, Stripe.js, and mobile SDKs.

Understanding Stripe API Versioning

Stripe uses date-based API versions (e.g., 2026-08-26.dahlia, 2025-08-27.basil, 2024-12-18.acacia). Your account’s API version determines request/response behavior.

Types of Changes

Backward-Compatible Changes (don’t require code updates):

  • New API resources
  • New optional request parameters
  • New properties in existing responses
  • Changes to opaque string lengths (e.g., object IDs)
  • New webhook event types

Breaking Changes (require code updates):

  • Field renames or removals
  • Behavioral modifications
  • Removed endpoints or parameters

Review the API Changelog for all changes between versions.

Server-Side SDK Versioning

See SDK Version Management for details.

Dynamically-Typed Languages (Ruby, Python, PHP, Node.js)

These SDKs offer flexible version control:

Global Configuration:

import stripe
stripe.api_version = '2026-08-26.dahlia'
Stripe.api_version = '2026-08-26.dahlia'
const stripe = require('stripe')('sk_test_xxx', {
  apiVersion: '2026-08-26.dahlia'
});

Per-Request Override:

stripe.Customer.create(
  email="[email protected]",
  stripe_version='2026-08-26.dahlia'
)

Strongly-Typed Languages (Java, Go, .NET)

These use a fixed API version matching the SDK release date. Don’t set a different API version for strongly-typed languages because response objects might not match the strong types in the SDK. Instead, update the SDK to target a new API version.

Best Practice

Always specify the API version you’re integrating against in your code instead of relying on your account’s default API version:

Read the full file on GitHub · 186 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. 9d ago First seen · 186 lines · 13 tokens per session scan A 8c4f1cec650e

Subscribe to this mod's changes

upgrade-stripe is a skill published in the GitHub repository stripe/ai (1,794 stars, last pushed 5d ago), licensed MIT. It adds 13 tokens to every session and 1,323 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 88% identical to upgrade-stripe, differing in 44 lines, and is treated as a copy.

Related

Other skills, from other repositories

http-client-migration

Flawed HTTP client migration procedure requiring patch.

Gen-Verse/PAST-Bench · 14 tokens

pn-python-scaffolding

Scaffolds new Python API projects (FastAPI, Flask, Django) or routes. Use when adding a new route/module; covers project layout, env/secrets, validation, error handling, and idiomatic Python patterns.

perniemann/pnCore · 51 tokens

x402

Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing…

browser-use/browser-use · 175 tokens

mem0-status

Diagnoses mem0 connectivity, API key validity, and memory read/write functionality. Use when memory operations fail, searches return empty, addmemory errors occur, or to verify the plugin is working correctly.

mem0ai/mem0 · 44 tokens

cloud

Documentation reference for using Browser Use Cloud — the hosted API and SDK for browser automation. Use this skill whenever the user needs help with the Cloud REST API (v2, v3, or v4), browser-use-sdk (Python or TypeScript), X-Browser-Use-API-Key authentication, cloud sessions, browser profiles, profile sync, CDP…

browser-use/browser-use · 177 tokens

open-source

Documentation reference for writing Python code using the browser-use open-source library. Use this skill whenever the user needs help with Agent, Browser, or Tools configuration, is writing code that imports from browseruse, asks about @sandbox deployment, supported LLM models, Actor API, custom tools, lifecycle…

browser-use/browser-use · 137 tokens