Skip to content

Add Stripe billing to Convex

Teaches the agent to wire Stripe subscriptions, checkout and gating into a Convex app

Stars
9,546
Licence
MIT
Files
1 file

What it does

When installed, the agent follows a step-by-step recipe for adding paid subscriptions to an app built on Convex, a backend platform. It sets up the @convex-dev/stripe component, creates a checkout action that starts a Stripe subscription purchase, registers a webhook so Stripe can report payment events, and adds a query that checks whether the signed-in user has an active or trialing subscription before unlocking features. The skill also tells the agent to keep Stripe keys in Convex environment variables and to avoid writing its own webhook signature code.

Great for

  • Developers building a SaaS app on Convex who want Stripe subscriptions
  • Teams that need server-side checks of who has paid for access
  • People who want a known-good starting point for Stripe webhook setup in Convex

Skip it if

  • Apps not using Convex, since the code assumes the Convex component and generated API files (the skill will not work as written elsewhere)
  • Anyone wanting one-off payments or non-Stripe processors, because the recipe covers only Stripe subscriptions
  • Production launches without testing, because it uses live-key placeholders and the webhook and billing logic can cause real charges or access errors if misconfigured

Try asking

  • “Add Stripe subscription billing to my Convex app with a checkout button and webhook”
  • “Gate my premium features so only users with an active Stripe subscription can access them”
  • “Set up the Stripe webhook endpoint for my Convex deployment and explain which events to subscribe to”
Step-by-step guide: how to use Add Stripe billing to ConvexInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the MIT licence and an attribution note.

    convex-billing.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip convex-billing.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip convex-billing.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Start with Stripe test-mode keys (sk_test_, whsec_ from a test endpoint) and confirm the checkout and webhook flow before switching to live keys.
  • Review the generated billing code yourself, especially the subscription gate, since it is the only thing protecting paid features.
  • Note that the skill itself says it is generated from another content file, so check the @convex-dev/stripe docs if the component version has changed.

What's inside

  • SKILL.md

Redistributed unmodified from openclaw/clawhub under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.