auth
Skill by openai
Authentication integration guidance for Next.js apps on Vercel, covering Clerk, Descope and Auth0. It is for developers adding user sign-in, sign-up and route protection.
Install auth
Built from the published package, never by AI.
git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.claude/skills && cp -r /tmp/plugins/plugins/vercel/skills/auth ~/.claude/skills/authRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/plugins/plugins/vercel/skills/auth ~/.gemini/antigravity-cli/skills/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
The auth skill gives an AI assistant setup and code guidance for adding user authentication to Next.js applications. It covers Clerk, Descope and Auth0, including SDK installation, environment variables, middleware patterns, sign-in and sign-up pages, and reading user data in server and client components.
Clerk is presented as the recommended option. The source describes it as a native Vercel Marketplace integration with auto-provisioned environment variables. The skill also includes a decision matrix comparing the three providers and a list of breaking changes for Clerk Core 3. It is aimed at developers who are implementing user authentication in a Next.js project.
Written from the project's SKILL.md and checked against it.
What it can do
- Clerk setupInstalls Clerk from the Vercel Marketplace and configures the Next.js SDK and provider.
- Clerk route protectionUses clerkMiddleware and createRouteMatcher to protect routes such as dashboard and API paths.
- Sign-in and sign-up pagesAdds Clerk SignIn and SignUp components on app router pages.
- Descope setupSets up the Descope Next.js SDK with an AuthProvider and middleware.
- Auth0 setupConfigures the Auth0 Next.js SDK with an Auth0Client, middleware and session access.
- Provider decision guidanceCompares Clerk, Descope and Auth0 by setup speed, login flows and enterprise SSO needs.
- Clerk Core 3 migration notesLists breaking changes in Clerk Core 3 and the upgrade CLI command.
What you need
- A Next.js application
- Vercel Marketplace access for automatic environment variable provisioning
- Node.js 20.9.0 or later for the Clerk upgrade CLI
- An Auth0 tenant and client credentials for Auth0 setup
Try asking
- Add Clerk authentication to my Next.js app with middleware protection
- Create sign-in and sign-up pages using Descope in this project
- Set up Auth0 sessions and protect my dashboard route
Good to know
- Clerk Core 3 changes several APIs, such as async auth() and removed authMiddleware().
- Clerk Core 3 upgrade CLI requires Node.js 20.9.0 or later.
- The guidance targets Next.js and Vercel-deployed applications.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/vercel/skills/auth/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
agents/openai.yaml170 B
Alternatives to 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
auth: common questions
Which auth provider does this skill recommend?
The skill recommends Clerk as the fastest setup on Vercel. It cites its native Marketplace integration and auto-provisioned environment variables.
Does it cover Descope and Auth0 as well as Clerk?
Yes. The skill includes setup and code examples for Descope and Auth0, along with a decision matrix comparing all three.
What changed in Clerk Core 3?
The source lists changes such as async auth(), auth.protect() moving, authMiddleware() being removed in favor of clerkMiddleware(), and a new frontend API proxy option.
How do I install auth?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is auth free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is auth safe to use?
It scores 87 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 auth?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
