Skip to content
Machine Learning
Skill

/stripe

Look up Stripe customers, subscriptions, charges, and payment methods. Cancel subscriptions and issue refunds. Use when investigating billing issues, subscription cancellations, or payment disputes.

From plugin
civitai
7.3k54 skills17 agents3 commands

Claude Code

$ npx -y skills add civitai/civitai --skill stripe --agent claude-code

SKILL.md

stripe.SKILL.md
name: stripe
description: Look up Stripe customers, subscriptions, charges, and payment methods. Cancel subscriptions and issue refunds. Use when investigating billing issues, subscription cancellations, or payment disputes.
allowed-tools: Bash, Read

Stripe

Look up and manage Stripe customers, subscriptions, charges, and refunds for support investigations.

Setup

Required

  • `STRIPE_SECRET_KEY` — from Stripe Dashboard > Developers > API Keys (Secret key)

Quick Reference

SKILL_DIR=".claude/skills/stripe"

# Look up a customer by email (shows subscriptions, charges, invoices)
node "$SKILL_DIR/query.mjs" customer user@example.com

# Search customers using Stripe Search syntax
node "$SKILL_DIR/query.mjs" search "email:'user@example.com'"

# Get subscription details
node "$SKILL_DIR/query.mjs" subscription sub_1ABC123

# List charges for a customer
node "$SKILL_DIR/query.mjs" charges user@example.com

# List payment methods
node "$SKILL_DIR/query.mjs" payment-methods user@example.com

# Cancel a subscription IMMEDIATELY
node "$SKILL_DIR/query.mjs" cancel sub_1ABC123

# Cancel at end of billing period
node "$SKILL_DIR/query.mjs" cancel sub_1ABC123 --at-period-end

# Refund a specific charge (full)
node "$SKILL_DIR/query.mjs" refund ch_1ABC123

# Partial refund (amount in cents)
node "$SKILL_DIR/query.mjs" refund ch_1ABC123 --amount 500

# Refund with reason
node "$SKILL_DIR/query.mjs" refund ch_1ABC123 --reason requested_by_customer

# Preview all refundable charges (dry run)
node "$SKILL_DIR/query.mjs" refund-all user@example.com --dry-run

# Refund ALL charges for a customer
node "$SKILL_DIR/query.mjs" refund-all user@example.com --reason requested_by_customer

Commands

| Command | Description | |---------|-------------| | `customer <email>` | Full customer lookup — details, subscriptions, charges, invoices | | `search <query>` | Search customers using Stripe Search syntax | | `subscription <sub_xxx>` | Get detailed subscription info | | `charges <cus_xxx\|email>` | List charges for a customer | | `payment-methods <cus_xxx\|email>` | List saved payment methods | | `cancel <sub_xxx>` | Cancel subscription immediately | | `cancel <sub_xxx> --at-period-end` | Cancel at end of current billing period | | `refund <ch_xxx>` | Full refund of a charge | | `refund <ch_xxx> --amount <cents>` | Partial refund | | `refund-all <cus_xxx\|email>` | Refund all charges for a customer | | `refund-all <cus_xxx\|email> --dry-run` | Preview refundable charges without refunding |

Refund Reasons

Valid `--reason` values:

  • `duplicate` — Charge was a duplicate
  • `fraudulent` — Charge was fraudulent
  • `requested_by_customer` — Customer requested the refund

Global Flags

| Flag | Description | |------|-------------| | `--json` | Output raw JSON (useful for piping/processing) |

Safety Notes

  • **Cancel** terminates the subscription immediately by default. Use `--at-period-end` for graceful cancellation.
  • **Refund-all** with `--dry-run` first to preview. Without `--dry-run`, it refunds every non-refunded charge.
  • Refunds and cancellations are **destructive and irreversible**. Always confirm with the human operator before executing.
  • The `customer` command is read-only and safe to run at any time.

When to Use This Skill

  • Investigating billing/subscription issues reported in support tickets
  • Verifying payment history for disputed charges
  • Canceling subscriptions for users who request immediate termination
  • Processing refunds for confirmed billing errors
  • Cross-referencing Stripe data with Civitai's `CustomerSubscription` table
Read more
@civitai
Ships withcivitai

A repository of models, textual inversions, and more

7.3k54 skills17 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
7.3k
Star history of civitai/civitai on GitHub, a chart by star-history.com

Other skills on civitai.

add-ecosystem

add-ecosystem

Add a new ecosystem and base model to basemodel.constants.ts. Use when onboarding a new model family from providers like Baidu,…

@civitai@civitaiInstall Skill
add-generation-support

add-generation-support

Wire an existing ecosystem into the generation system. Adds generation support to basemodel.constants.ts, creates graph and…

@civitai@civitaiInstall Skill
add-trainer-model

add-trainer-model

Add a new trainable base model to BOTH trainers end-to-end — the in-app trainer (main Next.js app, src/) and the Training Studio…

@civitai@civitaiInstall Skill
add-training-support

add-training-support

Wire an existing ecosystem into the LoRA training system so it appears as a trainable base model in the training form. Adds the…

@civitai@civitaiInstall Skill
app-assistant-trace

app-assistant-trace

Trace a submitted App Block back to the App Assistant chats that built it and diagnose why it came out the way it did (e.g. why…

@civitai@civitaiInstall Skill

More skills from other plugins.

analyze-ci

analyze-ci

Analyze failed GitHub Action jobs. Takes one or more GitHub URLs (job, workflow-run, or PR) and summarizes each failure with root…

mlflow9d29k
@mlflow@mlflowInstall Skill
hf-cli

hf-cli

Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…

skills3w11k
@huggingface@huggingfaceInstall Skill
feast-architecture

feast-architecture

Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…

feast13d7.4k
@feast-dev@feast-devInstall Skill
accessing-mlflow

accessing-mlflow

Query and browse evaluation results stored in MLflow. Use when the user wants to look up runs by invocation ID, compare metrics…

@nvidia@nvidiaInstall Skill

Questions about stripe.

Which coding agents can use stripe?
stripe installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.