How Vercel's npx skills Makes System Prompt Design Patterns Portable Across 45+ Tools


Three months ago, if you wrote a great system prompt for Claude Code, you had to rewrite it from scratch for Cursor. Then rewrite it again for Codex. And again for Cline. Every AI coding agent had its own format, its own directory structure, its own conventions. The knowledge was trapped in silos.

On January 14, 2026, Vercel Labs published a TypeScript CLI called skills to GitHub. This morning it crossed 15,295 stars, with 317 added today. The repo has 1,238 forks. Something is clearly resonating.

Here is what npx skills does, how it works, why it matters, and how to start using it today.


The Problem It Solves

AI coding agents are everywhere now. Claude Code. Cursor. Codex. OpenCode. Cline. Windsurf. Roo Code. Gemini CLI. GitHub Copilot. Amp. OpenHands. Goose. Junie. The list keeps growing.

Each of these agents reads instruction files to understand how to behave in your project. Claude Code reads .claude/ files. Cursor reads .cursor/ files. Codex reads .codex/ files. The patterns are similar. The formats are similar. But they are not the same, and there was no bridge between them.

This created three problems.

First, duplication. Teams wrote the same instructions five different times in five different formats. A React style guide written for Claude Code had to be manually adapted for Cursor. The same deployment instructions. The same code review conventions. Same knowledge, different wrappers.

Second, lock-in. Once you invested time writing detailed system prompts for one agent, switching to another meant starting over. The switching cost was real. Teams stayed with agents they outgrew because rewriting the instructions felt too expensive.

Third, no ecosystem. There was no way to share your best prompt patterns with other people, or to discover patterns written by experts. Every team reinvented the wheel in isolation.

The skills CLI addresses all three.


What It Actually Does

npx skills is a package manager for agent behaviors. It installs SKILL.md files into the correct directories for whatever coding agents you use.

A "skill" is a directory containing at minimum a file called SKILL.md. That file has YAML frontmatter with a name and description, followed by Markdown instructions for the agent. Here is the simplest possible skill:

---
name: react-patterns
description: React and Next.js coding patterns. Use when writing React components or hooks.
---

# React Patterns

Always use server components by default in Next.js.
Define prop types with TypeScript interfaces.
Extract custom hooks when state logic is reused.

When you run npx skills add some-org/agent-skills, the CLI does three things:

  1. Fetches the skill repository from GitHub, GitLab, or any git URL
  2. Reads the SKILL.md files inside it
  3. Installs them into the correct directory for each detected agent on your machine

Claude Code gets .claude/skills/react-patterns/SKILL.md. Cursor gets .cursor/skills/react-patterns/SKILL.md. Codex gets .codex/skills/react-patterns/SKILL.md. Same content, correct location for each tool. One command, every agent gets the knowledge.

The CLI auto-detects which agents you have installed. If it finds Claude Code and Cursor, it installs to both. If it finds nothing, it asks you to pick.


The 45 Supported Agents

The README lists full support for 45 agents. Here are the ones you have probably heard of:

  • Claude Code
  • Cursor
  • OpenAI Codex
  • GitHub Copilot
  • Gemini CLI
  • OpenCode
  • Cline
  • Windsurf
  • Roo Code
  • Amp
  • OpenHands
  • Goose
  • Junie
  • OpenClaw
  • Continue
  • Droid (Factory AI)
  • Firebender
  • Kiro CLI
  • Trae
  • Replit
  • IBM Bob
  • Cortex Code (Snowflake)
  • Qwen Code
  • Pi
  • And 22 more

Each agent has a project path (committed with your repo) and a global path (available across all projects). The table from the README:

Scope Flag Location Use Case
Project (default) ./<agent>/skills/ Committed with your project, shared with team
Global -g ~/<agent>/skills/ Available across all projects

Project-scoped skills live in your repo. Everyone on the team gets them when they clone. Global skills live in your home directory. They travel with you across repos but not across people.


How It Works Under the Hood

The mechanism is straightforward.

Skill discovery. The CLI searches a repository for SKILL.md files in standard locations: the root directory, skills/, skills/.curated/, skills/.experimental/, agent-specific directories like .claude/skills/ and .cursor/skills/, and more. If none of those match, it does a recursive search.

Frontmatter parsing. Each SKILL.md must have valid YAML frontmatter with at least name and description fields. The name must be lowercase with hyphens, 1 to 64 characters. The description can be up to 1,024 characters and should explain both what the skill does and when to use it.

Installation. By default, the CLI symlinks from each agent's skills directory to a canonical copy. One source of truth. Easy to update. If symlinks are not supported (some Windows setups, some CI environments), you can use --copy instead.

Agent detection. The CLI looks for agent configuration directories on your machine. Found .claude/? Claude Code is installed. Found .cursor/? Cursor is installed. It then installs skills only to agents that exist.

This is not magic. It is a well-executed abstraction over something that was previously tedious and manual.


The Agent Skills Specification

The skills CLI implements the Agent Skills open specification, maintained at agentskills.io. This is the part that matters most for longevity.

The specification defines:

Directory structure. A skill is a directory with SKILL.md (required), plus optional scripts/, references/, and assets/ subdirectories.

skill-name/
├── SKILL.md          # Required: metadata + instructions
├── scripts/          # Optional: executable code
├── references/       # Optional: documentation
├── assets/           # Optional: templates, resources

Progressive disclosure. Agents load skills in stages. First they read the name and description from frontmatter, about 100 tokens. When a task matches, they load the full SKILL.md body. Only when they need deeper detail do they read files from scripts/, references/, or assets/. This matters for context window management. Keep your main SKILL.md under 500 lines. Move detail to referenced files.

File references. Skills reference other files with relative paths from the skill root. One level deep is recommended. No deep nesting chains.

Validation. The skills-ref tool validates SKILL.md frontmatter against the spec. Run skills-ref validate ./my-skill before publishing.

Optional frontmatter fields beyond name and description:

  • license — License name or reference to a bundled file
  • compatibility — Environment requirements, up to 500 characters
  • metadata — Arbitrary key-value mapping for custom properties
  • allowed-tools — Space-separated string of pre-approved tools (experimental)

The spec is vendor-neutral. It is not tied to Vercel, or to any single agent. That is the whole point. Write once, run anywhere.


Why This Matters

Portability breaks lock-in

Before skills, switching agents meant rebuilding your instruction layer. After skills, switching agents means running one install command. Your React patterns work in Claude Code today and Cursor tomorrow. Your deployment conventions work in Codex this week and OpenCode next week.

The switching cost drops from "weeks of prompt engineering" to "30 seconds of CLI."

Shared knowledge compounds

The skills.sh directory already lists skills from Microsoft (Azure skills, GitHub Copilot for Azure), Vercel (Next.js, AI SDK, deployment, design), Convex, Firecrawl, and dozens of community contributors. The leaderboard ranks by total installs. As of today, Microsoft's Azure skills lead with 4.3 million total installs.

When one person writes a great skill for database migration patterns, everyone benefits. When another writes one for accessibility testing, everyone benefits. This is the dynamic that made npm transformative for JavaScript. Shared packages beat private scripts every time.

Teams stay synchronized

Project-scoped skills committed to the repo mean every team member gets the same instructions. No more "works on my machine" for agent behavior. The PR review conventions are identical for everyone. The testing patterns are identical. The deployment checklist is identical.

This is a real operational problem that real teams have right now. skills solves it directly.

The spec creates stability

The Agent Skills specification at agentskills.io gives the ecosystem a contract. Agent implementations can change, new agents can appear, old agents can fade. As long as they read SKILL.md files from their skills directories, the knowledge persists. The format is simple enough to be durable. YAML frontmatter plus Markdown. No build step. No compiler. No runtime dependency.


Getting Started

Install your first skill

You do not need to install anything globally. Just run:

npx skills add vercel-labs/agent-skills

This fetches Vercel's official skill collection and installs it to all detected agents. The interactive prompt lets you pick which skills and which agents.

Install a specific skill

npx skills add vercel-labs/agent-skills --skill frontend-design

Install to specific agents

npx skills add vercel-labs/agent-skills -a claude-code -a cursor

