Skip to content

auth0/agent-skills

Auth0 Agent Skills

Auth0 Agent Skills

License

AI agent skills that help coding assistants implement Auth0 authentication correctly. Works with Claude Code, Cursor, GitHub Copilot, and 40+ other agents that support the Agent Skills format.

Documentation · Getting Started · Feedback

Prerequisites

Install

Claude Code

Auth0 is on the official Claude Code plugins marketplace:

/plugin install auth0@claude-plugins-official

Or type /plugin in a session, go to Discover, and search "Auth0".

From the terminal (no session needed):

claude plugin install auth0@claude-plugins-official

Cursor

Auth0 is on the Cursor marketplace. Open the listing and click Add to install.

You can also install via Cursor Settings → Rules → Add Rule → Remote Rule (GitHub) and enter this repository URL.

npx skills add auth0/agent-skills --agent github-copilot

Any Agent (Skills CLI)

The Skills CLI works with Claude Code, Cursor, Copilot, Codex, and 40+ other agents:

npx skills add auth0/agent-skills

Target specific agents with --agent:

npx skills add auth0/agent-skills --agent claude-code cursor

ClawHub Marketplace

Install the Auth0 skill from ClawHub.ai:

npx clawhub install auth0

Or browse and install from the ClawHub web UI — search for "auth0".

What happens after install

When you ask your AI assistant something like "add Auth0 login to my app," the assistant:

  1. Loads the single auth0 skill, whose router reads your project files (package.json, requirements.txt, build.gradle, etc.)
  2. Detects your framework and loads the matching reference files (e.g., the Next.js reference for a Next.js project)
  3. Follows the step-by-step instructions to install the right SDK, create auth routes, configure environment variables, and wire up login/logout

You don't pick anything manually — framework detection handles it.

Forcing the skill with /auth0

Auto-detection is reliable on capable models. If you're on a smaller/faster model in a session with many other skills installed, the assistant can occasionally miss the trigger — most often on open-ended questions ("how do I…?") rather than direct instructions. When that happens, invoke the skill explicitly:

/auth0 how do I configure brand colors in Auth0?

Naming the skill removes the selection step entirely, so it always activates.

Migrating from the individual skills

Earlier versions shipped one skill per SDK/framework (auth0-react, auth0-nextjs, express-oauth2-jwt-bearer, …). These are now consolidated into the single auth0 skill above, which routes to the same guidance by detecting your framework.

  • Plugin / marketplace installs (Claude Code, Cursor): nothing to do — your next update swaps in the consolidated skill automatically.
  • ClawHub installs: existing installs keep working; npx clawhub install auth0 gets you the consolidated skill.
  • If you referenced an old skill by name — in your CLAUDE.md, another skill's requires.skills, or any instruction file — those names (auth0-react, etc.) no longer exist and the reference will dangle. Replace them with auth0.

Coverage

A single auth0 skill covers web, mobile, desktop, and API authentication across all of the frameworks below. You install one skill; its router detects your framework and loads the matching guidance — you don't choose a per-framework skill.

Area SDK Frameworks
Quickstart Router Detects your framework and loads the right reference files
Migration Migrate from Firebase, Cognito, Supabase, Clerk, or custom auth
MFA TOTP, SMS, email, push, WebAuthn
ACUL Screen Generation @auth0/auth0-acul-react Custom Universal Login screens and theming
React @auth0/auth0-react React SPAs (Vite, CRA)
Vue @auth0/auth0-vue Vue 3
Angular @auth0/auth0-angular Angular 13+
Vanilla JS @auth0/auth0-spa-js Any SPA (also Svelte, SolidJS)
Next.js @auth0/nextjs-auth0 Next.js 13+ (App Router & Pages Router)
Nuxt @auth0/auth0-nuxt Nuxt 3/4
Express express-openid-connect Express.js
Flask auth0-server-python Flask
Fastify @auth0/auth0-fastify Fastify
Java Servlet mvc-auth-commons Java Servlet
Express API express-oauth2-jwt-bearer Node.js/Express APIs
Fastify API @auth0/auth0-fastify Fastify APIs
FastAPI auth0-fastapi-api Python FastAPI
Spring Boot API auth0-springboot-api Spring Boot
ASP.NET Core Auth0.AspNetCore.Authentication ASP.NET Core MVC, Razor Pages, Blazor Server
ASP.NET Core API Auth0.AspNetCore.Authentication ASP.NET Core
Ionic Angular @auth0/auth0-angular + Capacitor Ionic Angular + Capacitor (iOS/Android)
Ionic Vue @auth0/auth0-vue Ionic Vue + Capacitor (iOS/Android)
Ionic React @auth0/auth0-react + Capacitor Ionic React + Capacitor (iOS/Android)
React Native react-native-auth0 React Native CLI (bare workflow)
Expo react-native-auth0 Expo (managed workflow)
Android Auth0.Android Android (Kotlin/Java)
iOS/macOS Auth0.swift Swift (iOS, macOS, tvOS, watchOS, visionOS)
Flutter auth0_flutter Flutter mobile (iOS/Android, Dart)
Flutter Web auth0_flutter Flutter Web (Dart)
.NET MAUI Auth0.OidcClient.MAUI .NET MAUI (iOS, Android, macOS, Windows)
.NET Android Auth0.OidcClient.AndroidX .NET Android (Xamarin)
.NET iOS Auth0.OidcClient.iOS .NET iOS (Xamarin)
.NET Winforms Auth0.OidcClient.WinForms .NET WinForms applications
WPF Auth0.OidcClient.WPF .NET WPF
iOS/macOS Migration Auth0.swift Upgrade to the latest major version of Auth0.swift

Example prompts

Add Auth0 authentication to my app
Set up Auth0 in my Next.js project with protected routes
Add multi-factor authentication with TOTP
Migrate from Firebase Auth to Auth0
Secure my Express API with Auth0 JWT validation

Feedback


Auth0 Logo

Auth0 is an easy to implement, adaptable authentication and authorization platform.
To learn more checkout Why Auth0?

This project is licensed under the Apache 2.0 license. See the LICENSE file for more info.

About

Auth0 Agent Skills

Resources

License

Code of conduct

Contributing

Security policy

Stars

39 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors