vercel-cli

Deploy and manage Vercel projects using the Vercel CLI.

1|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/Moisesjr20/gueclaw --skill vercel-cli-moisesjr20
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-cli
Source: https://github.com/Moisesjr20/gueclaw/tree/main/.agents/skills/vercel-cli
Command: npx skills add https://github.com/Moisesjr20/gueclaw --skill vercel-cli-moisesjr20

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes friction when deploying and managing projects on the Vercel platform by providing precise CLI guidance, troubleshooting steps, and CI-friendly workflows so users don't need to rely on the web dashboard for operational tasks.

Core Features & Use Cases

  • Project Linking & Monorepos: Explains how to link single projects or entire repos, when to use .vercel/project.json vs .vercel/repo.json, and how to operate in subdirectories to avoid ambiguous prompts.
  • Deployments & CI Automation: Guides preview and production deploys, prebuilt workflows, capturing deploy URLs, and CI patterns with --yes, --prebuilt, and --standalone flags.
  • Environment Management & Integrations: Covers vercel env, vercel env pull, integrations provisioning, and safer practices (use VERCEL_TOKEN instead of --token).
  • Monitoring, Debugging & Domains: Shows how to view and stream logs, inspect deployments, use vercel curl for protected previews, and manage domains and DNS.
  • Use Case: Automate a CI pipeline that builds artifacts in one job, uploads .vercel/output, and runs vercel deploy --prebuilt --prod in the deploy job with VERCEL_TOKEN authentication.

Quick Start

Ask the agent to deploy the linked project to production from the repository directory that contains the .vercel folder using VERCEL_TOKEN for authentication.

Frequently Asked Questions about vercel-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Vercel deployments in a CI pipeline?

Automate Vercel deployments in CI by using the Vercel CLI with the --yes flag to bypass prompts, authenticating via the VERCEL_TOKEN environment variable, and running vercel deploy --prebuilt --prod to publish prebuilt artifacts.

What's the best way to manage environment variables with the Vercel CLI?

Manage environment variables with the Vercel CLI by using the vercel env commands to add or remove variables, and run vercel env pull to download environment configurations locally for secure development without hardcoding secrets.

How do I deploy a monorepo from a subdirectory using Vercel CLI?

Deploy a monorepo from a subdirectory using Vercel CLI by linking the specific project path, which utilizes .vercel/project.json for local configurations or .vercel/repo.json for repository-level linking to avoid ambiguous deployment prompts.

Does the Vercel CLI support prebuilt deployments?

Yes, the Vercel CLI supports prebuilt deployments through the --prebuilt and --standalone flags, allowing you to build artifacts in one CI job and deploy the .vercel/output directory in a separate deploy job.

Why should I use a VERCEL_TOKEN instead of the --token flag for Vercel CLI?

You should use a VERCEL_TOKEN environment variable instead of the --token flag for Vercel CLI because it is a safer practice that prevents authentication credentials from being exposed in shell history or CI logs.

How can I inspect logs and access protected Vercel preview deployments?

Inspect logs and access protected Vercel preview deployments by using the CLI to stream deployment logs, inspect deployment details, and execute vercel curl requests to authenticate against and fetch protected preview URLs.