clerk-billing

Manage subscription plans, features, and billing events via Clerk SDK.

1|Updated Jun 5, 2026
One-click install
npx skills add https://github.com/aaravmin/fineprint --skill clerk-billing-aaravmin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clerk-billing
Source: https://github.com/aaravmin/fineprint/tree/main/client/.agents/skills/clerk-billing
Command: npx skills add https://github.com/aaravmin/fineprint --skill clerk-billing-aaravmin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @clerk/nextjs, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides the tools to manage and gate subscription offerings, allowing you to configure plans, features, and handle billing webhooks for both B2B and B2C scenarios.

Core Features & Use Cases

  • Subscription Management: Configure and manage subscription plans, features, and pricing.
  • Plan & Feature Gating: Control access to different features and plans based on subscription level.
  • Webhook Handling: Process billing events and sync subscription status to your database.
  • Use Case: With this Skill, you can set up a SaaS application that offers different plans, gate features based on subscription levels, and handle billing events from Clerk automatically.

Quick Start

Run the command 'clerk enable billing' to activate Billing in your Clerk account.

Frequently Asked Questions about clerk-billing

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

FAQPage Schema
How do I handle Clerk billing webhooks for subscription management?

Handle Clerk billing webhooks by processing subscription creation, updates, and cancellations to sync subscription status directly to your database. This ensures accurate plan tracking and feature gating based on the latest billing events.

What is the best way to gate features based on subscription level in a SaaS app?

Gate features based on subscription level by configuring plan and feature entitlements within the Clerk Dashboard. This allows you to control access to specific offerings dynamically according to each user's active subscription tier.

Does feature gating with Clerk require specific billing settings configured beforehand?

Feature gating with Clerk requires billing settings configured in the Clerk Dashboard and the Clerk SDK installed. You must run the 'clerk enable billing' command to activate billing in your account before managing plans.

Can I manage both B2B and B2C subscription pricing using Clerk?

You can manage both B2B and B2C subscription pricing using Clerk. The system allows you to configure diverse subscription plans, features, and pricing structures to accommodate various business scenarios effectively.

How do I set up subscription plans and pricing for a Next.js application?

Set up subscription plans and pricing for a Next.js application by integrating the @clerk/nextjs dependency and configuring your offerings in the Clerk Dashboard. This automatically manages billing events and entitlements.

Why are my Clerk billing events not updating user subscription status?

Billing events may not update subscription status if webhooks are not correctly processing subscription creation, updates, and cancellations. Ensure your webhook handling logic syncs event data to your database properly.