Back to Discover

skills

skill

clerk

AI Skills to enhance working with Clerk

View on GitHub
65 starsSynced Aug 2, 2026

Install to Claude Code

/plugin marketplace add clerk/skills

README


Clerk Skills

Documentation Discord Follow on X

Skills to help AI coding agents work more effectively with Clerk.


Skills follow the Agent Skills format.

Install

Agent Skills

npx skills add clerk/skills

Codex

codex plugin marketplace add clerk/skills

After adding the marketplace, restart Codex, open /plugins, select Clerk Skills, install and enable clerk-skills, then start a new thread.

Manual (Claude Code)

git clone https://github.com/clerk/skills ~/.claude/skills/clerk

Skills

Core

SkillPurposeWhen to Use
/clerkRouter - Routes to the right skillAlways start here
clerk-cliClerk CLI operationsUsers, orgs, apps, env keys, deploy checks
clerk-setupAdd Clerk to any frameworkNew projects, framework setup
clerk-custom-uiCustom sign-in/up and appearanceBuilding custom forms, styling
clerk-backend-apiBackend REST API explorerBrowsing or calling API endpoints

Framework Patterns

SkillFrameworkPatterns
clerk-nextjs-patternsNext.jsMiddleware, Server Actions, caching
clerk-react-patternsReactHooks, auth guards, protected routes
clerk-react-router-patternsReact RouterLoaders, actions, route protection
clerk-vue-patternsVueComposables, Pinia integration
clerk-nuxt-patternsNuxtServer middleware, SSR auth
clerk-astro-patternsAstroSSR auth, island components
clerk-tanstack-patternsTanStack StartServer functions, route protection
clerk-chrome-extension-patternsChrome ExtensionBackground scripts, popup auth

Features

SkillPurposeWhen to Use
clerk-orgsMulti-tenant B2B organizationsTeam workspaces, RBAC
clerk-billingSubscription billing and feature gatingPricing tables, plans, per-seat, entitlements
clerk-webhooksReal-time events and data syncingDatabase sync, notifications
clerk-testingE2E testing for auth flowsPlaywright/Cypress tests

Native Mobile

SkillPlatformPatterns
clerk-swiftiOSClerkKit, SwiftUI, Apple Sign-In
clerk-androidAndroidKotlin, Jetpack Compose
clerk-expoExpo / React NativeNative components, custom flows, SMS OTP, OAuth

Quick Start

1. Set Up API Keys

Get your keys from the Clerk Dashboard and add them to .env:

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_xxx
CLERK_SECRET_KEY=sk_test_xxx

2. Ask Your Agent

You SaySkill Used
"List Clerk users"clerk-cli
"Add Clerk auth to my Next.js app"clerk-setup
"Use Server Actions with Clerk"clerk-nextjs-patterns
"Add Clerk to my Vue app"clerk-vue-patterns
"Add Clerk to my Nuxt app"clerk-nuxt-patterns
"Add auth to my Expo app"clerk-expo
"Add phone SMS auth to my Expo app"clerk-expo
"Add Clerk to my Astro site"clerk-astro-patterns
"Build custom sign-in form"clerk-custom-ui
"Sync users to Prisma via webhooks"clerk-webhooks
"Add Playwright tests for auth"clerk-testing
"Set up organizations for my B2B app"clerk-orgs
"Add subscription billing with pricing table"clerk-billing
"Gate features by plan"clerk-billing
"Add Clerk auth to my iOS app"clerk-swift
"Add Clerk auth to my Android app"clerk-android

Repository Structure

clerk-skills/
├── .agents/
│   └── plugins/
│       └── marketplace.json
├── .codex-plugin/
│   └── plugin.json
├── .claude-plugin/
│   └── marketplace.json
├── skills/
│   ├── core/
│   │   ├── clerk/                  # Router skill
│   │   ├── clerk-cli/              # CLI operations
│   │   ├── clerk-setup/            # Framework setup
│   │   ├── clerk-custom-ui/        # Component customization
│   │   └── clerk-backend-api/      # REST API explorer
│   ├── frameworks/
│   │   ├── clerk-nextjs-patterns/
│   │   ├── clerk-react-patterns/
│   │   ├── clerk-react-router-patterns/
│   │   ├── clerk-vue-patterns/
│   │   ├── clerk-nuxt-patterns/
│   │   ├── clerk-astro-patterns/
│   │   ├── clerk-tanstack-patterns/
│   │   └── clerk-chrome-extension-patterns/
│   ├── features/
│   │   ├── clerk-orgs/
│   │   ├── clerk-billing/
│   │   ├── clerk-webhooks/
│   │   └── clerk-testing/
│   └── mobile/
│       ├── clerk-swift/
│       ├── clerk-android/
│       └── clerk-expo/
└── README.md

Resources

Request a Skill

Don't see what you need? Request a skill.

License

MIT

Rendered live from clerk/skills's GitHub README — not stored, always reflects the source repo.

4 Plugins

NameDescriptionCategorySource
coreCore Clerk skills: router, CLI operations, setup, custom UI, and API references./
frameworksFramework-specific Clerk integration patterns: middleware, hooks, SSR, composables, and advanced usage./
featuresClerk feature skills: organizations, billing, webhooks, and testing./
mobileMobile Clerk auth: Swift/iOS, Android/Kotlin, and Expo/React Native patterns./

0 Comments

Login required
Log in to post a comment or update on this repo.

No comments yet — be the first to share an update.