clerk-install-auth
Skill by jeremylongshore
Installs and configures the Clerk SDK and authentication for Next.js, React, or Express projects. It is for developers starting a new Clerk integration or setting up API keys.
Install clerk-install-auth
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clerk-install-auth ~/.claude/skills/clerk-install-authRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clerk-install-auth ~/.gemini/antigravity-cli/skills/clerk-install-authAntigravity 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
Clerk Install & Auth is a skill that sets up the Clerk SDK and authentication for Next.js, React, or Express projects. It installs the package that matches the stack, adds publishable and secret keys to environment variables, and wires up ClerkProvider and middleware. It also creates sign-in and sign-up pages and a health route that reports whether the connection works.
It is aimed at developers starting a new Clerk integration, or repairing one where the packages are present but middleware never runs. The source covers environment variable handling, keeping the secret key off the client, and using separate Clerk instances per environment. It names clerk-hello-world as the next step after setup.
Written from the project's SKILL.md and checked against it.
What it can do
- Install SDK for your frameworkInstalls @clerk/nextjs, @clerk/clerk-react, @clerk/express, or @clerk/backend depending on the stack.
- Configure environment variablesSets publishable and secret keys in .env.local and adds the file to .gitignore.
- Add ClerkProviderWraps a Next.js App Router layout with ClerkProvider and sign-in and user buttons.
- Add middlewareCreates a root middleware.ts that protects non-public routes with auth.protect().
- Create sign-in and sign-up pagesAdds Next.js pages that render Clerk's SignIn and SignUp components.
- Verify connectionAdds a health API route that reports whether Clerk is connected and the user is signed in.
What you need
- Node.js 18+
- npm, pnpm, or yarn
- Clerk account at dashboard.clerk.com
- Clerk publishable key (pk_test_*) and secret key (sk_test_*)
Try asking
- Install Clerk auth from zero on this Next.js repo
- Set up Clerk in this React Vite app with a publishable key
- Clerk packages are installed but middleware never runs. Fix it
Good to know
- Code examples target the Next.js App Router, React with Vite, and Express.
- The source does not cover the Pages Router ClerkProvider setup in detail.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/clerk-install-auth/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash(npm:*)Bash(pnpm:*)Grep
Alternatives to clerk-install-auth
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-install-auth: common questions
Which frameworks does the Clerk install skill support?
The source gives setup steps for Next.js, React SPA with Vite, and Express, plus a backend-only option with @clerk/backend.
Where should the Clerk secret key be stored?
The source says the CLERK_SECRET_KEY must never be exposed client-side and recommends platform secrets such as Vercel or AWS Secrets Manager over committed .env files.
What should I do after installing Clerk?
The source says to proceed to clerk-hello-world for your first authenticated request.
How do I install clerk-install-auth?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is clerk-install-auth free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is clerk-install-auth safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to clerk-install-auth?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
