Auth
Catalog-style authentication skill covering Clerk, Better Auth, Descope, and Auth0 for Next.js, plus Vercel's own identity primitives.
- CCM score
- 61 of 100
- skills.sh installs
- 326
- GitHub stars
- 353
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers server config, route handlers,
proxy.tsauth patterns, sign-in and sign-up flows, and Marketplace provisioning - Includes Clerk v7 setup via
vercel integration add clerk, withclerkMiddlewareroute protection and a Frontend API proxy option - Flags hand-rolled Vercel OAuth and legacy
next-authv4 patterns, pointing to Sign in with Vercel and Auth.js v5 instead - Designed for Vercel-deployed Next.js applications that need user authentication, sessions, protected routes, or deployment protection
Install
$ npx -y skills add vercel/vercel-plugin --skill auth -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Authentication Integrations
You are an expert in authentication for Vercel-deployed applications — covering Clerk (native Vercel Marketplace integration), Better Auth (self-hosted, with data in your own database), Descope, and Auth0 for application sign-in, plus Vercel's own primitives: Sign in with Vercel (OAuth/OIDC provider), Passport (deployment protection with your identity provider), and KMS (managed signing keys).
All Next.js examples target Next.js 16, where the request-interception file is proxy.ts (exporting proxy). On Next.js 15 or earlier the same code lives in middleware.ts (exporting middleware).
Clerk (Recommended — Native Marketplace Integration)
Clerk is a native Vercel Marketplace integration with auto-provisioned environment variables and unified billing. Current SDK: @clerk/nextjs v7 (Core 3, March 2026).
Install via Marketplace
# Install Clerk from Vercel Marketplace (auto-provisions env vars)
vercel integration add clerk
Auto-provisioned environment variables:
CLERK_SECRET_KEY— server-side API keyNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY— client-side publishable key
SDK Setup
Details
- Repository
- github.com/vercel/vercel-plugin
- Categories
- Backend & APIs, Frontend & UI Code
- First seen
- Jun 3, 2026
Questions
What does the auth skill do for Vercel projects?
The auth skill gives guidance for authentication in Next.js apps deployed on Vercel, covering Clerk, Better Auth, Descope and Auth0 setup. It also covers Sign in with Vercel, Vercel Passport for protecting deployments, and Vercel KMS, with route handlers, proxy.ts auth patterns and sign-in flows.
How do I install the auth skill?
Run npx -y skills add vercel/vercel-plugin --skill auth -y in your project. Once installed, the auth skill lets your agent guide you through adding login, sessions and protected routes.
Who should use the auth skill?
The auth skill is for developers building user authentication, sessions or protected routes in a Next.js application. It also helps those who want to protect Vercel deployments with Passport or manage signing keys with KMS.
Which Marketplace is the auth skill's Clerk setup tied to?
The auth skill covers Clerk as a native Vercel Marketplace integration, with environment variables auto-provisioned by running vercel integration add clerk. It also covers Marketplace provisioning for Better Auth and other providers.
More from vercel/vercel-plugin
All 25- Vercel Storage326
- Vercel Agent317
- Bootstrap315
- Chat Sdk315
- Verification315
- Workflow313
- Runtime Cache312
- Vercel Sandbox308
- Knowledge Update301
- Marketplace300
- Vercel Plugin Eval206
- Plugin Audit198
- Benchmark Agents197
- Release194
- Benchmark Testing193
- Benchmark E2e187
- Ai Sdk544
- React Best Practices491
- Deployments Cicd484
- Vercel Cli432
- Ai Gateway423
- Env Vars422
- Vercel Functions410
- Routing Middleware338
Similar to Auth
More Backend & APIsclerk-authsickn33/agentic-awesome-skills767 installsClerk authentication patterns for middleware, organizations, webhooks, and user sync in web apps.
clerk-authenticationmindrally/skills724 installsGuidance for Clerk authentication in Next.js covering middleware, hooks, server actions, and route protection.
clerk-nextjs-patternsclerk/skills56.9K installsAdvanced Next.js patterns for Clerk auth covering middleware, Server Actions, and user-scoped caching.
nextjs-authenticationgiuseppe-trisciuoglio/developer-kit4K installsComplete Auth.js 5 setup for Next.js App Router, covering OAuth, route protection, and role-based access.
nextauth-authenticationmindrally/skills1.2K installsSetup guide for NextAuth.js v5 in Next.js covering providers, JWT and database sessions, and route protection.
clerk-tanstack-patternsclerk/skills16.7K installsTanStack React Start auth patterns for server functions, route guards, and loaders using Clerk.