Coding

vercel-deploy

Try it

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

What it does

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

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?

Related skills

figma-use

Official

Write safe, incremental JavaScript against the Figma Plugin API from your agent.

by OpenAI27.9k stars

aspnet-core

Official

Build and review ASP.NET Core apps using current official .NET guidance.

by OpenAI27.9k stars

cli-creator

Official

Generate a durable, composable command-line tool Codex can run from any repo.

by OpenAI27.9k stars

Generates a p5.js sketch from an algorithmic philosophy, with seed control and tunable parameters.

by Anthropic180.0k stars

Build, refine, and benchmark agent skills through an iterative draft→test→evaluate loop.

by Anthropic180.0k stars

Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.

by OpenAI27.9k stars

More from OpenAI

Browse all skills

chatgpt-apps

Official

Scaffold ChatGPT Apps SDK projects with a docs-first workflow, tool plan, and working MCP server plus widget code.

by OpenAI27.9k stars

Build or update full Figma screens by composing published design system components, variables, and styles.

by OpenAI27.9k stars

Build a complete, code-aligned Figma design system in phases, with variables, components, and themes created in the right order.

by OpenAI27.9k stars

figma-use

Official

Write safe, incremental JavaScript against the Figma Plugin API from your agent.

by OpenAI27.9k stars

hatch-pet

Official

Build Codex-compatible animated pet atlases from concept art, brand cues, or references, with validated spritesheets and packaging.

by OpenAI27.9k stars

openai-docs

Official

Get authoritative, current answers from OpenAI developer docs with citations and source paths.

by OpenAI27.9k stars