Skip to main content
Agent skills are structured instruction sets that help AI coding assistants like Claude Code, Cursor, and GitHub Copilot implement Auth0 authentication correctly in your applications. They contain best practices, code patterns, and step-by-step guidance for Auth0 integration across multiple frameworks and platforms.

Why use agent skills?

Agent skills enable you to:
  • Accelerate development - Implement Auth0 authentication in minutes with AI-powered code generation
  • Follow best practices - Get production-ready code that follows Auth0’s recommended patterns
  • Support multiple frameworks - Use the same skills across React, Vue, Angular, Next.js, and more
  • Migrate easily - Transition from other auth providers with guided migration workflows
  • Implement advanced features - Add multi-factor authentication and security features with expert guidance

Supported platforms

Auth0 agent skills support a wide range of frameworks and platforms:
  • Frontend: React, Vue, Angular, Vanilla JS (auth0-spa-js)
  • Backend: Next.js, Nuxt, Express, Flask, Fastify, FastAPI, Spring Boot, Java Servlet
  • Mobile: React Native, Expo, iOS (Swift), Android
  • APIs: Express (JWT Bearer), Fastify, FastAPI, Spring Boot, ASP.NET Core

Installation

Auth0 provides a single unified skill package containing all core and SDK skills:

Install with Skills CLI

The easiest way to install Auth0 agent skills is using the Skills CLI:
npx skills add auth0/agent-skills
This command installs all Auth0 skills, making them available to your AI coding assistant.

Install in your AI coding assistant

Auth0 agent skills support Claude Code, Cursor, and Codex. Choose your platform:
Install Auth0 skills directly from the Plugins menu:
1

Open Claude Code settings

Navigate to Settings > Plugins in Claude Code.
2

Search for Auth0

Search for “Auth0” in the available plugins list.
3

Install the plugin

Install the Auth0 Agent Skills plugin.
Or install via the CLI:
claude

/plugin marketplace add auth0/agent-skills
/plugin install auth0@auth0-agent-skills
Installing skills as a plugin (recommended for enterprise users) ensures they stay up to date automatically.

Manual installation

You can also install skills manually by cloning the repository:
git clone https://github.com/auth0/agent-skills.git
cp -r agent-skills/plugins/auth0/skills/* ~/.claude/skills/

Available skills

Auth0 agent skills include core capabilities and framework-specific SDK guides in a single package:

Core Skills

SkillDescriptionUse Cases
Quickstart RouterFramework detection and routing to appropriate Auth0 SDK guidesStarting Auth0 integration, detecting your tech stack
Migration GuideStep-by-step migration from other auth providersMoving from Firebase, Cognito, Supabase, or custom auth
MFA ImplementationMulti-factor authentication setup and configurationAdding 2FA, step-up auth, adaptive MFA

Frontend Skills

SkillDescriptionUse Cases
ReactAuth0 React SDK for single-page applicationsReact apps with Vite or Create React App
VueAuth0 Vue SDK for Vue 3 applicationsVue apps with Vite or Vue CLI
AngularAuth0 Angular SDK with route guards and interceptorsEnterprise Angular applications
Vanilla JS (auth0-spa-js)Auth0 SPA SDK for framework-free applicationsAny JavaScript SPA without a framework

Backend / Fullstack Skills

SkillDescriptionUse Cases
Next.jsAuth0 Next.js SDK for App Router and Pages RouterServer and client-side auth in Next.js
NuxtAuth0 Nuxt SDK for Nuxt 3/4 applicationsServer-side rendering with Nuxt
ExpressAuth0 Express SDK for web applicationsServer-rendered apps with session management
FlaskAuth0 Flask SDK for Python web applicationsPython web apps with Flask
FastifyAuth0 Fastify SDK for web applicationsFastify server-rendered applications
Java ServletAuth0 Java MVC Commons for servlet applicationsTraditional Java web apps

API Skills

SkillDescriptionUse Cases
Express JWT BearerExpress OAuth2 JWT Bearer validationNode.js/Express API authentication
Fastify APIAuth0 Fastify API authenticationFastify API endpoints
FastAPIAuth0 FastAPI API authenticationPython FastAPI backends
Spring Boot APIAuth0 Spring Boot API authenticationJava/Spring Boot APIs
ASP.NET Core APIAuth0 ASP.NET Core API authentication.NET API endpoints

Mobile Skills

SkillDescriptionUse Cases
React NativeAuth0 React Native SDK with native deep linkingReact Native CLI (bare workflow)
ExpoAuth0 React Native SDK for ExpoExpo managed workflow apps
AndroidAuth0 Android SDK for Kotlin/JavaNative Android applications
iOS/macOS (Swift)Auth0 Swift SDK for Apple platformsNative iOS and macOS applications

Using agent skills

Once installed, you can use Auth0 agent skills by making natural language requests to your AI coding assistant. The assistant will automatically select and apply the appropriate skills.

Example prompts

Getting started with a new integration:
Add Auth0 authentication to my React app
Implementing specific features:
Add multi-factor authentication with TOTP support
Migrating from another provider:
Help me migrate from Firebase Auth to Auth0
Framework-specific requests:
Set up Auth0 in my Next.js App Router project with protected routes
The quickstart router skill automatically detects your framework and routes to the appropriate SDK guide, so you don’t need to specify which skill to use.

How agent skills work

Agent skills follow a structured workflow:
1

Framework detection

The AI assistant analyzes your project files to identify your framework, dependencies, and setup.
2

Skill selection

Based on your request and detected framework, the assistant selects the appropriate Auth0 skill.
3

Code generation

The skill provides step-by-step guidance and code patterns that the assistant uses to generate production-ready code.
4

Configuration

The assistant helps you configure Auth0 settings, environment variables, and SDK options.
5

Verification

You can test the implementation and ask the assistant to make adjustments as needed.

Best practices

When working with Auth0 agent skills:
  • Start with clean state - Skills work best in projects with clear structure and up-to-date dependencies
  • Review generated code - Always review the code generated by your AI assistant before deploying
  • Follow prompts - The assistant may ask for your Auth0 domain, client ID, and other configuration values
  • Test thoroughly - Verify authentication flows work correctly in your development environment
  • Consult documentation - Reference the full Auth0 documentation for advanced configuration and troubleshooting

Limitations and considerations

  • AI assistant required - Agent skills work with AI coding assistants and are not standalone tools
  • Project context - Skills work best when the AI assistant has access to your full project context
  • Manual configuration - You’ll still need to configure your Auth0 tenant and create applications in the Auth0 Dashboard
  • Framework versions - Skills target recent stable versions of frameworks; very old or experimental versions may require manual adjustments

Learn more

Auth0 Agent Skills on GitHub

View the source code and contribution guidelines.

Agent Skills Format

Learn about the open agent skills format and specification.

Auth0 Quickstarts

Follow manual quickstart guides for your framework.

Auth0 SDKs

Explore Auth0 SDK documentation and API references.

Get help

If you encounter issues with Auth0 agent skills:
  • Ask your AI assistant - Try rephrasing your request or providing more context
  • Check the repository - Review example implementations and open issues
  • Report bugs - Follow Auth0’s Responsible Disclosure Program for security issues
  • Contact support - Reach out to Auth0 support for questions about Auth0 configuration