Deploy to Vercel, Vercel Labs
Deploys a project to Vercel as a preview, choosing git push, CLI deploy, linking first or a temporary deploy without an account by the project's state, and returns the URL. Use when asked to deploy an app and get a link.
deploy-to-vercel- Author
- Vercel
- Source
- vercel-labs/agent-skills/skills/deploy-to-vercel @ 1a2c79d
- License
- none stated
About this skill
What it does
The skill deploys a project to Vercel and returns the URL. Its rule is a preview unless you explicitly ask for production, but on the push route Vercel deploys the production branch (usually main) to production. It aims to leave the project linked, deploying on every git push.
First come four checks: a git remote, .vercel/project.json or .vercel/repo.json, vercel whoami, vercel teams list. With several teams the agent asks once and passes --scope from then on. The route follows from the state:
- Linked with a remote: it asks before pushing, commits with
git add ., pushes, and finds the preview URL withvercel ls. - Linked, no remote:
vercel deploy -y --no-wait, thenvercel inspect. - Not linked, logged in:
vercel link --repowhen a remote exists (it matches by remote, not folder name), then deploy. - Not linked, not logged in:
npm install -g vercelif the CLI is missing,vercel loginin the browser, link, deploy. - No login possible, as in a sandbox:
npx vercel@latest deploy --temporary -ywithout an account, which prints a temporary production URL, a claim URL and the expiry (not in CI or a linked folder).
It never probes an unlinked folder with vercel link or vercel ls, which can link it silently, and never fetches the deployed URL. The skill is one SKILL.md.
When to use it, and when not
Use it for "deploy this and give me a link": a preview to share or a project's first deploy.
The push route stages everything with git add ., so check the working tree and which branch you are on first. After you pick a team, the agent links the folder and creates a Vercel project without asking again.
How to run it
We do not copy this skill: it names no licence and the repository ships no licence text. Install it from Vercel's repository with the button to the source; the README's installer is npx skills add vercel-labs/agent-skills, and --skill deploy-to-vercel takes only this one.
- Claude Code:
/deploy-to-vercel, or ask for the skill by name. - Codex:
$deploy-to-vercel. - Cursor: type
/in the Agent chat and pickdeploy-to-vercel.
Example: /deploy-to-vercel Deploy this branch as a preview and give me the link.
How it differs from similar skills
OpenAI's Deploy to Vercel has a word-for-word identical description and a shorter flow: vercel deploy -y, or without a login a bundled deploy.sh that uploads a tarball. Both can be installed, but the agent cannot tell them apart; keep one. Vercel CLI with tokens works from an access token and also manages env vars and domains. Deploy to Netlify, Deploy to Render and Web frameworks on Cloudflare Workers target other hosts.
Install
This skill is not copied to the catalog: the author's repository has no licence text. Install it from there.
Connect through AnyModel API
This skill runs on whatever model your agent uses. Point Claude Code, Codex or Cursor at AnyModel to run it on Claude, GPT, Gemini and more with one key — pay per token, no subscription.
AnyModel