Labsco
vercel-labs logo

vercel-deploy

3

by vercel · part of vercel-labs/vercel-deploy-codex-skill

Deploy applications and websites to Vercel with a claimable preview. Use when the user requests deployment actions like "deploy my app", "deploy and give me…

🔥🔥🔥✓ VerifiedFreeQuick setup

This is the playbook your agent receives when the skill activates — you don't need to read it to use the skill, but it's here to audit before installing.

by vercel

Deploy applications and websites to Vercel with a claimable preview. Use when the user requests deployment actions like "deploy my app", "deploy and give me… npx skills add https://github.com/vercel-labs/vercel-deploy-codex-skill --skill vercel-deploy Download ZIPGitHub3

How It Works

  • Packages your project into a .tar.gz (excludes node_modules and .git)

  • Auto-detects framework from package.json

  • Uploads to deployment service

  • Returns Preview URL (live site) and Claim URL (transfer to your Vercel account)

Packaging Rules

  • Exclude node_modules and .git

  • If no package.json, keep framework as null

  • For static HTML with a single .html file, rename it to index.html before packaging

Output

Preparing deployment...
Creating deployment package...
Deploying...
✓ Deployment successful!

Preview URL: https://skill-deploy-abc123.vercel.app
Claim URL: https://vercel.com/claim-deployment?code=...

The script also outputs JSON to stdout for programmatic use.

{
 "previewUrl": "https://skill-deploy-abc123.vercel.app",
 "claimUrl": "https://vercel.com/claim-deployment?code=...",
 "deploymentId": "dpl_...",
 "projectId": "prj_..."
}

Framework Detection

The script auto-detects frameworks from package.json. Supported frameworks include:

  • React: Next.js, Gatsby, Create React App, Remix, React Router

  • Vue: Nuxt, Vitepress, Vuepress, Gridsome

  • Svelte: SvelteKit, Svelte, Sapper

  • Other Frontend: Astro, Solid Start, Angular, Ember, Preact, Docusaurus

  • Backend: Express, Hono, Fastify, NestJS, Elysia, h3, Nitro

  • Build Tools: Vite, Parcel

  • And more: Blitz, Hydrogen, RedwoodJS, Storybook, Sanity, etc.

For static HTML projects (no package.json), framework is set to null.

Static HTML Projects

For projects without a package.json:

  • If there's a single .html file not named index.html, it gets renamed automatically

  • This ensures the page is served at the root URL (/)

Present Results to User

Always show both URLs:

✓ Deployment successful!

Preview URL: https://skill-deploy-abc123.vercel.app
Claim URL: https://vercel.com/claim-deployment?code=...

View your site at the Preview URL.
To transfer this deployment to your Vercel account, visit the Claim URL.