clerk-setup: a Claude Code skill by Clerk
Official
For developers adding Clerk sign-in to a web or mobile app through the Clerk CLI. Skip it if you want auth that runs only on your own servers.
Before you install: By default clerk init also installs Clerk's agent skills globally, and every command uses npx -y clerk@latest, which runs the newest CLI release without a prompt.
The skill's text changed on Nov 4, 2026, after we last read it. Our description may be behind.
- Score
- 74of 100
- Rank
- #128of 239
- Installs
- 59.1Kon skills.sh
- Security
- Mixed 5 scanners
- Updated
- 2026
- Context
- ~60tokens always
Install
npx skills add https://github.com/clerk/skills --skill clerk-setup
Run it in your terminal. View the source
Using the Claude app rather than Claude Code? You can add a skill there too. How to add it in the app
What does clerk-setup do?
clerk-setup is a Claude skill that adds Clerk authentication with npx clerk@latest init. It first shows you a three-step plan and waits for a yes. It looks for an existing auth provider and stops for an approved migration plan if one is found. On supported frameworks, init works without an account and writes temporary development keys you can claim later. Claude then adds sign-in, sign-up and user buttons to your layout, runs clerk doctor, and applies framework rules such as wrapping Next.js auth UI in <Suspense>. Later steps cover claiming the app, production keys with clerk deploy, host env setup on Vercel, and turning on Organizations.
When should you use clerk-setup?
Use it when
- You are adding login to a new Next.js or React app
- You want to try auth before creating an account
- You are moving a Clerk app to production
Skip it when
- You want self-hosted auth only
- Your app already has a working Clerk setup
What it needs and what it can touch
You need
- Node.js 20.9 or later
- A Clerk account for production (development keys work without one)
What it can do
- Runs shell commands (npx clerk)
- Reads and edits project files
- Installs Clerk's agent skills globally unless skipped
- Sends data to an outside service (Clerk)
From reading its instructions, not from running it.
Why it scores 74
Strongest on upkeep (100 of 100), weakest on adoption (44).
Is clerk-setup safe to install?
At least one scanner raised a medium warning. Read the results below. Scanners often miss what other scanners catch, and a skill can change after a scan. Read its source before you install it.
| Scanner | Result | Date |
|---|---|---|
| Gen Agent Trust Hub | Passed | Nov 3, 2026 |
| Socket | Passed | Nov 3, 2026 |
| Snyk | Medium risk | Nov 3, 2026 |
| Runlayer | Passed | Mar 6, 2026 |
| ZeroLeaks | Passed | Apr 16, 2026 |
Details
- Installs
- 59,148
- Repository stars
- 93
- Last repository change
- Tokens always loaded
- about 60
- Tokens when used
- about 4,150
- License
- MIT
- Data confidence
- High
Did it do the job for you?
Alternatives to clerk-setup
All skills for this job-
Get email-and-password-best-practicesemail-and-password-best-practices
For TypeScript developers adding email and password login with Better Auth.
-
Get better-auth-best-practicesbetter-auth-best-practices
For TypeScript developers setting up or changing Better Auth sign-in, sessions and plugins.
-
Get Firebase skillsFirebase skills
For app developers on Firebase who want Claude to run the CLI for setup, sign-in, hosting and Gemini features.
-
Get stripe-best-practicesstripe-best-practices
For developers adding payments, subscriptions or sales tax to an app with Stripe.