Coding

vercel-deploy

Try it

Deploy a project to Vercel and return its preview or production URL.

What it does

Deploy an application, website, project directory, or tarball to Vercel and return its deployment URL. Deployments default to preview unless production is explicitly requested. It uses the Vercel CLI when available, with a no-auth fallback that detects the framework, packages the project, waits for the build, and returns preview and claim URLs.

When to use it

  • Preview deployment for a web app
  • Production deployment on explicit request
  • Deployment without Vercel CLI credentials
  • Deployment of an existing project tarball

The skill document

Vercel Deploy

Deploy any project to Vercel instantly. Always deploy as preview (not production) unless the user explicitly asks for production.

Prerequisites

  • Check whether the Vercel CLI is installed without escalated permissions (for example, command -v vercel).
  • Only escalate the actual deploy command if sandboxing blocks the deployment network calls (sandbox_permissions=require_escalated).
  • The deployment might take a few minutes. Use appropriate timeout values.

Quick Start

  1. Check whether the Vercel CLI is installed (no escalation for this check):
command -v vercel
  1. If vercel is installed, run this (with a 10 minute timeout):
vercel deploy [path] -y

Important: Use a 10 minute (600000ms) timeout for the deploy command since builds can take a while.

  1. If vercel is not installed, or if the CLI fails with "No existing credentials found", use the fallback method below.

Fallback (No Auth)

If CLI fails with auth error, use the deploy script:

skill_dir=""

# Deploy current directory
bash "$skill_dir/scripts/deploy.sh"

# Deploy specific project
bash "$skill_dir/scripts/deploy.sh" /path/to/project

# Deploy existing tarball
bash "$skill_dir/scripts/deploy.sh" /path/to/project.tgz

The script handles framework detection, packaging, and deployment. It waits for the build to complete and returns JSON with previewUrl and claimUrl.

Tell the user: "Your deployment is ready at [previewUrl]. Claim it at [claimUrl] to manage your deployment."

Production Deploys

Only if user explicitly asks:

vercel deploy [path] --prod -y

Output

Show the user the deployment URL. For fallback deployments, also show the claim URL.

Do not curl or fetch the deployed URL to verify it works. Just return the link.

Troubleshooting

Escalated Network Access

If deployment fails due to network issues (timeouts, DNS errors, connection resets), rerun the actual deploy command with escalated permissions (use sandbox_permissions=require_escalated). Do not escalate the command -v vercel installation check. The deploy requires escalated network access when sandbox networking blocks outbound requests.

Example guidance to the user:

The deploy needs escalated network access to deploy to Vercel. I can rerun the command with escalated permissions—want me to proceed?

Questions people ask

Does it deploy to production by default?
No. It always creates a preview deployment unless the user explicitly requests production.
What happens if the Vercel CLI is unavailable or has no credentials?
It runs a fallback deployment script that handles framework detection, packaging, and deployment. The script returns both a preview URL and a claim URL.
Does it verify the deployed site by fetching its URL?
No. It returns the deployment link without curling or fetching the deployed URL.

Related skills

Turn China 3C launch inputs into executable routes, messaging, channel actions, risk checks, and review decisions.

by killsnake0126 installs112 stars

figma-use

Official

Runs Figma Plugin API scripts with the required call parameters, API rules, IDs, and validation workflow.

by OpenAI28.0k stars

cli-creator

Official

Build and install a composable CLI with stable JSON, explicit auth, safe commands, tests, and companion guidance.

by OpenAI28.0k stars

aspnet-core

Official

Build and improve ASP.NET Core apps using focused, current framework guidance.

by OpenAI28.0k stars

Create a seeded p5.js artwork, its algorithmic manifesto, and an interactive parameter viewer.

by Anthropic180.3k stars

Create and refine agent skills through structured drafting, testing, comparison, and user review.

by Anthropic180.3k stars

More from OpenAI

Browse all skills

chatgpt-apps

Official

Plan, scaffold, refactor, and validate ChatGPT Apps SDK projects with an MCP server and widget UI.

by OpenAI28.0k stars

Build or update full-page Figma screens with linked design-system components, variables, and styles.

by OpenAI28.0k stars

Builds a code-aligned Figma design system through phased creation, validation, and user approval.

by OpenAI28.0k stars

figma-use

Official

Runs Figma Plugin API scripts with the required call parameters, API rules, IDs, and validation workflow.

by OpenAI28.0k stars

hatch-pet

Official

Create and validate a Codex-compatible animated pet atlas from concepts, brand cues, or reference art.

by OpenAI28.0k stars

imagegen

Official

Generate or edit raster assets, validate the result, and place selected files into the project workspace.

by OpenAI28.0k stars