deploy-to-vercel

Deploy projects to Vercel via CLI, git push, or claimable no-auth endpoints.

Updated Aug 26, 2026
One-click install
npx skills add https://github.com/MohamadJoumaa/Direct --skill deploy-to-vercel-mohamadjoumaa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy-to-vercel
Source: https://github.com/MohamadJoumaa/Direct/tree/main/.cursor/skills/deploy-to-vercel
Command: npx skills add https://github.com/MohamadJoumaa/Direct --skill deploy-to-vercel-mohamadjoumaa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Getting a local project live on Vercel involves several decisions: whether the project is linked, whether a git remote exists, and whether the Vercel CLI is authenticated. This Skill inspects the project state and picks the correct deployment path automatically, including fallback options for sandboxed environments without credentials. ## Core Features & Use Cases - State-aware deployment routing: Checks git remotes, .vercel/project.json or .vercel/repo.json linkage, and CLI authentication before choosing between git push, vercel deploy, or a no-auth script. - Team and scope handling: Lists available Vercel teams and passes the selected team slug via --scope on all CLI commands. - No-auth fallback scripts: Ships deploy.sh and deploy-codex.sh that detect the framework from package.json, package the project excluding node_modules and .env, upload it to a claimable deploy endpoint, and poll until the build completes. - Use Case: You have a Next.js app in a sandboxed environment with no Vercel credentials. The Skill runs the fallback script, which detects Next.js, uploads a tarball, and returns a preview URL plus a claim URL to transfer the deployment to your account. ## Quick Start Deploy my current project to Vercel and give me the preview link.

Frequently Asked Questions about deploy-to-vercel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy my app to Vercel from the command line?

Run `vercel deploy [path] -y --no-wait` if the project is linked, or `vercel link` first if it is not. If a git remote exists and the project is linked, committing and pushing triggers an automatic deployment instead.

How do I deploy to Vercel without logging in?

Use the included deploy.sh or deploy-codex.sh fallback scripts, which upload the project to a claimable deploy endpoint without authentication. They return a preview URL for the live site and a claim URL to transfer the deployment to your Vercel account.

Does the Vercel CLI deploy work in a sandboxed environment?

Sandboxed environments like claude.ai or Codex often block `vercel login` and network calls. In those cases the Skill falls back to the no-auth deploy scripts, and on Codex the deploy command may need escalated network permissions.

How does Vercel detect which framework my project uses?

The fallback scripts parse package.json and match dependencies in priority order, detecting frameworks such as Next.js, Gatsby, Remix, Astro, SvelteKit, Nuxt, and Express. Static HTML projects without package.json are deployed as-is, with a single HTML file renamed to index.html.

Why does my Vercel deployment fail with network errors?

Network failures usually come from sandbox egress restrictions. On claude.ai, add *.vercel.com to allowed domains in capability settings; on Codex, rerun the deploy command with escalated sandbox permissions.