Uploaded August 2026 | Updated December 2026, 3 hours ago
Clerk Skills is a new package that gives your AI coding agent specialized, framework-aware knowledge about Clerk. Built on the Agent Skills spec, it works with Claude Code, Cursor, and most other agents — and instead of pulling from stale training data, it points your agent at the correct patterns for your framework and version.
In this video I install the skills with a single command and push them as far as I can in a Next.js app. Starting from a fresh shadcn setup, I prompt my agent to "add Clerk auth to my Next.js app" and watch a router skill route it to the right sub-skill — spinning up a new Clerk application via the CLI, pulling in the env keys, wiring the proxy/middleware, wrapping the layout with ClerkProvider, and generating custom sign-in/sign-up pages that automatically pick up my shadcn theme (including dark mode). Then I take it a step further and add subscription billing: the agent enables billing on the instance, creates a Pro plan, builds a pricing table, and gates features with the has() helper — all through the CLI, no manual dashboard clicks.
The whole initial setup takes under 10 minutes. This is part of an ongoing series on Clerk + AI — next I want to use the CLI to deploy from development to production without leaving the terminal.
⏱️ Chapters
00:00 – What Clerk Skills is (and the router concept)
01:00 – The skills, frameworks & example prompts
01:40 – Fresh Next.js + shadcn setup
02:28 – Installing the skills package
03:50 – Prompting the agent to add auth
05:00 – Framework/version detection + creating the app via CLI
07:00 – Env keys, proxy, ClerkProvider wired up
09:20 – Custom sign-in/sign-up UI + shadcn theming
11:49 – Clerk Core 3 changes (Show, deprecated components)
13:30 – Adding subscription billing with a skill
15:00 – Enabling billing + creating a Pro plan via CLI
16:35 – Pricing table + gating features with has()
20:00 – Test-mode checkout + what's left (webhooks, prod Stripe)
21:19 – What's next: deploying to production
🔗 Links
Clerk Skills docs → clerk.com/docs/guides/ai/skills
Announcement → clerk.com/changelog/2026-01-29-clerk-skills
Install → npx skills add clerk/skills
The Clerk CLI (referenced throughout) → youtu.be/X9415VqU6RU
Clerk Billing end-to-end → Coming soon
Questions? Drop them in the comments and I'll jump in. Cheers 👋
Clerk Skills is a new package that gives your AI coding agent specialized, framework-aware knowledge about Clerk. Built on the Agent Skills spec, it works with Claude Code, Cursor, and most other agents — and instead of pulling from stale training data, it points your agent at the correct patterns for your framework and version.
In this video I install the skills with a single command and push them as far as I can in a Next.js app. Starting from a fresh shadcn setup, I prompt my agent to "add Clerk auth to my Next.js app" and watch a router skill route it to the right sub-skill — spinning up a new Clerk application via the CLI, pulling in the env keys, wiring the proxy/middleware, wrapping the layout with ClerkProvider, and generating custom sign-in/sign-up pages that automatically pick up my shadcn theme (including dark mode). Then I take it a step further and add subscription billing: the agent enables billing on the instance, creates a Pro plan, builds a pricing table, and gates features with the has() helper — all through the CLI, no manual dashboard clicks.
The whole initial setup takes under 10 minutes. This is part of an ongoing series on Clerk + AI — next I want to use the CLI to deploy from development to production without leaving the terminal.
⏱️ Chapters
00:00 – What Clerk Skills is (and the router concept)
01:00 – The skills, frameworks & example prompts
01:40 – Fresh Next.js + shadcn setup
02:28 – Installing the skills package
03:50 – Prompting the agent to add auth
05:00 – Framework/version detection + creating the app via CLI
07:00 – Env keys, proxy, ClerkProvider wired up
09:20 – Custom sign-in/sign-up UI + shadcn theming
11:49 – Clerk Core 3 changes (Show, deprecated components)
13:30 – Adding subscription billing with a skill
15:00 – Enabling billing + creating a Pro plan via CLI
16:35 – Pricing table + gating features with has()
20:00 – Test-mode checkout + what's left (webhooks, prod Stripe)
21:19 – What's next: deploying to production
🔗 Links
Clerk Skills docs → clerk.com/docs/guides/ai/skills
Announcement → clerk.com/changelog/2026-01-29-clerk-skills
Install → npx skills add clerk/skills
The Clerk CLI (referenced throughout) → youtu.be/X9415VqU6RU
Clerk Billing end-to-end → Coming soon
Questions? Drop them in the comments and I'll jump in. Cheers 👋










![Protecting routes in NextJs using Clerk middleware [6/6]
Using Clerk middleware to protect your routes in NextJs. The clerkMiddleware() integrates Clerk authentication through NextJs middleware.
👉🏼 Clerk auth
→ https://go.clerk.com/s1mVa9u
👉🏼 Learn Clerk
→ https://www.hamedbahram.io/courses/clerk Protecting routes in NextJs using Clerk middleware [6/6]](https://i.ytimg.com/vi/CCdf-TBbRmA/mqdefault.jpg)