In short.
convex-billing is a coding-assistant skill for Convex developers adding Stripe subscriptions, but its example leaves protected-feature enforcement and plan-specific access rules unspecified. It connects authenticated users to Stripe customers, creates subscription checkout sessions and checks subscription records stored by @convex-dev/stripe. The component is described as handling webhook signature verification. No execution evidence establishes compatibility, payment completion or reliable subscription synchronization.
Researched and written by an AI model and checked by a second AI model. How it works
The supplied complete selected scope contains skills/convex-billing/SKILL.md. Related repository-level LICENSE and THIRD_PARTY_NOTICES.md are included as rights evidence. Other skills, the upstream generator, @convex-dev/stripe implementation, application code and external service documentation are outside the supplied scope. Runtime compatibility, signature verification, payment completion, webhook synchronization and effective access enforcement remain unverified.
The overview
Identity
convex-billing is an instruction skill in the convex/agent-skills repository. The selected resource is skills/convex-billing/SKILL.md, which contains a workflow and TypeScript examples for connecting Stripe subscriptions to a Convex app. It is marked as generated from convex-agents content/capabilities/billing.json.
The original resource location is [https://github.com/convex/agent-skills/tree/main/skills/convex-billing]. The supplied snapshot identifies commit f60629d7c6c1f27eb58a56260546d2445049274d.
Assessment
The skill offers a concrete starting point for an existing Convex app that needs subscription checkout and a basic paid-access check. It includes component registration, environment variable names, a webhook route and authenticated checkout code.
The main qualification is that isSubscribed only returns a Boolean. The example does not show protected application operations enforcing that result, and it treats any returned active or trialing subscription as sufficient without checking a particular plan. It does not establish a complete production billing implementation.
Users
The closest fit is a developer using a coding assistant to modify a Convex application with Stripe subscription billing. Experienced developers receive specific imports, function signatures and configuration paths.
Beginners can follow the sequence, but it assumes familiarity with TypeScript, authentication, environment variables and deployment. A webhook is the endpoint Stripe calls to report payment or subscription events; configuring that endpoint is part of the documented work.
Capabilities
The checkout action authenticates the caller, gets or creates a Stripe customer associated with identity.subject, and creates a subscription checkout session for a supplied priceId. It returns a session identifier and a URL that may be null.
The webhook route delegates event handling to @convex-dev/stripe. The subscription query reads component records for the authenticated user and returns true for active or trialing status. Although the description mentions payments broadly, the demonstrated checkout mode is subscription; one-time purchases are not demonstrated.
Using it
Requirements
The workflow assumes a Convex app, authentication that supplies a user identity, npm and the Convex CLI, Stripe credentials, a subscription price identifier, and access to configure a Stripe webhook. It names STRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET as Convex environment variables.
Checkout redirects use SITE_URL, falling back to http://localhost:3000. A deployed app therefore needs an appropriate redirect configuration. Supported assistant hosts, skill installation paths, Node.js versions and a complete dependency compatibility matrix are not specified.
Mechanism
The app registers the Stripe component through defineApp and creates a StripeSubscriptions client using components.stripe. Checkout attaches the authenticated user's identifier to subscription metadata, while the access query retrieves subscriptions associated with that identifier.
registerRoutes exposes /stripe/webhook. The skill states that the component verifies webhook signatures and stores subscription state in its own tables. The component implementation is outside the supplied scope, so those internal behaviors are described rather than independently established.
Setup
The documented sequence installs @convex-dev/stripe, registers it in convex/convex.config.ts, stores the Stripe secrets in Convex, registers the webhook in convex/http.ts, and adds checkout and subscription functions in convex/billing.ts. The configuration import explicitly uses @convex-dev/stripe/convex.config.js; the skill says the .js suffix is required by the Convex bundler.
It then specifies npx convex dev --once and a Stripe Dashboard webhook pointing to the deployment's /stripe/webhook endpoint. The listed events are checkout.session.completed, customer.subscription.*, invoice.* and payment_intent.*. These are documented steps, with no supplied execution results.
Example
For a Convex app selling a subscription, the supplied createSubscriptionCheckout action accepts a priceId and rejects an unauthenticated caller. For an authenticated caller, it associates a Stripe customer with that user and requests a checkout session with success and cancellation redirect URLs.
The companion isSubscribed query returns false without an authenticated identity. Otherwise, it returns whether any retrieved subscription is active or trialing. A front-end checkout button, redirect handling and enforcement inside protected application operations are not included.
Assessment & evidence
Limitations
The checkout accepts a caller-supplied priceId with string validation; no allowed-price check is shown. The subscription query does not distinguish plans, products or feature entitlements. Protected operations still need to enforce the appropriate subscription requirements.
The selected file does not explain upgrade or downgrade flows, customer cancellation controls, refunds, taxes, or recovery from failed payments. It also does not establish webhook delivery recovery, duplicate-event handling or synchronization timing. These omissions describe the skill's coverage, not proven limitations of the underlying component.
Reasoning
The design associates billing records with the authenticated user's server-provided identifier and reads subscription state from component tables. This makes the access calculation depend on server-stored records rather than a browser's claim that payment succeeded.
The practical implication is that a successful checkout redirect alone is insufficient evidence of entitlement. Effective protection depends on synchronized subscription records and enforcement in the operations serving protected data or features. Neither end-to-end behavior is established by the supplied examples.
Alternatives
Because the file contains explicit setup steps and code, a developer could also follow it manually; this is an inferred use of the material. Supported assistant-specific installation methods are not documented.
The author chooses @convex-dev/stripe and directs users to its route registration rather than a manually constructed Stripe webhook. No competing component, billing provider or skill is evaluated, so comparative capability, reliability and cost are unknown.
Evidence
The implementation guidance comes from the complete selected SKILL.md at [https://raw.githubusercontent.com/convex/agent-skills/f60629d7c6c1f27eb58a56260546d2445049274d/skills/convex-billing/SKILL.md]. Its supplied SHA-256 is 2c60137f4a24a5ca8bfaebc9b437c3232c526665a8645c544c88cc477764ec7f.
The accompanying rights evidence is LICENSE at [https://raw.githubusercontent.com/convex/agent-skills/f60629d7c6c1f27eb58a56260546d2445049274d/LICENSE] and THIRD_PARTY_NOTICES.md at [https://raw.githubusercontent.com/convex/agent-skills/f60629d7c6c1f27eb58a56260546d2445049274d/THIRD_PARTY_NOTICES.md]. The material contains no execution logs, successful payment receipts, benchmarks or dependency implementation.
Access & freshness
Costs
The captured material supplies no pricing for Stripe processing, Convex usage, a coding assistant or implementation work. Total setup and operating costs are unknown.
Apache-2.0 grants rights to the licensed material without a license royalty. That permission does not establish the cost of the services used by the resulting application.
Rights
The repository LICENSE supplies Apache-2.0 terms permitting reproduction, modification and distribution subject to its conditions. Redistribution requires a license copy, retention of applicable notices and prominent notices in modified files. The license includes a limited patent grant, provides no general trademark permission and disclaims warranties.
THIRD_PARTY_NOTICES.md identifies vendored Heroicons assets as MIT licensed, requiring preservation of their copyright and permission notice where applicable. No icon file appears in the selected skill manifest. Separate terms for dependencies and external services are not supplied.
Freshness
The supplied source snapshot was captured on 2026-11-16 at 05:09:31.773 UTC and identifies commit f60629d7c6c1f27eb58a56260546d2445049274d. The selected file's publication and last-modification dates are unknown.
A rule names @convex-dev/stripe@^0.1.4, while the installation command supplies no version. The captured material does not establish which package release an installation would resolve to or whether the examples match later component and Convex releases.
Actions
Before adopting the example, establish compatible component and Convex versions, configure authentication and deployment redirect URLs, and define the prices and subscription states that grant each entitlement. Add the corresponding checks to protected server operations.
Validate checkout and webhook behavior using Stripe test credentials, including invalid signatures, repeated events, cancellation, failed payments, unauthenticated access and access under the wrong plan. Confirm that protected operations reject users without the required entitlement. These are recommended validation steps; their outcomes are unknown.
