> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-docs-event-stream-action-templates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Skills for Auth0

> Use Auth0 agent skills to integrate authentication into your applications with AI coding assistants like Claude Code, Cursor, and GitHub Copilot

Agent skills are structured instructions that help AI coding assistants implement Auth0 authentication correctly. Install once, then ask your assistant to add login, protect routes, secure APIs, set up MFA, migrate from another provider, or customize your login page — it handles the rest.

Works with Claude Code, Cursor, GitHub Copilot, and [40+ other agents](https://agentskills.io/clients) that support the [Agent Skills](https://agentskills.io) format.

## Prerequisites

* An [Auth0 account](https://auth0.com/signup) (free tier available)
* Your Auth0 **domain** and **client ID** from the [Auth0 Dashboard](https://manage.auth0.com)
* An AI coding assistant (Claude Code, Cursor, or GitHub Copilot)

## Install

<Tabs>
  <Tab title="Claude Code">
    Auth0 is on the official Claude Code plugins marketplace (`claude-plugins-official`). First, make sure the marketplace is up to date, then install:

    ```bash theme={null}
    /plugin marketplace update claude-plugins-official
    /plugin install auth0@claude-plugins-official
    ```

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

    You can also install from your terminal without starting a session:

    ```bash theme={null}
    claude plugin marketplace update claude-plugins-official
    claude plugin install auth0@claude-plugins-official
    ```

    <Note>
      If you get a "not found" error, add the marketplace first and then retry the install:

      ```bash theme={null}
      /plugin marketplace add anthropics/claude-plugins-official
      /plugin install auth0@claude-plugins-official
      ```
    </Note>
  </Tab>

  <Tab title="Cursor">
    Auth0 is on the [Cursor marketplace](https://cursor.com/marketplace/auth0). Open the listing and click **Add** to install.

    You can also install via **Cursor Settings > Rules > Add Rule > Remote Rule (GitHub)** and enter the [Auth0 Agent Skills repository URL](https://github.com/auth0/agent-skills).
  </Tab>

  <Tab title="GitHub Copilot">
    Install using the [Skills CLI](https://github.com/vercel-labs/skills) targeting GitHub Copilot:

    ```bash theme={null}
    npx skills add auth0/agent-skills --agent github-copilot
    ```
  </Tab>

  <Tab title="Other Agents">
    The [Skills CLI](https://github.com/vercel-labs/skills) works with Claude Code, Cursor, Copilot, Codex, and [40+ other agents](https://agentskills.io/clients):

    ```bash theme={null}
    npx skills add auth0/agent-skills --all
    ```

    Target specific agents with `--agent`:

    ```bash theme={null}
    npx skills add auth0/agent-skills --agent claude-code cursor
    ```
  </Tab>
</Tabs>

## Try it now

After installing, paste any of these into your AI coding assistant:

```
Add Auth0 login to my app
```

```
Secure my Express API with Auth0 JWT validation
```

```
Migrate from Firebase Auth to Auth0
```

<Tip>
  Provide context when prompting — mention your framework, router type, and whether you need login, API protection, or both. The more specific the prompt, the better the output.
</Tip>

## How it works

<Steps>
  <Step title="Describe what you need">
    Tell your assistant what you want — add login to your React app, secure a Spring Boot API, migrate from Cognito, add MFA, or customize your login page. You don't need to know which skill or SDK to use.
  </Step>

  <Step title="The right skill activates">
    The assistant reads your project files (`package.json`, `requirements.txt`, `build.gradle`, etc.), identifies your framework, and activates the matching skill from 25 available.
  </Step>

  <Step title="You get working code">
    The skill guides your assistant through the full implementation — installing the right SDK, creating auth routes, configuring environment variables, adding route protection, and following Auth0 best practices.
  </Step>
</Steps>

<Info>
  You don't need to pick skills manually. Framework detection handles SDK skills automatically, and you can invoke feature skills like MFA or Migration directly by describing what you need.
</Info>

## Available skills

25 skills covering authentication setup, API protection, migration, CLI tooling, and advanced features. Each example prompt below can be pasted directly into your AI coding assistant.

### Get started

| Skill                 | What it does                                                                                                            | Try it                                        |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| **Quickstart Router** | Detects your framework and sets up Auth0 with the right SDK                                                             | `Add Auth0 authentication to my app`          |
| **Migration**         | Migrate users and code from Firebase, Cognito, Supabase, Clerk, or custom auth                                          | `Help me migrate from Firebase Auth to Auth0` |
| **CLI**               | Auth0 CLI command reference — manage apps, APIs, users, roles, orgs, actions, logs, custom domains, and Universal Login | `Create an Auth0 application using the CLI`   |

### Frontend

| Skill          | What it does                                                            | Try it                                       |
| -------------- | ----------------------------------------------------------------------- | -------------------------------------------- |
| **React**      | Login, logout, user sessions, and protected routes for React SPAs       | `Add Auth0 login to my React app`            |
| **Vue**        | Authentication for Vue 3 applications with composables and route guards | `Set up Auth0 in my Vue 3 app`               |
| **Angular**    | Auth with route guards and HTTP interceptors for Angular 13+            | `Add Auth0 authentication to my Angular app` |
| **Vanilla JS** | Auth for any JavaScript SPA — also works with Svelte and SolidJS        | `Add Auth0 login to my Svelte app`           |

### Backend & Fullstack

| Skill            | What it does                                                                          | Try it                                                 |
| ---------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| **Next.js**      | Auth for Next.js 13+ with App Router, Pages Router, middleware, and server components | `Set up Auth0 in my Next.js app with protected routes` |
| **Nuxt**         | Server-side sessions and route protection for Nuxt 3/4                                | `Add Auth0 authentication to my Nuxt app`              |
| **Express**      | Session-based login, logout, and protected routes for Express.js                      | `Add Auth0 login to my Express app`                    |
| **Flask**        | Login, logout, and user profiles for Flask web applications                           | `Set up Auth0 in my Flask app`                         |
| **Fastify**      | Session-based auth for Fastify web applications                                       | `Add Auth0 authentication to my Fastify app`           |
| **Java Servlet** | Login and callback handling for Java Servlet applications                             | `Add Auth0 login to my Java Servlet app`               |

### API

| Skill                | What it does                                                                          | Try it                                            |
| -------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------- |
| **Express API**      | JWT Bearer validation, scope-based access control for Node.js/Express APIs            | `Secure my Express API with Auth0 JWT validation` |
| **Fastify API**      | JWT Bearer validation and scope checks for Fastify API endpoints                      | `Add Auth0 JWT validation to my Fastify API`      |
| **FastAPI**          | Token validation and scope-based auth for Python FastAPI backends                     | `Secure my FastAPI endpoints with Auth0`          |
| **Spring Boot API**  | JWT validation and scope-based authorization for Spring Boot APIs                     | `Add Auth0 authentication to my Spring Boot API`  |
| **ASP.NET Core API** | JWT Bearer auth and DPoP support for .NET API endpoints                               | `Secure my ASP.NET Core API with Auth0`           |
| **Go API**           | JWT validation and scope-based authorization for Go HTTP APIs using go-jwt-middleware | `Add Auth0 JWT validation to my Go API`           |

### Mobile

| Skill            | What it does                                                               | Try it                                       |
| ---------------- | -------------------------------------------------------------------------- | -------------------------------------------- |
| **React Native** | Auth with biometric support and deep linking for React Native CLI apps     | `Add Auth0 login to my React Native app`     |
| **Expo**         | Auth with Expo Config Plugin for managed workflow mobile apps              | `Set up Auth0 in my Expo app`                |
| **Android**      | Web Auth, biometrics, and credential management for native Android         | `Add Auth0 authentication to my Android app` |
| **iOS / macOS**  | Native Auth0.swift integration for iOS, macOS, tvOS, watchOS, and visionOS | `Add Auth0 login to my iOS app`              |

### Advanced

| Skill                     | What it does                                                             | Try it                                                     |
| ------------------------- | ------------------------------------------------------------------------ | ---------------------------------------------------------- |
| **MFA**                   | Multi-factor authentication — TOTP, SMS, email, push, WebAuthn           | `Add TOTP-based multi-factor authentication to my app`     |
| **ACUL Screen Generator** | Generate custom-branded Universal Login screens with React or vanilla JS | `Create a branded login screen matching our design system` |

## Learn more

<CardGroup cols={2}>
  <Card title="Auth0 Agent Skills on GitHub" icon="github" href="https://github.com/auth0/agent-skills">
    Source code, all 25 skill definitions, and issue tracker.
  </Card>

  <Card title="Auth0 Quickstarts" icon="rocket" href="/docs/quickstarts">
    Step-by-step guides for manual (non-AI) Auth0 integration.
  </Card>

  <Card title="Auth0 SDKs" icon="code" href="/docs/libraries">
    SDK documentation and API references.
  </Card>

  <Card title="Agent Skills Specification" icon="book" href="https://agentskills.io">
    The open standard behind agent skills, supported by 40+ AI coding tools.
  </Card>
</CardGroup>

## Get help

* **Ask your AI assistant** — rephrase your request or provide more context about your project setup
* **[Open an issue](https://github.com/auth0/agent-skills/issues)** — report bugs or request skills for new frameworks
* **[Auth0 Community](https://community.auth0.com)** — get help from other Auth0 developers
* **Security issues** — use the [Responsible Disclosure Program](https://bugcrowd.com/engagements/auth0-okta)
