clerk

Routes Clerk authentication tasks to framework-specific implementation skills.

Updated Aug 7, 2026
One-click install
npx skills add https://github.com/Ramadan-Elgamal/Autobees --skill clerk-ramadan-elgamal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clerk
Source: https://github.com/Ramadan-Elgamal/Autobees/tree/main/.agents/skills/clerk
Command: npx skills add https://github.com/Ramadan-Elgamal/Autobees --skill clerk-ramadan-elgamal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers working with Clerk authentication face fragmented documentation across many frameworks and SDK versions, making it hard to find the right pattern for their specific stack. ## Core Features & Use Cases - Task-Based Routing: Directs requests to specialized skills covering setup, CLI operations, custom UI, organizations, billing, webhooks, and testing. - Framework Coverage: Provides patterns for Next.js, React, Vue, Nuxt, Astro, TanStack Start, React Router, Expo, Chrome Extensions, Swift, and Android. - SDK Version Detection: Checks package.json to distinguish Core 2 from current Clerk SDK versions and applies the correct patterns. - Use Case: A developer building a multi-tenant Next.js SaaS asks about organization slugs and seat-based billing, and gets routed to the clerk-orgs and clerk-billing skills with version-appropriate code. ## Quick Start Ask how to add Clerk authentication with organizations and billing to your Next.js app.

Frequently Asked Questions about clerk

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

FAQPage Schema
How do I add Clerk authentication to a Next.js app?

Use the clerk-setup skill for framework detection, environment variables, and API key configuration, then clerk-nextjs-patterns for middleware, server components, and route protection. The router selects patterns based on your installed @clerk/nextjs version.

How do I build a custom sign-in flow with Clerk?

Use the clerk-custom-ui skill, which covers the useSignIn and useSignUp hooks, appearance theming, and the Show component for conditional rendering. It maintains separate core-2 and core-3 directories because the custom flow APIs differ between SDK versions.

Does Clerk support native iOS and Android apps?

Yes, clerk-swift covers SwiftUI projects using ClerkKit and ClerkKitUI, while clerk-android covers Kotlin and Jetpack Compose with clerk-android-api and clerk-android-ui. Expo and React Native projects should use clerk-expo instead.

How do I implement Clerk billing and subscriptions?

Use the clerk-billing skill, which covers the PricingTable component, plan and feature gating with the has() helper, seat-based B2B billing with organizations, subscription lifecycle webhooks, free trials, and invoicing.

What is the difference between Clerk Core 2 and the current SDK?

Core 2 packages use @clerk/clerk-react and @clerk/clerk-expo with LTS support until January 2027, while current packages use @clerk/react and @clerk/expo. The router checks package.json to determine your version and defaults to current SDK patterns when unclear.