Vercel Integration

Pro v1.0.0

Deploy and manage Vercel projects from the command line using the official CLI

Requires Claude Code CLI

This skill integrates with Vercel through Claude Code. Install Claude Code and add this skill to use it.

Available Actions

Deploy Project

Deploy your project to Vercel from the current directory

Parameters

Name Type Required Description
prod boolean Optional Deploy to production instead of preview
yes boolean Optional Skip confirmation prompts
build-env string Optional Set build-time environment variables

Try saying...

  • "Deploy my app to Vercel"
  • "Create a new production deployment"
  • "Deploy this project to preview"

List Projects and Deployments

View all projects or deployments for the current project

Try saying...

  • "Show my Vercel projects"
  • "List recent deployments"
  • "What are my active projects?"

Manage Environment Variables

Add, list, or remove environment variables for your project

Parameters

Name Type Required Description
action string Required Action to perform
name string Optional Variable name (for add/rm)
environment string Optional Target environment

Try saying...

  • "Add an environment variable to my project"
  • "List all environment variables"
  • "Remove the API_KEY variable"
  • "Pull environment variables to local .env file"

View Deployment Logs

Retrieve logs from your deployments for debugging

Parameters

Name Type Required Description
url string Optional Deployment URL to get logs from
follow boolean Optional Follow logs in real-time

Try saying...

  • "Show me the logs for my latest deployment"
  • "Get logs from this deployment URL"
  • "Follow the deployment logs in real-time"

Manage Domains

Add, list, or remove custom domains for your project

Parameters

Name Type Required Description
action string Required Action to perform
domain string Optional Domain name (for add/rm)

Try saying...

  • "Add a custom domain to my project"
  • "List all domains"
  • "Remove the old domain"
  • "Configure DNS for my domain"

Promote or Rollback Deployment

Promote a preview deployment to production or rollback to a previous version

Parameters

Name Type Required Description
url string Required Deployment URL to promote or rollback to

Try saying...

  • "Promote this deployment to production"
  • "Rollback to the previous deployment"
  • "Make this preview deployment the production version"

Inspect Deployment

Get detailed information about a specific deployment

Parameters

Name Type Required Description
url string Required Deployment URL to inspect

Try saying...

  • "Show me details about this deployment"
  • "Inspect the latest deployment"
  • "What's the status of this deployment?"

Link Local Project

Connect your local directory to a Vercel project

Try saying...

  • "Link this directory to my Vercel project"
  • "Connect to an existing Vercel project"
  • "Set up Vercel for this local project"

Run Local Development Server

Start a local development server that replicates the Vercel deployment environment

Try saying...

  • "Start the local dev server"
  • "Run my project locally with Vercel environment"
  • "Test my serverless functions locally"

Pull Project Configuration

Download project settings and environment variables from Vercel

Try saying...

  • "Pull the latest configuration from Vercel"
  • "Download environment variables"
  • "Sync project settings to local"

Manage Teams

List teams and switch between personal account and team workspaces

Try saying...

  • "Switch to my team workspace"
  • "List available teams"
  • "Show current user or team"
  • "Who am I logged in as?"

Getting Started

CLI Authentication Easy Setup
  1. 1 Install the CLI: npm i -g vercel
  2. 2 Run: vercel login
  3. 3 Follow the browser prompts to authenticate via OAuth 2.0
  4. 4 For CI/CD: Create a token at https://vercel.com/account/tokens
  5. 5 For CI/CD: Use --token flag or set VERCEL_TOKEN environment variable

Verify Setup

vercel whoami

Success: Displays your username or team name

Security & Access

Access Scope

Full access to deploy, manage projects, domains, environment variables, and all Vercel resources within your account or team scope

  • Vercel tokens have full access to your account - treat them like passwords
  • Never commit .vercel directory or tokens to version control
  • Use scoped tokens when possible (limit to specific teams)
  • Set expiration dates on tokens (recommended: 30-90 days)
  • Tokens can be revoked at any time from https://vercel.com/account/tokens
  • Environment variables may contain sensitive data - handle with care

Limitations

  • CLI requires Node.js runtime (installed via npm/yarn/pnpm/bun)
  • Some commands require being in a project directory
  • Team-scoped operations require appropriate permissions
  • Deployment builds are subject to Vercel plan limits

Get This Skill

Requires Pro subscription ($9/month)

Quick Reference

Type
CLI
Auth
CLI Authentication
Setup
Easy Setup
Tools Required
Bash
CLI Dependencies
vercel

Have Feedback?

Help us improve this skill by sharing your ideas and suggestions.

Request Improvements