clerk-setup
Skill by midudev
Sets up Clerk authentication in a project using the Clerk CLI and official framework quickstarts. Intended for developers adding, initializing, scaffolding, or migrating to Clerk.
Install clerk-setup
Built from the published package, never by AI.
git clone --depth 1 https://github.com/midudev/autoskills /tmp/autoskills && mkdir -p ~/.claude/skills && cp -r /tmp/autoskills/packages/autoskills/skills-registry/clerk-setup ~/.claude/skills/clerk-setupRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/midudev/autoskills /tmp/autoskills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/autoskills/packages/autoskills/skills-registry/clerk-setup ~/.gemini/antigravity-cli/skills/clerk-setupAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides an AI assistant through adding Clerk authentication to a project. It starts by showing the user a checklist and waiting for approval. In agent environments, supported frameworks default to accountless setup, where the Clerk CLI command npx -y clerk@latest init provisions a claimable application and writes temporary development keys without a Clerk account. The skill covers existing projects, empty directories, and existing authentication systems, and it asks for approval before any migration or change to current auth.
The skill is written for developers and the AI assistants they use. It includes steps for verifying the setup with the Clerk CLI doctor command, adding sign-in and sign-up controls, optional shadcn/ui theming, and next steps such as organizations and production deployment. It points to official Clerk quickstarts for frameworks the CLI does not configure.
Written from the project's SKILL.md and checked against it.
What it can do
- Project setupRuns the Clerk CLI init command to install the SDK and configure provider, middleware, auth routes, and environment.
- Existing project handlingInspects an existing Clerk project and adds only missing pieces without creating a replacement application.
- Migration planningStops before changing a different auth provider and asks for approval for a migration plan.
- Accountless keysProvisions a claimable application and temporary development keys for supported frameworks without a Clerk account.
- Auth controlsAdds sign-in, sign-up, and user button components to the app layout.
- VerificationRuns the Clerk CLI doctor command and checks that auth controls render.
What you need
- Node.js 20.9.0 or later for current Clerk SDKs
- Node.js 18.17.0 or later for Core 2 projects
- Clerk CLI via npx
Try asking
- Set up Clerk authentication in this Next.js project.
- Add Clerk sign-in and sign-up buttons to my app layout.
- Check whether my Clerk setup is working with the Clerk doctor command.
Good to know
- Accountless keys are temporary and the app is not production-ready until claimed.
- For Express, Fastify, iOS, or Android, the project must be created with that platform's own tooling first.
- The skill does not modify existing auth without user approval.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/autoskills/skills-registry/clerk-setup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: WebFetch
-
SKILL.md12 KB -
evals/evals.json4 KB
Alternatives to clerk-setup
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
clerk-setup: common questions
Do I need a Clerk account to start?
In agent environments, supported frameworks can use accountless setup, which provisions a claimable application with temporary development keys. The source says the app stays unclaimed until the user runs the auth login command.
Can it migrate an existing login system to Clerk?
The skill inspects existing auth first and stops for approval before any migration. It lists backend user import, stable external IDs, and session cutover as items the plan must cover.
Which frameworks does it support?
The source says init configures Next.js, React, React Router, Nuxt, TanStack Start, Astro, Vue, JavaScript or Vite, Expo, Express, and Fastify projects. iOS and Android get setup steps from the quickstart.
How do I install clerk-setup?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is clerk-setup free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is clerk-setup safe to use?
It scores 86 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to clerk-setup?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
