Catalog
openai/vercel-deploy

openai

vercel-deploy

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".

global
0installs0uses~653
v1.0Saved Apr 5, 2026

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="<path-to-skill>"

# 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?
Files5
5 files · 11.0 KB

Select a file to preview

Overall Score

77/100

Grade

B

Good

Safety

82

Quality

76

Clarity

77

Completeness

71

Summary

A deployment automation skill that guides agents to deploy projects to Vercel using either the Vercel CLI (preferred) or a fallback claimable deployment endpoint. The skill handles framework detection, project packaging, build monitoring, and returns deployment URLs to the user. It explicitly defaults to preview deployments unless the user requests production.

Static Analysis Findings

2 findings

Patterns detected by deterministic static analysis before AI scoring. Hover over any finding code for detailed information and remediation guidance.

Credential Exposure
SEC-020Direct .env File Access2x in 1 file

Direct .env file access

scripts/deploy.sh.env2x
Destructive Operation
SEC-001Recursive DeletionMax: B

Recursive deletion pattern (rm -rf)

scripts/deploy.shrm -rf

Detected Capabilities

Vercel CLI invocation (with optional network escalation)Framework detection from package.json (30+ frameworks)Project tarball creation and compressionHTTP polling for build status monitoringFallback deployment via external endpointEnvironment file exclusion from deployment

Trigger Keywords

Phrases that MCP clients use to match this skill to user intent.

deploy to vercelpreview deploymentpush to vercelshare deployment linkvercel preview

Risk Signals

INFO

Recursive deletion (rm -rf) in cleanup trap

scripts/deploy.sh:48-53
INFO

Direct .env file access (exclusion from tarball)

scripts/deploy.sh:92-94
WARNING

Outbound HTTP requests to external deployment endpoint

scripts/deploy.sh:19, 126-128, 155-170
INFO

Project tarball creation and staging operations

scripts/deploy.sh:85-115

Referenced Domains

External domains referenced in skill content, detected by static analysis.

codex-deploy-skills.vercel.sh

Use Cases

  • Deploy a web application to Vercel for testing or sharing
  • Create a preview deployment without production impact
  • Deploy when Vercel CLI is unavailable or authentication fails
  • Automatically detect project framework and configure deployment

Quality Notes

  • ✓ Clear dual-path design: CLI-first with well-documented fallback method
  • ✓ Comprehensive framework detection covering 40+ modern frameworks with correct precedence ordering
  • ✓ Good error handling: checks for missing CLI, auth errors, curl failures, and HTTP status codes during polling
  • ✓ Security-conscious: explicitly excludes .env files, .git, and node_modules from deployment tarball
  • ✓ Appropriate timeouts documented (10 min for CLI deploy, 5 min polling with status feedback)
  • ✓ User-facing output is clear (preview URL and claim URL messaging)
  • ✓ Script uses set -euo pipefail for safety (fail on undefined vars, pipe errors, set errors)
  • ✓ Trap handler ensures cleanup even on error
  • ⚠ Fallback script uses curl with -s (silent) and grep for JSON parsing—fragile if response format changes (no jq dependency documented)
  • ⚠ Framework detection relies on exact grep matching on package.json; could miss scoped packages without prefix check
  • ⚠ HTTP polling loop uses hardcoded attempt limit (60) and 5-second interval—no documented way to customize timeouts
  • ⚠ Script does not validate tarball integrity before upload
  • ⚠ No documented handling for projects larger than typical (curl default limits)
Model: claude-haiku-4-5-20251001Analyzed: Apr 5, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Add openai/vercel-deploy to your library

Command Palette

Search for a command to run...