Stripe CLI

# Stripe CLI Skill 🧾

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Stripe CLI" with this command: npx skills add kesslerio/stripe-cli

Stripe CLI Skill 🧾

A universal Moltbot skill wrapping Stripe CLI for payment processing, webhook testing, and API operations. Includes optional ShapeScale-specific extensions for clinic management.

What It Does

  • Process payments, refunds, and subscriptions
  • Manage customers and invoices
  • Test webhooks locally
  • Execute generic API calls to Stripe
  • ShapeScale extensions (optional): Clinic presets, subscription plans, order integration

Installation

1. Install Stripe CLI

macOS:

brew install stripe/stripe-cli/stripe

Linux:

# Download from https://github.com/stripe/stripe-cli/releases
wget https://github.com/stripe/stripe-cli/releases/download/v1.34.0/stripe_1.34.0_linux_amd64.deb
sudo dpkg -i stripe_1.34.0_linux_amd64.deb

Authenticate:

stripe login

2. Set Environment Variable

export STRIPE_SECRET_KEY=sk_test_your_key_here

Or use 1Password:

op read "op://Stripe/Secret Key" --vault Personal

3. Clone to Skills

cd ~/.moltbot/skills/
git clone https://github.com/mkessler/stripe-cli-moltbot-skill.git stripe

Usage

Universal Commands

InvocationDescription
Create a test customer for $50Creates customer + $50 payment intent
List my recent paymentsLists last 10 payment intents
Check payment status for pi_xxxRetrieves payment intent details
Refund payment pi_xxxRefunds the full amount
Trigger payment_intent.succeeded webhookSimulates webhook event
Listen for webhooks for 30sForwards webhooks to localhost
Get customer details for cus_xxxRetrieves customer record

ShapeScale Extensions (Optional)

Requires config/shapescale-presets.json:

InvocationDescription
Create clinic deposit for PracticeXYZCreates customer + deposit template
Create monthly subscription for clinicCreates recurring payment from presets
Generate invoice for order #1234Creates invoice from template
Check order status 1234Cross-references with shapescale-db

Configuration

Universal

No config required. Uses STRIPE_SECRET_KEY environment variable.

ShapeScale Presets (Optional)

Create config/shapescale-presets.json:

{
  "clinic_templates": {
    "standard": { "deposit": 5000, "terms": "net30" },
    "premium": { "deposit": 10000, "terms": "net30" }
  },
  "subscription_plans": {
    "monthly": { "amount": 39900, "interval": "month" },
    "annual": { "amount": 399000, "interval": "year" }
  },
  "tax_rate": 0.0875,
  "default_currency": "usd"
}

Environment Variables

VariableRequiredDescription
STRIPE_SECRET_KEYYesStripe secret key (test or live)
STRIPE_WEBHOOK_ENDPOINTNoWebhook forwarding URL (default: http://localhost:4242)
SHAPESCALE_PRESETS_PATHNoPath to shapescale-presets.json

File Structure

stripe/
β”œβ”€β”€ SKILL.md                    # This file
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ stripe.sh               # Universal CLI wrapper
β”‚   └── shapescale-ext.sh       # ShapeScale extensions (optional)
β”œβ”€β”€ config/
β”‚   └── shapescale-presets.json # Clinic/subscription templates
β”œβ”€β”€ patterns/
β”‚   └── examples.md             # Usage examples
└── README.md                   # Installation guide (auto-generated)

State

Stateless β€” Pure function of inputs. All state lives in Stripe.

Integration with Other Skills

SkillIntegration
shapescale-crmLink Stripe customer ID to CRM records
shapescale-salesOrders β†’ Payment intent creation
campaign-orchestratorFailed payment β†’ Follow-up campaign
shapescale-dbMatch payments to database orders

Publishing

This skill is published to ClawdHub and available at: https://github.com/mkessler/stripe-cli-moltbot-skill

License

MIT License - see LICENSE file for details.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Cortex Engine

Persistent cognitive memory for AI agents β€” query, record, review, and consolidate knowledge across sessions with spreading activation, FSRS scheduling, and...

Registry SourceRecently Updated
Coding

AI Image & Video Toolkit β€” Free Upscale, Face Enhance, BG Remove & Generation

Free local AI image and video processing toolkit with cloud AI generation. Local tools: upscale (Real-ESRGAN), face enhance (GFPGAN/CodeFormer), background r...

Registry SourceRecently Updated
Coding

agent-bom compliance

AI compliance and policy engine β€” evaluate scan results against OWASP LLM Top 10, MITRE ATLAS, EU AI Act, NIST AI RMF, and custom policy-as-code rules. Gener...

Registry SourceRecently Updated