Install globally (available across all projects)

npx skills add vercel-labs/agent-skills -g

List what is available before installing

npx skills add vercel-labs/agent-skills --list

Search for skills

npx skills find typescript

Or browse the directory at skills.sh.

Non-interactive (CI/CD friendly)

npx skills add vercel-labs/agent-skills --skill frontend-design -g -a claude-code -y

The -y flag skips all prompts. The -g flag installs globally. The -a flag targets a specific agent. Put it in your repo setup script.

Install all skills to all agents

npx skills add vercel-labs/agent-skills --all

Manage installed skills

# List installed skills
npx skills list

# Update skills to latest versions
npx skills update

# Remove a skill
npx skills remove frontend-design

Writing Your Own Skill

Create the template

npx skills init my-skill

This generates a directory with a SKILL.md template.

Fill in the frontmatter

---
name: my-skill
description: What this skill does and when the agent should activate it. Be specific with keywords.
---

The description is the most important field. Agents use it to decide when to activate the skill. Write it like you are describing the skill to a search engine. Include specific trigger words. "Helps with PDFs" is bad. "Extracts text and tables from PDF files, fills PDF forms, and merges multiple PDFs. Use when working with PDF documents or when the user mentions PDFs, forms, or document extraction" is good.

Write the instructions

The Markdown body after the frontmatter is what the agent reads when it activates the skill. Include:

  • Step-by-step instructions
  • Examples of inputs and outputs
  • Common edge cases
  • References to scripts or reference documents if needed

Keep the main SKILL.md under 500 lines. Move detailed reference material to references/ and executable code to scripts/. Agents load those on demand.

Validate before publishing

skills-ref validate ./my-skill

This checks frontmatter format, naming conventions, and directory structure.

Publish to GitHub

Push your skill directory to a public GitHub repository. Other people can install it with:

npx skills add your-org/your-skills-repo --skill my-skill

The Symlink Detail

By default, skills symlinks from each agent's directory to a single canonical copy of the skill. This means updating one copy updates it for every agent. Run npx skills update and you are done.

If you need independent copies (Windows without developer mode, some CI setups, some network filesystems), use --copy:

npx skills add vercel-labs/agent-skills --copy

Copies are independent. Updating requires running npx skills update to re-fetch and re-copy.


What the Numbers Mean

15,295 stars in three months. 1,238 forks. 317 stars today alone. The repo was created on January 14, 2026. That is an average of roughly 170 stars per day for 90 days.

For context, that is faster growth than most developer tooling repos see in their first year. It signals real demand. Developers were feeling the pain of fragmented agent instructions. Someone built a bridge. People walked across it.

The fork count matters too. 1,238 forks means people are not just starring and moving on. They are cloning the repo, reading the code, and likely contributing skills of their own.


The Bigger Picture

AI coding agents are converging on a shared pattern. Each agent reads instructions from files in the repo. Each agent has a system prompt layer that shapes its behavior. Each agent needs the same kind of knowledge: code style, deployment steps, testing conventions, API patterns, security rules.

The differences between agents are real but smaller than the similarities. The skills CLI and the Agent Skills specification recognize this. They extract the shared part (the knowledge) from the varying part (where each agent stores it) and automate the mapping.

This is the same insight that powered package managers before it. npm did not make Node modules possible. Node modules already worked. npm made them shareable, discoverable, and portable. skills does the same for agent instructions.

The ecosystem is young. The specification is simple. The CLI is clean. The agent list is growing. If you are writing system prompts for any coding agent today, you should be writing them as skills. The marginal cost is near zero. The portability benefit is immediate.


Quick Reference

Command What it does
npx skills add owner/repo Install skills from a repository
npx skills add owner/repo --skill name Install a specific skill
npx skills add owner/repo -a agent-name Install to a specific agent
npx skills add owner/repo -g Install globally
npx skills add owner/repo --all Install all skills to all agents
npx skills add owner/repo -y Non-interactive mode
npx skills list List installed skills
npx skills find query Search for skills
npx skills update Update installed skills
npx skills remove name Remove a skill
npx skills init name Create a new skill template

Links: