clerk-setup
Skill by vvedantb
Adds Clerk authentication to a project by reading its package.json, fetching the matching official Clerk quickstart, and following its steps. It is for developers who want Clerk sign-in in a supported framework.
Install clerk-setup
Built from the published package, never by AI.
git clone --depth 1 https://github.com/vvedantb/eva /tmp/eva && mkdir -p ~/.claude/skills && cp -r /tmp/eva/.claude/skills/clerk-setup ~/.claude/skills/clerk-setupRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/vvedantb/eva /tmp/eva && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/eva/.claude/skills/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 sets up Clerk authentication by following Clerk's official quickstart documentation. It first checks the project's package.json to identify the framework, such as Next.js, Remix, Astro, Nuxt, Vue, Express or Expo. It then uses WebFetch to retrieve the quickstart for that framework and executes its steps, including installing packages, setting environment variables, adding the provider or middleware, and creating sign-in and sign-up routes.
The skill also covers API keys. It describes a keyless path where Clerk generates development keys on first SDK initialization, and a manual path using keys from the Clerk dashboard. If the project already uses another auth provider, such as Auth0, Firebase or NextAuth, the skill lists a migration plan with audit, data export and strategy steps. It also includes a table of common pitfalls for Next.js. The skill is aimed at developers adding Clerk to an existing project.
Written from the project's SKILL.md and checked against it.
What it can do
- Detect frameworkReads package.json dependencies to identify the project's framework and matching quickstart.
- Fetch quickstartUses WebFetch to retrieve the official Clerk quickstart guide for the detected framework.
- Follow setup stepsExecutes the quickstart steps, such as installing packages, setting environment variables and adding middleware.
- Keyless dev keysDescribes the automatic path where Clerk generates development keys on first SDK initialization.
- Manual API keysExplains how to get publishable and secret keys from the Clerk dashboard and set them as environment variables.
- Migration planningDetects existing auth libraries and outlines an audit and migration plan before replacing them.
- Common pitfallsLists known Next.js issues, such as missing await on auth() and exposing the secret key.
What you need
- A project with a package.json file
- A Clerk account and dashboard access for manual API keys
- WebFetch access, as listed in allowed-tools
Try asking
- Add Clerk authentication to this Next.js project
- Detect my framework and set up Clerk sign-in using the official quickstart
- Help me plan a migration from Auth0 to Clerk for this app
Good to know
- Works only for frameworks and platforms with a Clerk quickstart listed in the skill
- Existing sessions terminate when switching to Clerk
- Keyless setup is not guaranteed to trigger, so manual keys may be needed
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/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
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
Which frameworks does clerk-setup support?
The skill maps Next.js, Remix, Astro, Nuxt, React Router, TanStack Start, React, Vue, Express, Fastify and Expo, plus Chrome Extension, Android, iOS and vanilla JavaScript.
Does it help move users from another auth provider?
It detects libraries such as NextAuth, Supabase, Firebase, AWS Amplify, Auth0 and Passport, and outlines an audit and migration plan. It mentions exporting users through Clerk's Backend API and keeping legacy IDs as external_id.
Where do the API keys come from?
The skill says keys can be generated automatically in keyless mode or taken from the Clerk dashboard. The publishable key starts with pk_test_ or pk_live_, and the secret key starts with sk_test_ or sk_live_.
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 MIT licence. The service it connects to may have its own pricing.
Is clerk-setup safe to use?
It scores 64 of 100. Grades: maintenance A, licence A, quality B. 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.
