stripe
Skill38 starsChanged 8 months agoMITView on GitHub
Manage Stripe payments, customers, subscriptions, invoices and products via REST API
20 other projects use a version of this.
Adopted by
Most recently taken up by
- Shanksg/clawskillstheir own version, first seen Nov 1, 2026
- schroneko/skillstheir own version, first seen Oct 29, 2026
- vercel-labs/emulatetheir own version, first seen Oct 29, 2026
- obra/muse-skillstheir own version, first seen Oct 13, 2026
- HybridAIOne/hybridclawtheir own version, first seen Oct 13, 2026
- SnowBeatRain/skillstheir own version, first seen Oct 12, 2026
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- civitai/civitai★ 7.3ksame name
- vercel-labs/emulate★ 2ksame name
- Heyvhuang/ship-faster★ 337same name
- Mindrally/skills★ 275same name
- refly-ai/refly-skills★ 204same name
- magnus919/agent-skills★ 172same name
- HybridAIOne/hybridclaw★ 159same name
- kumaran-is/claude-code-onboarding★ 35same name
- obra/muse-skills★ 20same name
- YepAPI/skills★ 8same name
10 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- abacatepaySkill
- appsignalSkill
- clickupSkill
- cloudflareSkill
- cloudinarySkill
- datadogSkill
- digitaloceanSkill
- discordSkill
- firebaseSkill
- flyioSkill
- google-sheetsSkill
- herokuSkill
- honeybadgerSkill
- hostingerSkill
- hubspotSkill
- intercomSkill
- jiraSkill
- linearSkill
- mercadopagoSkill
- n8nSkill
- notionSkill
- openaiSkill
- planetscaleSkill
- posthogSkill
- railwaySkill
- resendSkill
- rewriteSkill
- sentrySkill
- shopifySkill
- slackSkill
- supabaseSkill
- trelloSkill
- twilioSkill
- vercelSkill
- xSkill
- zendeskSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 43
If the output is OK, proceed to the Flow section.
- Very specific: line 45
If the output is SETUP_NEEDED, guide the user step by step.
- Distinctive: line 62
If the script outputs an error, the key is invalid.
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/stripe
Connect to Stripe to manage payments, customers, subscriptions, invoices and products. Pure Ruby, zero gems — stdlib only.
Structure
scripts/
├── auth.rb # Bearer token auth + stripe_request helper (required by all scripts)
├── check_setup.rb # Check if token exists (outputs OK or SETUP_NEEDED)
├── save_token.rb # Save and validate an API key
├── customers.rb # List customers
├── customer.rb # Get customer details
├── create_customer.rb # Create a customer
├── charges.rb # List charges
├── payments.rb # List payment intents
├── create_payment.rb # Create a payment intent
├── subscriptions.rb # List subscriptions
├── subscription.rb # Get subscription details
├── create_subscription.rb # Create a subscription
├── invoices.rb # List invoices
├── invoice.rb # Get invoice details
├── products.rb # List products
├── create_product.rb # Create a product
├── prices.rb # List prices
├── create_price.rb # Create a price
└── balance.rb # Get account balanceSetup (check before using)
ruby ~/.claude/skills/stripe/scripts/check_setup.rbIf the output is OK, proceed to the Flow section.
If the output is SETUP_NEEDED, guide the user step by step. Present ONE step at a time, wait for the user to confirm before moving to the next.
Step 1 — Ask the user to get their API key:
You need a Stripe API key.
- Go to https://dashboard.stripe.com/apikeys
- Copy your Secret key (starts with
sk_test_orsk_live_)Paste the API key here.
Step 2 — When the user pastes the key, save it:
ruby ~/.claude/skills/stripe/scripts/save_token.rb 'PASTED_KEY'If the script outputs an error, the key is invalid. Ask the user to double-check and try again.
If setup is not complete, DO NOT proceed to the Flow. Complete all steps first.
Flow
The argument $ARGUMENTS may contain an action or customer email.
Step 1: Check balance
ruby ~/.claude/skills/stripe/scripts/balance.rbPresent the balance and ask what the user wants to do.
Step 2: Actions
List customers:
ruby ~/.claude/skills/stripe/scripts/customers.rb
ruby ~/.claude/skills/stripe/scripts/customers.rb --limit 5 --email user@example.comGet customer details:
ruby ~/.claude/skills/stripe/scripts/customer.rb CUSTOMER_IDCreate a customer (requires user confirmation):
ruby ~/.claude/skills/stripe/scripts/create_customer.rb "user@example.com" --name "John Doe" --phone "+1234567890"List charges:
ruby ~/.claude/skills/stripe/scripts/charges.rb
ruby ~/.claude/skills/stripe/scripts/charges.rb --limit 10 --customer CUSTOMER_IDList payment intents:
ruby ~/.claude/skills/stripe/scripts/payments.rb
ruby ~/.claude/skills/stripe/scripts/payments.rb --limit 10 --customer CUSTOMER_IDCreate a payment intent (requires user confirmation):
ruby ~/.claude/skills/stripe/scripts/create_payment.rb 2000 usd --customer CUSTOMER_ID --description "Order #123"List subscriptions:
ruby ~/.claude/skills/stripe/scripts/subscriptions.rb
ruby ~/.claude/skills/stripe/scripts/subscriptions.rb --limit 10 --customer CUSTOMER_ID --status activeGet subscription details:
ruby ~/.claude/skills/stripe/scripts/subscription.rb SUBSCRIPTION_IDCreate a subscription (requires user confirmation):
ruby ~/.claude/skills/stripe/scripts/create_subscription.rb CUSTOMER_ID PRICE_IDList invoices:
ruby ~/.claude/skills/stripe/scripts/invoices.rb
ruby ~/.claude/skills/stripe/scripts/invoices.rb --limit 10 --customer CUSTOMER_ID --status paidGet invoice details:
ruby ~/.claude/skills/stripe/scripts/invoice.rb INVOICE_IDList products:
ruby ~/.claude/skills/stripe/scripts/products.rb
ruby ~/.claude/skills/stripe/scripts/products.rb --limit 10 --active trueCreate a product (requires user confirmation):
ruby ~/.claude/skills/stripe/scripts/create_product.rb "Premium Plan" --description "Full access to all features"List prices:
ruby ~/.claude/skills/stripe/scripts/prices.rb
ruby ~/.claude/skills/stripe/scripts/prices.rb --limit 10 --product PRODUCT_IDCreate a price (requires user confirmation):
ruby ~/.claude/skills/stripe/scripts/create_price.rb PRODUCT_ID 2000 usd
ruby ~/.claude/skills/stripe/scripts/create_price.rb PRODUCT_ID 2000 usd --interval monthGet account balance:
ruby ~/.claude/skills/stripe/scripts/balance.rbNotes
- Pure Ruby, zero gems — stdlib only (json, net/http, uri, fileutils)
- Auth via Bearer token (API key starting with
sk_test_orsk_live_) - Token file:
~/.config/stripe/token(outside the repo, never commit) - Base URL:
https://api.stripe.com/v1 - POST/PUT bodies are sent as
application/x-www-form-urlencoded(not JSON) - Amounts are in the smallest currency unit (e.g., cents for USD: 2000 = $20.00)
- Creating customers, payments, subscriptions, products, and prices requires explicit user confirmation
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

