
Deploy To Vercel
Push a local web project to a claimable Vercel preview from the agent terminal with automatic framework detection.
Install
npx skills add https://github.com/vercel-labs/claude-skills --skill deploy-to-vercelWhat is this skill?
- Bash script posts to codex-deploy-skills.vercel.sh claimable deploy API
- Returns JSON: previewUrl, claimUrl, deploymentId, projectId
- Framework detection from package.json (Blitz, Next.js, Gatsby, Remix, React Router, TanStack Start, Astro, Hydrogen, and
- Usage: ./deploy-codex.sh [project-path] with set -euo pipefail safety
Adoption & trust: 111 installs on skills.sh; 27.7k GitHub stars; 3/3 security scanners passed (skills.sh audits).
Recommended Skills
Azure Kubernetesmicrosoft/azure-skills
Github Actions Docsxixu-me/skills
Deploy To Vercelvercel-labs/agent-skills
Vercel Cli With Tokensvercel-labs/agent-skills
Turborepovercel/turborepo
Docker Expertsickn33/antigravity-awesome-skills
Journey fit
Common Questions / FAQ
Is Deploy To Vercel safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Deploy To Vercel
#!/bin/bash # Vercel Deployment Script for Codex (via claimable deploy endpoint) # Usage: ./deploy-codex.sh [project-path] # Returns: JSON with previewUrl, claimUrl, deploymentId, projectId set -euo pipefail DEPLOY_ENDPOINT="https://codex-deploy-skills.vercel.sh/api/deploy" # Detect framework from package.json detect_framework() { local pkg_json="$1" if [ ! -f "$pkg_json" ]; then echo "null" return fi local content=$(cat "$pkg_json") # Helper to check if a package exists in dependencies or devDependencies. # Use exact matching by default, with a separate prefix matcher for scoped # package families like "@remix-run/". has_dep_exact() { echo "$content" | grep -q "\"$1\"" } has_dep_prefix() { echo "$content" | grep -q "\"$1" } # Order matters - check more specific frameworks first # Blitz if has_dep_exact "blitz"; then echo "blitzjs"; return; fi # Next.js if has_dep_exact "next"; then echo "nextjs"; return; fi # Gatsby if has_dep_exact "gatsby"; then echo "gatsby"; return; fi # Remix if has_dep_prefix "@remix-run/"; then echo "remix"; return; fi # React Router (v7 framework mode) if has_dep_prefix "@react-router/"; then echo "react-router"; return; fi # TanStack Start if has_dep_exact "@tanstack/start"; then echo "tanstack-start"; return; fi # Astro if has_dep_exact "astro"; then echo "astro"; return; fi # Hydrogen (Shopify) if has_dep_exact "@shopify/hydrogen"; then echo "hydrogen"; return; fi # SvelteKit if has_dep_exact "@sveltejs/kit"; then echo "sveltekit-1"; return; fi # Svelte (standalone) if has_dep_exact "svelte"; then echo "svelte"; return; fi # Nuxt if has_dep_exact "nuxt"; then echo "nuxtjs"; return; fi # Vue with Vitepress if has_dep_exact "vitepress"; then echo "vitepress"; return; fi # Vue with Vuepress if has_dep_exact "vuepress"; then echo "vuepress"; return; fi # Gridsome if has_dep_exact "gridsome"; then echo "gridsome"; return; fi # SolidStart if has_dep_exact "@solidjs/start"; then echo "solidstart-1"; return; fi # Docusaurus if has_dep_exact "@docusaurus/core"; then echo "docusaurus-2"; return; fi # RedwoodJS if has_dep_prefix "@redwoodjs/"; then echo "redwoodjs"; return; fi # Hexo if has_dep_exact "hexo"; then echo "hexo"; return; fi # Eleventy if has_dep_exact "@11ty/eleventy"; then echo "eleventy"; return; fi # Angular / Ionic Angular if has_dep_exact "@ionic/angular"; then echo "ionic-angular"; return; fi if has_dep_exact "@angular/core"; then echo "angular"; return; fi # Ionic React if has_dep_exact "@ionic/react"; then echo "ionic-react"; return; fi # Create React App if has_dep_exact "react-scripts"; then echo "create-react-app"; return; fi # Ember if has_dep_exact "ember-cli" || has_dep_exact "ember-source"; then echo "ember"; return; fi # Dojo if has_dep_exact "@dojo/framework"; then echo "dojo"; return; fi # Polymer if has_dep_prefix "@polymer/"; then echo "polymer"; return; fi # Preact if has_dep_exact "preact"; then echo "preact"; return; fi # Stencil if has_dep_exact "@stencil/core"; then echo "stencil"; return; fi # UmiJS if has_dep_exact "umi"; then echo "umijs"; return; fi # Sapper (legacy Svelte) if has_dep_exact "sapper"; then echo "sapper"; return; fi # Saber if has_dep_exact "saber"; then echo "saber"; return; fi # Sanity if has_dep_exact "sanity"; then echo "sanity-v3"; return; fi if has_dep_prefix "@sanity/"; then echo "sanity"; return; fi # Storybook if has_dep_prefix "@storybook/"; then echo "storybook"; return; fi # NestJS if has_dep_exact "@nestjs/core"; then echo "nestjs"; return; fi # Elysia if has_dep_exact "elysia"; then echo "elysia"; return; fi # Hono if has_dep_exact "ho