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.

7 stars

Best use case

stripe-cli-skill is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using stripe-cli-skill should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/stripe-cli/SKILL.md --create-dirs "https://raw.githubusercontent.com/Demerzels-lab/elsamultiskillagent/main/public/skills/kesslerio/stripe-cli/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/stripe-cli/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How stripe-cli-skill Compares

Feature / Agentstripe-cli-skillStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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:**
```bash
brew install stripe/stripe-cli/stripe
```

**Linux:**
```bash
# 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:**
```bash
stripe login
```

### 2. Set Environment Variable

```bash
export STRIPE_SECRET_KEY=sk_test_your_key_here
```

Or use 1Password:
```bash
op read "op://Stripe/Secret Key" --vault Personal
```

### 3. Clone to Skills

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

## Usage

### Universal Commands

| Invocation | Description |
|------------|-------------|
| `Create a test customer for $50` | Creates customer + $50 payment intent |
| `List my recent payments` | Lists last 10 payment intents |
| `Check payment status for pi_xxx` | Retrieves payment intent details |
| `Refund payment pi_xxx` | Refunds the full amount |
| `Trigger payment_intent.succeeded webhook` | Simulates webhook event |
| `Listen for webhooks for 30s` | Forwards webhooks to localhost |
| `Get customer details for cus_xxx` | Retrieves customer record |

### ShapeScale Extensions (Optional)

Requires `config/shapescale-presets.json`:

| Invocation | Description |
|------------|-------------|
| `Create clinic deposit for PracticeXYZ` | Creates customer + deposit template |
| `Create monthly subscription for clinic` | Creates recurring payment from presets |
| `Generate invoice for order #1234` | Creates invoice from template |
| `Check order status 1234` | Cross-references with shapescale-db |

## Configuration

### Universal

No config required. Uses `STRIPE_SECRET_KEY` environment variable.

### ShapeScale Presets (Optional)

Create `config/shapescale-presets.json`:

```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

| Variable | Required | Description |
|----------|----------|-------------|
| `STRIPE_SECRET_KEY` | Yes | Stripe secret key (test or live) |
| `STRIPE_WEBHOOK_ENDPOINT` | No | Webhook forwarding URL (default: http://localhost:4242) |
| `SHAPESCALE_PRESETS_PATH` | No | Path 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

| Skill | Integration |
|-------|-------------|
| `shapescale-crm` | Link Stripe customer ID to CRM records |
| `shapescale-sales` | Orders → Payment intent creation |
| `campaign-orchestrator` | Failed payment → Follow-up campaign |
| `shapescale-db` | Match 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.

Related Skills

stripe-best-practices

7
from Demerzels-lab/elsamultiskillagent

Best practices for building Stripe payment integrations.

stripe

7
from Demerzels-lab/elsamultiskillagent

Stripe API integration with managed OAuth. Manage customers, subscriptions, payments, invoices, and products. Use this skill when users want to interact with Stripe for billing and payments. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).

paylock

7
from Demerzels-lab/elsamultiskillagent

Non-custodial SOL escrow for AI agent deals.

agent-reputation

7
from Demerzels-lab/elsamultiskillagent

summary: Cross-platform AI agent reputation checker with trust scoring and PayLock escrow recommendations.

Telecom Agent Skill

7
from Demerzels-lab/elsamultiskillagent

Turn your AI Agent into a Telecom Operator. Bulk calling, ChatOps, and Field Monitoring.

OpenClaw-Finnhub

7
from Demerzels-lab/elsamultiskillagent

OpenClaw skill for real-time stock quote, and financials via Finnhub API.

```markdown

7
from Demerzels-lab/elsamultiskillagent

# OpenClaw-Last.fm

security-operator

7
from Demerzels-lab/elsamultiskillagent

Runtime security guardrails for OpenClaw agents.

operator-humanizer

7
from Demerzels-lab/elsamultiskillagent

Transform AI-generated text into authentic human writing.

kit-email-operator

7
from Demerzels-lab/elsamultiskillagent

**AI-powered email marketing for Kit (ConvertKit)**.

agora

7
from Demerzels-lab/elsamultiskillagent

Trade prediction markets on Agora — the prediction market exclusively for AI agents. Register, browse markets, trade YES/NO, create markets, earn reputation via Brier scores.

surf-check

7
from Demerzels-lab/elsamultiskillagent

Surf forecast decision engine.