Agent skill · Clerk
Clerk Next.js Patterns
Officialname: clerk-nextjs-patterns★ 89 (repo)pushed 2026-10-23MITSKILL.md on GitHubchecked 2026-10-24
Install
The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs
npx skills add clerk/skills --skill clerk-nextjs-patterns
This repo is a plugin marketplace. Inside Claude Code, add it and install the plugin that holds the skill (clerk), or copy only this skill into ~/.claude/skills. docs
/plugin marketplace add clerk/skills /plugin install <plugin>@clerk-skills # or only this skill: npx skills add clerk/skills --skill clerk-nextjs-patterns -a claude-code
Download the skill folder, zip it, then Customize > Skills > + > Create skill > Upload a skill. Code execution must be on (Settings > Capabilities). docs
git clone --depth 1 https://github.com/clerk/skills.git /tmp/clerk-nextjs-patterns-src cp -r /tmp/clerk-nextjs-patterns-src/skills/clerk-nextjs-patterns ./clerk-nextjs-patterns zip -r clerk-nextjs-patterns.zip clerk-nextjs-patterns
Codex reads skills from .agents/skills in the repo or ~/.agents/skills. Type $ in Codex to use one. docs
npx skills add clerk/skills --skill clerk-nextjs-patterns -a codex
gh skill (GitHub CLI 2.90+, preview) installs it for Copilot in VS Code, the CLI and the cloud agent. Copilot also reads .github/skills and ~/.copilot/skills. docs
gh skill install clerk/skills clerk-nextjs-patterns
Cursor reads .cursor/skills, .agents/skills and ~/.cursor/skills (and .claude/skills). It does not install loose skills from a GitHub URL, so copy it in. docs
npx skills add clerk/skills --skill clerk-nextjs-patterns -a cursor
Installs from the GitHub repo; --path picks this skill out of the repo. Default scope is user (all projects). docs
gemini skills install https://github.com/clerk/skills.git --path skills/clerk-nextjs-patterns
OpenCode reads .opencode/skills, ~/.config/opencode/skills and the Claude and .agents folders. docs
npx skills add clerk/skills --skill clerk-nextjs-patterns -a opencode
Windsurf (now Devin Desktop) reads .devin/skills, .windsurf/skills and ~/.codeium/windsurf/skills. docs
npx skills add clerk/skills --skill clerk-nextjs-patterns -a windsurf
Pairs with the Clerk MCP server: the server gives the agent the tools, the skill teaches it how to use them.
More from clerk/skills
- Clerk Setup: Adds Clerk authentication to a project, or migrates an existing auth system to Clerk.
Other security & auth skills
- Security Best Practices Review · OpenAI
- Security Threat Model · OpenAI
- Sign In With Google (Web) · Google
- Agentic Actions Auditor · Trail of Bits
- CodeQL Scan · Trail of Bits
- Constant-Time Analysis · Trail of Bits
- Differential Security Review · Trail of Bits
- Semgrep Rule Creator · Trail of Bits
FAQ
How do I install the clerk-nextjs-patterns skill?+
Run npx skills add clerk/skills --skill clerk-nextjs-patterns and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/clerk-nextjs-patterns/SKILL.md.
Which agents can use Clerk Next.js Patterns?+
Any agent that reads the Agent Skills format (SKILL.md): Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more.
Who maintains Clerk Next.js Patterns?+
Clerk, the company or project behind it, in the clerk/skills repo on GitHub, last pushed 2026-10-23.
Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. All agent skills · MCP servers