Skip to main content

In-skill Stripe payments demo (OpenClaw / ClawHub)

Agent skills often need premium tools to run only after payment is made. This skill and repo are a minimal demo of that behavior. They ship concrete pieces you can fork (see below), then swap in your own premium logic after verification.

What it does

  • SKILL.md instructs the agent to check payment first, surface a Stripe Payment Link if needed, then verify checkout using the buyer's email.
  • scripts/check_payment.py lists completed Checkout Sessions, matches email, enforces MIN_AMOUNT_CENTS, and writes a local receipt so repeat sessions skip the paywall.
  • evals/evals.json covers prompts that should not grant premium access without going through that gate.

It is intentionally not a full product: you swap in your own tools after verification. Stripe secret key and Payment Link URL come from env; see .env.example.

Fits OpenClaw and the ClawHub skill registry and Anthropic Claude tool-style flows.

@openclaw @AnthropicAI @ClaudeAI @stripe — #AIAgents #Stripe #AISkills #LLM #OpenSource #DeveloperTools