vercel-deploy
Scannednpx machina-cli add skill tech-leads-club/agent-skills/vercel-deploy --openclawVercel Deploy
Deploy any project to Vercel instantly. Always deploy as preview (not production) unless the user explicitly asks for production.
Prerequisites
- When sandboxing blocks the deployment network calls, rerun with
sandbox_permissions=require_escalated. - The deployment might take a few minutes. Use appropriate timeout values.
Quick Start
Just 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.
If that fails with "No existing credentials found", use the fallback method below.
Fallback (No Auth)
If CLI fails with auth error, use the deploy script:
# Deploy current directory
bash scripts/deploy.sh
# Deploy specific project
bash scripts/deploy.sh /path/to/project
# Deploy existing tarball
bash 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 deploy with escalated permissions (use sandbox_permissions=require_escalated). 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?
Source
git clone https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(cloud)/vercel-deploy/SKILL.mdView on GitHub Overview
Vercel Deploy pushes projects to Vercel and returns a preview link by default. Use it whenever a user asks to deploy an app, push it live, or create a preview deployment. Production deployments are only used if the user explicitly requests production.
How This Skill Works
The skill runs vercel deploy [path] -y to trigger a deployment in preview mode. If authentication fails, it falls back to a deploy script that detects the framework, packages the project, and deploys, returning a previewUrl and claimUrl. For sandboxed environments, it can rerun with escalated permissions and notes the 10-minute timeout for builds.
When to Use It
- User asks to deploy a project to Vercel and wants a live link (preview by default)
- Need to share a deployment preview with stakeholders before production
- Deployment fails due to auth issues and the fallback deploy script should be used
- User explicitly asks for a non-production deployment with a preview URL
- User explicitly requests a production deployment with --prod
Quick Start
- Step 1: Run vercel deploy [path] -y with a 10-minute timeout
- Step 2: If auth fails, run the fallback script: bash scripts/deploy.sh or bash scripts/deploy.sh /path/to/project or /path/to/project.tgz
- Step 3: Return the deployment URL (and claim URL for fallback) to the user
Best Practices
- Always deploy as a preview unless the user asks for production
- Use a 10-minute (600000ms) timeout for the vercel deploy command
- If auth fails, switch to the provided deploy.sh fallback and report previewUrl and claimUrl
- Do not curl or verify the deployment URL; simply present the returned link
- If sandbox networking blocks outbound requests, rerun with sandbox_permissions=require_escalated
Example Use Cases
- A user asks to deploy their app and you supply a preview URL for review
- Sharing a Vercel preview link with team members before production rollout
- Deploying a tarball via the fallback script when auth in CLI fails
- User requests production deployment with vercel deploy [path] --prod -y
- Encountering a timeout or DNS issue and escalating network permissions to complete the deploy