Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 87
  • 8.4k stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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/auth

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install auth in Claude Code

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

A

No 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 →

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.

Add to stack

Loading.