clerk

Route Clerk authentication queries to specialized subskills based on SDK version.

66|4|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/clerk/skills --skill clerk-clerk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clerk
Source: https://github.com/clerk/skills/tree/main/skills/core/clerk
Command: npx skills add https://github.com/clerk/skills --skill clerk-clerk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Clerk router removes uncertainty about which Clerk pattern or setup to use by interpreting developer needs and directing them to the specific skill that handles framework setup, custom UI, mobile auth, backend API usage, testing, organizations, or webhooks.

Core Features & Use Cases

  • Central routing: Maps user requests to focused Clerk skills such as clerk-setup, clerk-custom-ui, clerk-nextjs-patterns, or clerk-swift.
  • SDK version detection: Inspects package.json to choose Core 2 vs current SDK patterns and notes Core 2 differences where needed.
  • Use Case: When a developer asks how to add authentication in a Next.js app, the router detects the SDK version and routes to clerk-nextjs-patterns with the appropriate middleware and server/client guidance.

Quick Start

Ask the clerk skill to route you by describing your project framework, the Clerk SDK version if known, and the authentication outcome you need so it can recommend the exact sub-skill and next steps.

Frequently Asked Questions about clerk

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

FAQPage Schema
How do I set up Clerk authentication for my Next.js app?

To set up Clerk authentication, the router detects your SDK version from package.json and directs you to the clerk-nextjs-patterns skill for the appropriate middleware and server/client guidance.

Which Clerk SDK patterns should I use for Core 2?

For Clerk Core 2, the router inspects your package.json to detect the SDK version and maps your tasks to the correct subskills while noting specific Core 2 pattern differences.

Does Clerk work with custom UI and native mobile frameworks?

Yes, Clerk works with custom UI and native mobile frameworks by routing your requests to specialized skills like clerk-custom-ui for frontend components or clerk-swift for mobile authentication.

How do I route backend API and webhook tasks to the right Clerk skill?

You route backend API and webhook tasks by describing your authentication outcome to the Clerk router, which maps the request to the specific skill handling backend APIs, webhooks, or migration scenarios.

What information does the Clerk router need to recommend the correct authentication skill?

The Clerk router needs your project framework, the Clerk SDK version if known, and the authentication outcome you need to recommend the exact sub-skill and provide the correct next steps.