Agent Skill
Deploy to Vercel (Vercel)
Works out whether a project is linked to Vercel and has a Git remote, then deploys by git push, vercel deploy or a temporary no-account deploy.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkInstall
Commands are pinned to commit 1a2c79d, the version we read, wherever the install method supports it.
npx skills
npx skills add vercel-labs/agent-skills@1a2c79d4e6c4a2283dc2c614b6538cbe1ed5ca62 --skill deploy-to-vercel -a claude-codeCopies the skill into .claude/skills/ in this project, pinned to the reviewed commit.
npx skills
npx skills add vercel-labs/agent-skills@1a2c79d4e6c4a2283dc2c614b6538cbe1ed5ca62 --skill deploy-to-vercel -a codexInstalls to .agents/skills/, which Codex scans from the working directory up to the repo root.
npx skills
npx skills add vercel-labs/agent-skills@1a2c79d4e6c4a2283dc2c614b6538cbe1ed5ca62 --skill deploy-to-vercel -a cursorInstalls to .agents/skills/, one of the folders Cursor reads skills from.
gh skill
gh skill install vercel-labs/agent-skills skills/deploy-to-vercel --pin 1a2c79d4e6c4a2283dc2c614b6538cbe1ed5ca62 --agent github-copilotNeeds GitHub CLI 2.90.0 or later. Use --scope user to install for every repository.
npx skills
npx skills add vercel-labs/agent-skills@1a2c79d4e6c4a2283dc2c614b6538cbe1ed5ca62 --skill deploy-to-vercelPinned to the commit we reviewed. The CLI asks which agents to install for; add -g to install for your user instead of this project.
What it does
Deploys a project to Vercel from inside an agent, choosing the method from the project’s state. The agent first checks for a Git remote, whether .vercel/project.json or .vercel/repo.json links the folder to a project, and whether the Vercel CLI is installed and logged in (listing teams if so). Linked with a remote: commit and push, and let Vercel’s Git integration deploy. Linked without a remote: vercel deploy. Not linked but logged in: link, then deploy. Not logged in: install and authenticate, or fall back to vercel deploy --temporary, which needs no account and returns a temporary URL plus a claim link. It has notes for sandboxed agents (claude.ai, Codex) that block network egress, and it always reports the deployment URL.
Outline of the SKILL.md
We have not reproduced this SKILL.md because neither the skill nor its repository declares a licence. These are its section headings at the reviewed commit; read the full file at the source link.
- Step 1: Gather Project State
- Step 2: Choose a Deploy Method
- Agent-Specific Notes
- Output
- Troubleshooting
When to use it
Getting a preview link for a prototype, letting an agent ship a static site or a Next.js app you are happy to deploy, or showing someone a result without setting up a Vercel account first.
When to skip it
Production deploys for anything that matters. The Git-push path commits everything with git add . and a generated message, then pushes, which may include files you did not mean to ship and triggers whatever your Vercel project does on push. Prefer a preview deploy, check the diff yourself, and use your normal release process for production.
Try it
Create a preview deployment of this project on Vercel. Do not push to Git;
use vercel deploy for a preview, and give me the URL. If I'm not logged in,
use the temporary deploy and tell me when it expires.
What it can touch
- Bundles scripts
- No
- Pre-approved tools
- See source
- Needs
- Vercel CLI; Vercel account, except for the temporary deploy fallback
- Client-specific fields
- None, spec fields only
- Files
- At commit
1a2c79dthe SKILL.md is 230 lines long and is the only file in the folder.
Its instructions steer what your agent does, and it may have changed since the commit we read. How to check a skill.
Your Git history (a commit and push on the linked path), your Vercel account and team, and the network. The temporary deploy uploads your build output to Vercel without an account, and the claim link gives whoever holds it ownership, so the skill tells the agent not to share it. No scripts, no allowed-tools. Neither the skill nor its repository declares a licence, so we link to the SKILL.md instead of reproducing it.
Alternatives
Vercel’s React best practices for the code you are deploying. For mobile, EAS Update ships over-the-air updates to Expo apps.
SKILL.md
We have not reproduced this file here; the outline above lists its sections. Read the SKILL.md on GitHub.
Related skills
React best practices (Vercel)
Vercel's React and Next.js performance rules as a skill, ranked by impact: waterfalls, bundle size, server performance, data fetching and re-renders.
EAS Update (Expo)
Expo's skill that sets up and publishes over-the-air updates with EAS CLI, and debugs installed builds that still show old code after an update ships.
Datadog APM (Datadog)
Routes Datadog APM requests to sub-skills for Kubernetes and Linux single-step instrumentation, service remapping and Data Streams Monitoring.