stripe
Stripe API for payments. Use when user mentions "Stripe", "Link by Stripe", "payment", "subscription", "billing", "invoice", Checkout, or asks about payment processing.
What this skill does
## Troubleshooting
If requests fail, run `zero doctor check-connector --env-name STRIPE_TOKEN` or `zero doctor check-connector --url https://api.stripe.com/v1/account --method GET`
## Authentication and Link
Use `STRIPE_TOKEN` for all Stripe API calls. It can be a secret key (`sk_test_*` / `sk_live_*`) or a restricted key (`rk_test_*` / `rk_live_*`). Link by Stripe does not have a separate Link API key; it is a Stripe payment method / customer wallet. Use `STRIPE_TOKEN` to create the seller-side Checkout Session or PaymentIntent, then the customer completes Link in a browser.
## Important: Stripe Uses Form-Encoded Bodies
Stripe API accepts `application/x-www-form-urlencoded` for POST requests, **not JSON**. Write request bodies to a `.txt` file using `key=value&key=value` format. Nested params use bracket syntax: `items[0][price]=price_xxx`.
## Core APIs
### Get Account Info
```bash
curl -s -u "$STRIPE_TOKEN:" "https://api.stripe.com/v1/account" | jq '{id, business_profile, charges_enabled, payouts_enabled}'
```
Docs: https://docs.stripe.com/api/accounts/retrieve
### List Customers
```bash
curl -s -u "$STRIPE_TOKEN:" "https://api.stripe.com/v1/customers?limit=10" | jq '.data[] | {id, name, email}'
```
Docs: https://docs.stripe.com/api/customers/list
### Get Customer
```bash
curl -s -u "$STRIPE_TOKEN:" "https://api.stripe.com/v1/customers/<customer-id>" | jq '{id, name, email, created}'
```
### Create Customer
Write to `/tmp/stripe_request.txt`:
```
name=John Doe&[email protected]
```
```bash
curl -s -u "$STRIPE_TOKEN:" -X POST "https://api.stripe.com/v1/customers" -d @/tmp/stripe_request.txt | jq '{id, name, email}'
```
Docs: https://docs.stripe.com/api/customers/create
### Update Customer
Write to `/tmp/stripe_request.txt`:
```
name=Jane Doe
```
```bash
curl -s -u "$STRIPE_TOKEN:" -X POST "https://api.stripe.com/v1/customers/<customer-id>" -d @/tmp/stripe_request.txt | jq '{id, name, email}'
```
### Delete Customer
```bash
curl -s -u "$STRIPE_TOKEN:" -X DELETE "https://api.stripe.com/v1/customers/<customer-id>" | jq '{id, deleted}'
```
Docs: https://docs.stripe.com/api/customers/delete
### List Products
```bash
curl -s -u "$STRIPE_TOKEN:" "https://api.stripe.com/v1/products?limit=10" | jq '.data[] | {id, name, active}'
```
Docs: https://docs.stripe.com/api/products/list
### Get Product
```bash
curl -s -u "$STRIPE_TOKEN:" "https://api.stripe.com/v1/products/<product-id>" | jq '{id, name, description, active}'
```
### Create Product
Write to `/tmp/stripe_request.txt`:
```
name=Premium Plan&description=Full access to all features
```
```bash
curl -s -u "$STRIPE_TOKEN:" -X POST "https://api.stripe.com/v1/products" -d @/tmp/stripe_request.txt | jq '{id, name, description}'
```
Docs: https://docs.stripe.com/api/products/create
### List Prices
```bash
curl -s -u "$STRIPE_TOKEN:" "https://api.stripe.com/v1/prices?limit=10" | jq '.data[] | {id, product, unit_amount, currency, recurring}'
```
Docs: https://docs.stripe.com/api/prices/list
### Create Price
Write to `/tmp/stripe_request.txt`:
```
unit_amount=2000¤cy=usd&recurring[interval]=month&product=<product-id>
```
```bash
curl -s -u "$STRIPE_TOKEN:" -X POST "https://api.stripe.com/v1/prices" -d @/tmp/stripe_request.txt | jq '{id, unit_amount, currency, recurring}'
```
Docs: https://docs.stripe.com/api/prices/create
### List Subscriptions
```bash
curl -s -u "$STRIPE_TOKEN:" "https://api.stripe.com/v1/subscriptions?limit=10" | jq '.data[] | {id, customer, status, items: .items.data[0].price.id}'
```
Docs: https://docs.stripe.com/api/subscriptions/list
### Get Subscription
```bash
curl -s -u "$STRIPE_TOKEN:" "https://api.stripe.com/v1/subscriptions/<subscription-id>" | jq '{id, customer, status, current_period_start, current_period_end}'
```
### Create Subscription
Write to `/tmp/stripe_request.txt`:
```
customer=<customer-id>&items[0][price]=<price-id>
```
```bash
curl -s -u "$STRIPE_TOKEN:" -X POST "https://api.stripe.com/v1/subscriptions" -d @/tmp/stripe_request.txt | jq '{id, customer, status}'
```
Docs: https://docs.stripe.com/api/subscriptions/create
### Cancel Subscription
```bash
curl -s -u "$STRIPE_TOKEN:" -X DELETE "https://api.stripe.com/v1/subscriptions/<subscription-id>" | jq '{id, status}'
```
Docs: https://docs.stripe.com/api/subscriptions/cancel
### List Invoices
```bash
curl -s -u "$STRIPE_TOKEN:" "https://api.stripe.com/v1/invoices?limit=10" | jq '.data[] | {id, customer, status, amount_due, currency}'
```
Docs: https://docs.stripe.com/api/invoices/list
### Get Invoice
```bash
curl -s -u "$STRIPE_TOKEN:" "https://api.stripe.com/v1/invoices/<invoice-id>" | jq '{id, customer, status, amount_due, amount_paid}'
```
### List Payment Intents
```bash
curl -s -u "$STRIPE_TOKEN:" "https://api.stripe.com/v1/payment_intents?limit=10" | jq '.data[] | {id, amount, currency, status}'
```
Docs: https://docs.stripe.com/api/payment_intents/list
### Create Payment Intent
Write to `/tmp/stripe_request.txt`:
```
amount=2000¤cy=usd&payment_method_types[]=card
```
```bash
curl -s -u "$STRIPE_TOKEN:" -X POST "https://api.stripe.com/v1/payment_intents" -d @/tmp/stripe_request.txt | jq '{id, amount, currency, status}'
```
Docs: https://docs.stripe.com/api/payment_intents/create
### Get Payment Intent
```bash
curl -s -u "$STRIPE_TOKEN:" "https://api.stripe.com/v1/payment_intents/<payment-intent-id>" | jq '{id, amount, currency, status}'
```
### Create Checkout Session
Use Checkout Sessions for hosted checkout pages and Link test purchases. Open the returned `url` in a browser to complete payment.
Write to `/tmp/stripe_request.txt`:
```
line_items[0][price_data][unit_amount]=2000&line_items[0][price_data][currency]=usd&line_items[0][price_data][product_data][name]=Test item&line_items[0][quantity]=1&mode=payment
```
```bash
curl -s -u "$STRIPE_TOKEN:" -X POST "https://api.stripe.com/v1/checkout/sessions" \
-d @/tmp/stripe_request.txt \
--data-urlencode success_url="https://example.com/success" \
--data-urlencode cancel_url="https://example.com/cancel" \
| jq '{id, url, status, payment_status}'
```
Docs: https://docs.stripe.com/api/checkout/sessions/create
### Create Checkout Session with Link
Prefer Stripe dynamic payment methods when possible: enable Link in Stripe payment method settings and omit `payment_method_types`. If manually listing payment methods, include both `card` and `link`.
Write to `/tmp/stripe_request.txt`:
```
line_items[0][price_data][unit_amount]=2000&line_items[0][price_data][currency]=usd&line_items[0][price_data][product_data][name]=Test item&line_items[0][quantity]=1&mode=payment&payment_method_types[0]=card&payment_method_types[1]=link
```
```bash
curl -s -u "$STRIPE_TOKEN:" -X POST "https://api.stripe.com/v1/checkout/sessions" \
-d @/tmp/stripe_request.txt \
--data-urlencode success_url="https://example.com/success" \
--data-urlencode cancel_url="https://example.com/cancel" \
| jq '{id, url, status, payment_status}'
```
Sandbox Link checkout is a browser flow. Create the session with a test-mode `STRIPE_TOKEN`, open the returned `url`, and authenticate the Link account with a six-digit code. Any unlisted six-digit code succeeds; `000001` is invalid, `000002` is expired, and `000003` exceeds attempts. Do not store real user data in sandbox Link accounts.
Docs: https://docs.stripe.com/payments/link/checkout-link
### Get Checkout Session
```bash
curl -s -u "$STRIPE_TOKEN:" "https://api.stripe.com/v1/checkout/sessions/<checkout-session-id>" | jq '{id, payment_status, status, payment_intent, customer_details}'
```
Docs: https://docs.stripe.com/api/checkout/sessions/retrieve
### Create Payment Link
Payment Links (`plink_*`) are reusable hosted payment URLs. They are different from Link by Stripe, the customer wallet/payment method.
Write to `/tmp/stripe_request.txt`:
```
line_items[0][price]=<price-id>&line_items[0][quantity]=1
```
```bash
curl -s -u "$STRIPE_TOKEN:" -X Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.