Skip to main content
Docs

Clerk Skills

Clerk Skills are installable packages that give AI coding agents specialized knowledge about Clerk. Once installed, your agent can help you add authentication, manage organizations, sync users, and more.

Installation

To install all available Skills, use:

npx skills add clerk/skills

To install a specific Skill, use:

npx skills add clerk/skills --skill {skill-name}

Works with Claude Code, Cursor, Windsurf, GitHub Copilot, Codex, Gemini CLI, and more. See all supported agents.

Available skills

The following table lists the available Skills. See the linked reference for more information about each Skill.

SkillDescriptionWhen to use
/clerkRouter - routes to the right skillAlways start here
/clerk-setupAdd Clerk to any frameworkNew projects, framework setup
/clerk-custom-uiCustom sign-in/up components and appearanceBuilding custom forms, styling
/clerk-nextjs-patternsAdvanced Next.js patternsServer Actions, middleware, caching
/clerk-orgsMulti-tenant B2B organizationsBuilding team workspaces, RBAC
/clerk-webhooksReal-time events and data syncingWebhooks, database sync, notifications
/clerk-testingE2E testing for auth flowsWriting Playwright/Cypress tests

Example prompts

Once Skills are installed, you can ask your AI agent:

You saySkill used
"Add Clerk auth to my Next.js app"/clerk-setup
"Build custom sign-in form with styling"/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
"Use Server Actions with Clerk"/clerk-nextjs-patterns

Feedback

What did you think of this content?

Last updated on

GitHubEdit on GitHub