Clerk
Modern authentication and user management SDK for Next.js and React.
3. Used by agents' projects
Dependency in 58 public GitHub projects set up for AI coding agents that we scanned (0.9%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What Clerk does
Modern authentication and user management SDK for Next.js and React.
Clerk popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How Clerk is used
- Clerk is a dependency in 58 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.2% of the 4,867 JavaScript/TypeScript ones), #11 of 141 in auth and security libraries.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 530; those are left out of every share on this page.
- The most used alternative in our scan is NextAuth.js (150 projects).
- Projects that use it most often also use Lucide React (77.6%), Next.js (70.7%), Tailwind Merge (72.4%).
- It is more common in projects set up for Roo Code (7.2%) than for Claude Code (0.8%).
By coding agent
Often used with
More about Clerk
Agent Skills for it
- nextjs-app-router-patterns: Master Next.js 14+ App Router with Server Components, streaming, parallel routes, and advanced data fetching. Use when building Next.js appl
- nextjs-developer: Use when building Next.js 14+ applications with App Router, server components, or server actions. Invoke to configure route handlers, implem
- clerk-android: Implement Clerk authentication for native Android apps using Kotlin and Jetpack Compose with clerk-android source-guided patterns. Use for p
- nextjs-developer: Use when building Next.js 14+ applications with App Router, server components, or server actions. Invoke for full-stack features, performanc
- nextjs-on-cloudflare: Build, migrate, and deploy Next.js apps on Cloudflare Workers with vinext. Use when starting a Next.js project on Cloudflare, moving an exis
- nextjs-mastery: Next.js 14+ App Router patterns including RSC, ISR, middleware, parallel routes, and data fetching
Head to head
- Better Auth vs Clerk used together in 0 projects
- NextAuth.js vs Clerk used together in 5 projects
More in Auth and security libraries
Alternatives
Clerk This page
Complete open-source authentication solution designed for Next.js applications.
Comprehensive authentication framework for TypeScript with multiple strategies.
Modular authentication middleware for Node.js supporting OAuth, JWT and local strategies.
Get started
Install it.
npm install @clerk/nextjsNo step-by-step start for Clerk yet: we have not written its hand-checked card.