·auth0-nextjs
</>

auth0-nextjs

auth0/agent-skills

Use when adding authentication to Next.js applications with both server and client-side auth - supports App Router and Pages Router with @auth0/nextjs-auth0 SDK

45Installs·7Trend·@auth0

Installation

$npx skills add https://github.com/auth0/agent-skills --skill auth0-nextjs

SKILL.md

Add authentication to Next.js applications using @auth0/nextjs-auth0. Supports both App Router and Pages Router.

For automated setup with Auth0 CLI, see Setup Guide for complete scripts.

Note: In v4, wrapping with is optional. Only needed if you want to pass an initial user during server rendering to useUser().

Use when adding authentication to Next.js applications with both server and client-side auth - supports App Router and Pages Router with @auth0/nextjs-auth0 SDK Source: auth0/agent-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/auth0/agent-skills --skill auth0-nextjs
Category
</>Dev Tools
Verified
First Seen
2026-02-17
Updated
2026-02-18

Quick answers

What is auth0-nextjs?

Use when adding authentication to Next.js applications with both server and client-side auth - supports App Router and Pages Router with @auth0/nextjs-auth0 SDK Source: auth0/agent-skills.

How do I install auth0-nextjs?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/auth0/agent-skills --skill auth0-nextjs Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/auth0/agent-skills