Skip to content

clerk

Intelligent router that directs authentication tasks to specialized Clerk skills based on your framework and use case.

— (0 ratings) 31.8K downloads clerk
$ npx skills add https://github.com/clerk/skills --skill clerk

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Intelligent router that directs authentication tasks to specialized Clerk skills based on your framework and use case.

  • Routes to eight specialized skills covering setup, custom UI, Next.js patterns, organizations, webhooks, testing, native iOS/Android, and backend API
  • Detects Clerk SDK version (Core 2 LTS vs. current) from package.json to apply correct patterns and APIs
  • Covers web frameworks (Next.js, React, Expo, React Router, TanStack Start) and native platforms (Swift/iOS, Kotlin/Android)
  • Includes inline callouts for Core 2-specific differences, with separate directories for custom UI hooks that differ between SDK versions

Clerk Skills Router

The Clerk plugin bundles these skills and the Clerk MCP server. For a new Clerk setup, use clerk-setup, which checks for the plugin and offers to install it before setting up the project.

Version Detection

Check package.json to determine the Clerk SDK version. This determines which patterns to use:

Package Core 2 (LTS until Jan 2027) Current
@clerk/nextjs v5–v6 v7+
@clerk/react or @clerk/clerk-react v5–v6 v7+
@clerk/expo or @clerk/clerk-expo v1–v2 v3+
@clerk/react-router v1–v2 v3+
@clerk/tanstack-react-start < v0.26.0 v0.26.0+

Default to current if the version is unclear or the project is new. Core 2 packages use @clerk/clerk-react and @clerk/clerk-expo (with clerk- prefix); current packages use @clerk/react and @clerk/expo.

All skills are written for the current SDK. When something differs in Core 2, it's noted inline with > **Core 2 ONLY (skip if current SDK):** callouts. The exception is clerk-custom-ui, which has separate core-2/ and core-3/ directories for custom flow hooks since those APIs are entirely different between versions.


Installs: 31.8K | GitHub stars: 95 | First seen: Jan 26, 2026

Related skills

New

Productivity

lark-docisn’t available in this repository.

lark-doc — an installable skill for AI agents, published by open.feishu.cn/lark-doc.

New • 951.3K
New

Productivity

lark-sharedisn’t available in this repository.

lark-shared — an installable skill for AI agents, published by open.feishu.cn/lark-shared.

New • 950.8K
New

Productivity

lark-driveisn’t available in this repository.

lark-drive — an installable skill for AI agents, published by open.feishu.cn/lark-drive.

New • 950.3K