Vercel Cli
Command-line interface for deploying, managing, and developing Vercel projects locally and in CI/CD pipelines. Requires explicit project linking via vercel link (single project) or vercel link --re...
Command-line interface for deploying, managing, and developing Vercel projects locally and in CI/CD pipelines. Requires explicit project linking via vercel link (single project) or vercel link --repo (monorepos); commands must run from the directory containing .vercel/ folder Core workflows: vercel dev for local development, vercel deploy for preview deployments, vercel --prod for production Supports environment variables, domains, DNS, blob storage, integrations, Node.js backends,...
Install
Quick install
npx skills add https://github.com/vercel/vercel/tree/HEAD/skills/vercel-clinpx skills add vercel/vercel --skill vercel-cli --agent claude-codenpx skills add vercel/vercel --skill vercel-cli --agent cursornpx skills add vercel/vercel --skill vercel-cli --agent codexnpx skills add vercel/vercel --skill vercel-cli --agent opencodenpx skills add vercel/vercel --skill vercel-cli --agent github-copilotnpx skills add vercel/vercel --skill vercel-cli --agent windsurfMore install options
Shorthand — useful for multi-skill repos:
npx skills add vercel/vercel --skill vercel-cliManual — clone the repo and drop the folder into your agent's skills directory:
git clone https://github.com/vercel/vercel.gitcp -r vercel/skills/vercel-cli ~/.claude/skills/vercel-cli
Command-line interface for deploying, managing, and developing Vercel projects locally and in CI/CD pipelines. Requires explicit project linking via vercel link (single project) or vercel link --repo (monorepos); commands must run from the directory containing .vercel/ folder Core workflows: vercel dev for local development, vercel deploy for preview deployments, vercel --prod for production Supports environment variables, domains, DNS, blob storage, integrations, Node.js backends,...
vercel-cliby vercel
Command-line interface for deploying, managing, and developing Vercel projects locally and in CI/CD pipelines. Requires explicit project linking via vercel link (single project) or vercel link --repo (monorepos); commands must run from the directory containing .vercel/ folder Core workflows: vercel dev for local development, vercel deploy for preview deployments, vercel --prod for production Supports environment variables, domains, DNS, blob storage, integrations, Node.js backends,...npx skills add https://github.com/vercel/vercel --skill vercel-cliDownload ZIPGitHub
Vercel CLI Skill
The Vercel CLI (vercel or vc) deploys, manages, and develops projects on the Vercel platform from the command line. Use vercel <command> --help for full flag details on any command.
The installed CLI help is the source of truth for obscure or newly added flags. If a command example here is not enough, check vercel <command> --help before acting instead of guessing.
Critical: Project Linking
Commands must be run from the directory containing the .vercel folder (or a subdirectory of it). How .vercel gets set up depends on your project structure:
.vercel/project.json: Created byvercel link. Links a single project. Fine for single-project repos, and can work in monorepos if there's only one project.
.vercel/repo.json: Created byvercel link --repo. Links a repo that may contain multiple projects. Always a good idea when any project has a non-root directory (e.g.,apps/web).
Running from a project subdirectory (e.g., apps/web/) skips the "which project?" prompt since it's unambiguous.
When something goes wrong, check how things are linked first — look at what's in .vercel/ and whether it's project.json or repo.json. Also verify you're on the right team with vercel whoami — linking while on the wrong team is a common mistake.
Quick Start
`npm i -g vercel
vercel login
vercel link # single project
# OR
vercel link --repo # monorepo
vercel pull
vercel dev # local development
vercel deploy # preview deployment
vercel --prod # production deployment
`
Decision Tree
Use this to route to the correct reference file:
- Deploy →
references/deployment.md
- Rolling releases, deploy hooks, cron jobs, cache, git connection, Edge Config, redirects, custom environments →
references/project-infra.md
- Local development →
references/local-development.md
- Environment variables →
references/environment-variables.md
- CI/CD automation →
references/ci-automation.md
- Domains or DNS →
references/domains-and-dns.md
- Projects or teams →
references/projects-and-teams.md
- Logs, metrics, Speed Insights, Core Web Vitals, activity, performance, preview access, or production debugging →
references/monitoring-and-debugging.md
- Alerts, usage, contracts, billing purchases, tokens, telemetry, or CLI upgrades →
references/platform-ops.md
- Blob storage →
references/storage.md
- Integrations (databases, storage, etc.) →
references/integrations.md
- Connectors (
vercel connect) →references/connectors.md
- Routing rules →
references/routing.md
- Firewall (WAF rules, IP blocks, rate limiting) →
references/firewall.md
- Access a preview deployment → use
vercel curl(seereferences/monitoring-and-debugging.md)
- CLI command is unavailable or output is missing required fields → use
vercel apiafter first-class CLI paths are unavailable or insufficient (seereferences/advanced.md)
- Node.js backends (Express, Hono, etc.) →
references/node-backends.md
- Monorepos (Turborepo, Nx, workspaces) →
references/monorepos.md
- Bun runtime →
references/bun.md
- Feature flags →
references/flags.md
- Microfrontends →
references/microfrontends.md
- Sandbox →
references/sandbox.md
- Agent, MCP, skills discovery, or AI Gateway →
references/agent-and-ai.md
- Captured request traces (
vercel traces, including--open/--view) →references/advanced.md
- Vercel Apps / OAuth apps (
vercel oauth-apps) →references/advanced.md
- Advanced (
vercel apifallback, webhooks) →references/advanced.md
- Global flags →
references/global-options.md
- First-time setup →
references/getting-started.md
Anti-Patterns
- Wrong link type in monorepos with multiple projects:
vercel linkcreatesproject.json, which only tracks one project. Usevercel link --repoinstead. When things break, check.vercel/first.
- Letting commands auto-link in monorepos: Many commands implicitly run
vercel linkif.vercel/doesn't exist. This createsproject.json, which may be wrong. Runvercel link(or--repo) explicitly first.
- Linking while on the wrong team: Use
vercel whoamito check,vercel teams switchto change.
- Forgetting non-interactive flags in CI/agent runs: Use
--non-interactivewhen you need prompt-free behavior, and add--yesonly for commands that require confirmation.
- Using
vercel deployaftervercel buildwithout--prebuilt: The build output is ignored.
- Hardcoding tokens in flags: Use
VERCEL_TOKENenv var instead of--token.
- Disabling deployment protection: Use
vercel curlinstead to access preview deploys.
- Using
vercel apitoo early: Prefer first-class CLI commands when they expose the needed data or mutation.
More skills from vercel
agent-friendly-apisby vercelCompanion skill for the Agent-Friendly APIs course on Vercel Academy. Build a feedback API, make it agent-friendly with structured documentation, then create a Claude Code skill that generates the docs automatically.filesystem-agentsby vercelYou are a knowledgeable teaching assistant for the Building Filesystem Agents course on Vercel Academy. You help students build agents that navigate filesystems with bash to answer questions about structured data.add-provider-packageby vercelGuide for adding new AI provider packages to the AI SDK. Use when creating a new @ai-sdk/<provider> package to integrate an AI service into the SDK.csvby vercelAnalyze and transform CSV data using bash toolsaiby vercelPythonai module — models, agents, hooks, middleware, MCP, structured outputcron-jobsby vercelVercel Cron Jobs configuration and best practices. Use when adding, editing, or debugging scheduled tasks in vercel.json.frontend-designby vercelCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts,…vercel-react-best-practicesby vercelReact and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js…
---
Source: https://github.com/vercel/vercel/tree/HEAD/skills/vercel-cli
Author: vercel
Discovered via: mcpservers.org
SKILL.md source
--- name: vercel-cli description: Command-line interface for deploying, managing, and developing Vercel projects locally and in CI/CD pipelines. Requires explicit project linking via vercel link (single project) or vercel link --re... --- # vercel-cli Command-line interface for deploying, managing, and developing Vercel projects locally and in CI/CD pipelines. Requires explicit project linking via vercel link (single project) or vercel link --repo (monorepos); commands must run from the directory containing .vercel/ folder Core workflows: vercel dev for local development, vercel deploy for preview deployments, vercel --prod for production Supports environment variables, domains, DNS, blob storage, integrations, Node.js backends,... # vercel-cliby vercel Command-line interface for deploying, managing, and developing Vercel projects locally and in CI/CD pipelines. Requires explicit project linking via vercel link (single project) or vercel link --repo (monorepos); commands must run from the directory containing .vercel/ folder Core workflows: vercel dev for local development, vercel deploy for preview deployments, vercel --prod for production Supports environment variables, domains, DNS, blob storage, integrations, Node.js backends,... `npx skills add https://github.com/vercel/vercel --skill vercel-cli`Download ZIPGitHub ## Vercel CLI Skill The Vercel CLI (`vercel` or `vc`) deploys, manages, and develops projects on the Vercel platform from the command line. Use `vercel <command> --help` for full flag details on any command. The installed CLI help is the source of truth for obscure or newly added flags. If a command example here is not enough, check `vercel <command> --help` before acting instead of guessing. ## Critical: Project Linking Commands must be run from the directory containing the `.vercel` folder (or a subdirectory of it). How `.vercel` gets set up depends on your project structure: * `.vercel/project.json`: Created by `vercel link`. Links a single project. Fine for single-project repos, and can work in monorepos if there's only one project. * `.vercel/repo.json`: Created by `vercel link --repo`. Links a repo that may contain multiple projects. Always a good idea when any project has a non-root directory (e.g., `apps/web`). Running from a project subdirectory (e.g., `apps/web/`) skips the "which project?" prompt since it's unambiguous. When something goes wrong, check how things are linked first — look at what's in `.vercel/` and whether it's `project.json` or `repo.json`. Also verify you're on the right team with `vercel whoami` — linking while on the wrong team is a common mistake. ## Quick Start ``` `npm i -g vercel vercel login vercel link # single project # OR vercel link --repo # monorepo vercel pull vercel dev # local development vercel deploy # preview deployment vercel --prod # production deployment ` ``` ## Decision Tree Use this to route to the correct reference file: * Deploy → `references/deployment.md` * Rolling releases, deploy hooks, cron jobs, cache, git connection, Edge Config, redirects, custom environments → `references/project-infra.md` * Local development → `references/local-development.md` * Environment variables → `references/environment-variables.md` * CI/CD automation → `references/ci-automation.md` * Domains or DNS → `references/domains-and-dns.md` * Projects or teams → `references/projects-and-teams.md` * Logs, metrics, Speed Insights, Core Web Vitals, activity, performance, preview access, or production debugging → `references/monitoring-and-debugging.md` * Alerts, usage, contracts, billing purchases, tokens, telemetry, or CLI upgrades → `references/platform-ops.md` * Blob storage → `references/storage.md` * Integrations (databases, storage, etc.) → `references/integrations.md` * Connectors (`vercel connect`) → `references/connectors.md` * Routing rules → `references/routing.md` * Firewall (WAF rules, IP blocks, rate limiting) → `references/firewall.md` * Access a preview deployment → use `vercel curl` (see `references/monitoring-and-debugging.md`) * CLI command is unavailable or output is missing required fields → use `vercel api` after first-class CLI paths are unavailable or insufficient (see `references/advanced.md`) * Node.js backends (Express, Hono, etc.) → `references/node-backends.md` * Monorepos (Turborepo, Nx, workspaces) → `references/monorepos.md` * Bun runtime → `references/bun.md` * Feature flags → `references/flags.md` * Microfrontends → `references/microfrontends.md` * Sandbox → `references/sandbox.md` * Agent, MCP, skills discovery, or AI Gateway → `references/agent-and-ai.md` * Captured request traces (`vercel traces`, including `--open` / `--view`) → `references/advanced.md` * Vercel Apps / OAuth apps (`vercel oauth-apps`) → `references/advanced.md` * Advanced (`vercel api` fallback, webhooks) → `references/advanced.md` * Global flags → `references/global-options.md` * First-time setup → `references/getting-started.md` ## Anti-Patterns * Wrong link type in monorepos with multiple projects: `vercel link` creates `project.json`, which only tracks one project. Use `vercel link --repo` instead. When things break, check `.vercel/` first. * Letting commands auto-link in monorepos: Many commands implicitly run `vercel link` if `.vercel/` doesn't exist. This creates `project.json`, which may be wrong. Run `vercel link` (or `--repo`) explicitly first. * Linking while on the wrong team: Use `vercel whoami` to check, `vercel teams switch` to change. * Forgetting non-interactive flags in CI/agent runs: Use `--non-interactive` when you need prompt-free behavior, and add `--yes` only for commands that require confirmation. * Using `vercel deploy` after `vercel build` without `--prebuilt`: The build output is ignored. * Hardcoding tokens in flags: Use `VERCEL_TOKEN` env var instead of `--token`. * Disabling deployment protection: Use `vercel curl` instead to access preview deploys. * Using `vercel api` too early: Prefer first-class CLI commands when they expose the needed data or mutation. ## More skills from vercel agent-friendly-apisby vercelCompanion skill for the Agent-Friendly APIs course on Vercel Academy. Build a feedback API, make it agent-friendly with structured documentation, then create a Claude Code skill that generates the docs automatically.filesystem-agentsby vercelYou are a knowledgeable teaching assistant for the Building Filesystem Agents course on Vercel Academy. You help students build agents that navigate filesystems with bash to answer questions about structured data.add-provider-packageby vercelGuide for adding new AI provider packages to the AI SDK. Use when creating a new @ai-sdk/<provider> package to integrate an AI service into the SDK.csvby vercelAnalyze and transform CSV data using bash toolsaiby vercelPython `ai` module — models, agents, hooks, middleware, MCP, structured outputcron-jobsby vercelVercel Cron Jobs configuration and best practices. Use when adding, editing, or debugging scheduled tasks in vercel.json.frontend-designby vercelCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts,…vercel-react-best-practicesby vercelReact and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js… --- **Source**: https://github.com/vercel/vercel/tree/HEAD/skills/vercel-cli **Author**: vercel **Discovered via**: mcpservers.org
Related skills 6
microsoft-foundry
Deploy, evaluate, and manage Foundry agents end-to-end: Docker build, ACR push, hosted/prompt agent create, container start, batch eval, continuous eval, prompt optimizer workflows, agent.yaml, dataset curation from traces. USE FOR: deploy agent to Foundry, hosted agent, create agent, invoke agent, evaluate agent, run batch eval, continuous eval, continuous monitoring, continuous eval status, optimize prompt, improve prompt, prompt optimizer, optimize agent instructions, improve agent instruc...
azure-ai
Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.
azure-deploy
Execute Azure deployments for ALREADY-PREPARED applications that have existing .azure/deployment-plan.md and infrastructure files. DO NOT use this skill when the user asks to CREATE a new application — use azure-prepare instead. This skill runs azd up, azd deploy, terraform apply, and az deployment commands with built-in error recovery. Requires .azure/deployment-plan.md from azure-prepare and validated status from azure-validate. WHEN: "run azd up", "run azd deploy", "execute deployment", "p...
azure-diagnostics
Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app service, app service high CPU, app service deployment failure, troubleshoot container apps, troubleshoot functions, troubleshoot AKS, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, analyze logs, KQL, insights, image pull failures, cold start issues, health probe failures, resource...
azure-resource-lookup
List, find, and show Azure resources across subscriptions or resource groups. Handles prompts like "list the websites in my subscription", "list my web apps", "show my app services", "list virtual machines", "list my VMs", "show storage accounts", "find container apps", and "what resources do I have". USE FOR: list websites, list web apps, list app services, show websites in subscription, resource inventory, find resources by tag, tag analysis, orphaned resource discovery (not for cost analys...
azure-resource-visualizer
Analyze Azure resource groups and generate detailed Mermaid architecture diagrams showing the relationships between individual resources. WHEN: create architecture diagram, visualize Azure resources, show resource relationships, generate Mermaid diagram, analyze resource group, diagram my resources, architecture visualization, resource topology, map Azure infrastructure.