One-click install
npx skills add https://github.com/mnishanth02/Ghost-Arc --skill clerk-billing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clerk-billing
Source: https://github.com/mnishanth02/Ghost-Arc/tree/main/.agents/skills/clerk-billing
Command: npx skills add https://github.com/mnishanth02/Ghost-Arc --skill clerk-billing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Clerk-billing streamlines SaaS subscription handling, including plan setup, checkout flows, webhooks, and billing UI integration.

Core Features & Use Cases

  • Plan Configuration: Manage subscription plans, feature entitlements, and seat-limit tiers via Clerk Dashboard.
  • Checkout Flow: Render <PricingTable /> for users to select and subscribe to plans using Clerk's in-app checkout drawer.
  • Webhook Handling: Process billing webhooks to synchronize subscription status, failures, and cancellations in external databases.

Quick Start

Implement a billing page by importing <PricingTable /> from '@clerk/nextjs' and embedding it into a route, ensuring billing is enabled in Clerk Dashboard before testing subscriptions.

Frequently Asked Questions about clerk-billing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Clerk billing for SaaS subscription management?

Integrate Clerk billing by embedding the <PricingTable /> component from @clerk/nextjs into your application route to render subscription plans. You must enable billing in the Clerk Dashboard before users can select plans and checkout.

How do I configure subscription plans and feature entitlements in Clerk?

Configure subscription plans, feature entitlements, and seat-limit tiers directly within the Clerk Dashboard. This allows you to manage B2C and B2B workflows without writing extensive custom code for billing automation.

How do I handle Clerk billing webhooks for subscription status synchronization?

Handle Clerk billing webhooks by processing incoming events to synchronize subscription status, payment failures, and cancellations with your external database. This ensures your application reflects real-time billing state changes.

Does Clerk billing support B2B workflows with seat limits?

Yes, Clerk billing supports B2B workflows by allowing you to configure seat-limit tiers and manage feature entitlements. You can handle both B2C and B2B subscription plans using the Clerk Dashboard and billing API.

What is the best way to render a checkout flow for Clerk subscriptions?

The best way to render a checkout flow is using Clerk's in-app checkout drawer via the <PricingTable /> component. Import it from @clerk/nextjs and embed it in a billing page route for users to subscribe.