Clerk

From code-with-antonio/browser-automation-app · View interactive version

Clerk is an AI agent skill from the GitHub repository code-with-antonio/browser-automation-app. Clerk authentication router. Use when user asks about Clerk CLI operations, adding authentication, setting up Clerk, custom sign-in flows, Swift or native iOS auth, native Android auth, Next.js patterns, React patterns, Vue patterns, Nuxt patterns, Astro patterns, TanStack Start patterns, Expo patte

How to use this skill

Skill file

Clerk Skills Router

Version Detection

Check package.json to determine the Clerk SDK version. This determines which patterns to use:

| Package | Core 2 (LTS until Jan 2027) | Current |

|---------|----------------------------|---------|

| @clerk/nextjs | v5–v6 | v7+ |

| @clerk/react or @clerk/clerk-react | v5–v6 | v7+ |

| @clerk/expo or @clerk/clerk-expo | v1–v2 | v3+ |

| @clerk/react-router | v1–v2 | v3+ |

| @clerk/tanstack-react-start | < v0.26.0 | v0.26.0+ |

Default to current if the version is unclear or the project is new. Core 2 packages use @clerk/clerk-react and @clerk/clerk-expo (with clerk- prefix); current packages use @clerk/react and @clerk/expo.

All skills are written for the current SDK. When something differs in Core 2, it's noted inline with > **Core 2 ONLY (skip if current SDK):** callouts. The exception is clerk-custom-ui, which has separate core-2/ and core-3/ directories for custom flow hooks since those APIs are entirely different between versions.


By Task

Adding Clerk to your project → Use clerk-setup

Operating Clerk from the CLI → Use clerk-cli

Custom sign-in/sign-up UI → Use clerk-custom-ui

Advanced Next.js patterns → Use clerk-nextjs-patterns

React patterns → Use clerk-react-patterns

React Router patterns → Use clerk-react-router-patterns

Vue patterns → Use clerk-vue-patterns

Nuxt patterns → Use clerk-nuxt-patterns

Astro patterns → Use clerk-astro-patterns

TanStack Start patterns → Use clerk-tanstack-patterns

Expo patterns → Use clerk-expo-patterns

Chrome Extension patterns → Use clerk-chrome-extension-patterns

B2B / Organizations → Use clerk-orgs

Billing & Subscriptions → Use clerk-billing

Webhooks → Use clerk-webhooks

E2E Testing → Use clerk-testing

Swift / native iOS auth → Use clerk-swift

Android / native mobile auth → Use clerk-android

Backend REST API → Use clerk-backend-api

Quick Navigation

If you know your task, you can directly access:

Or describe what you need and I'll recommend the right one.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.