$npx -y skills add MagicCube/agentara --skill vercel-deploy-claimableDeploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as "Deploy my app", "Deploy this to production", "Create a preview deployment", "Deploy and give me the link", or "Push this live". No authentication required - returns previ
| 1 | # Vercel Deploy |
| 2 | |
| 3 | Deploy any project to Vercel instantly. No authentication required. |
| 4 | |
| 5 | ## How It Works |
| 6 | |
| 7 | 1. Packages your project into a tarball (excludes `node_modules` and `.git`) |
| 8 | 2. Auto-detects framework from `package.json` |
| 9 | 3. Uploads to deployment service |
| 10 | 4. Returns **Preview URL** (live site) and **Claim URL** (transfer to your Vercel account) |
| 11 | |
| 12 | ## Usage |
| 13 | |
| 14 | ```bash |
| 15 | bash /mnt/skills/user/vercel-deploy/scripts/deploy.sh [path] |
| 16 | ``` |
| 17 | |
| 18 | **Arguments:** |
| 19 | - `path` - Directory to deploy, or a `.tgz` file (defaults to current directory) |
| 20 | |
| 21 | **Examples:** |
| 22 | |
| 23 | ```bash |
| 24 | # Deploy current directory |
| 25 | bash /mnt/skills/user/vercel-deploy/scripts/deploy.sh |
| 26 | |
| 27 | # Deploy specific project |
| 28 | bash /mnt/skills/user/vercel-deploy/scripts/deploy.sh /path/to/project |
| 29 | |
| 30 | # Deploy existing tarball |
| 31 | bash /mnt/skills/user/vercel-deploy/scripts/deploy.sh /path/to/project.tgz |
| 32 | ``` |
| 33 | |
| 34 | ## Output |
| 35 | |
| 36 | ``` |
| 37 | Preparing deployment... |
| 38 | Detected framework: nextjs |
| 39 | Creating deployment package... |
| 40 | Deploying... |
| 41 | ✓ Deployment successful! |
| 42 | |
| 43 | Preview URL: https://skill-deploy-abc123.vercel.app |
| 44 | Claim URL: https://vercel.com/claim-deployment?code=... |
| 45 | ``` |
| 46 | |
| 47 | The script also outputs JSON to stdout for programmatic use: |
| 48 | |
| 49 | ```json |
| 50 | { |
| 51 | "previewUrl": "https://skill-deploy-abc123.vercel.app", |
| 52 | "claimUrl": "https://vercel.com/claim-deployment?code=...", |
| 53 | "deploymentId": "dpl_...", |
| 54 | "projectId": "prj_..." |
| 55 | } |
| 56 | ``` |
| 57 | |
| 58 | ## Framework Detection |
| 59 | |
| 60 | The script auto-detects frameworks from `package.json`. Supported frameworks include: |
| 61 | |
| 62 | - **React**: Next.js, Gatsby, Create React App, Remix, React Router |
| 63 | - **Vue**: Nuxt, Vitepress, Vuepress, Gridsome |
| 64 | - **Svelte**: SvelteKit, Svelte, Sapper |
| 65 | - **Other Frontend**: Astro, Solid Start, Angular, Ember, Preact, Docusaurus |
| 66 | - **Backend**: Express, Hono, Fastify, NestJS, Elysia, h3, Nitro |
| 67 | - **Build Tools**: Vite, Parcel |
| 68 | - **And more**: Blitz, Hydrogen, RedwoodJS, Storybook, Sanity, etc. |
| 69 | |
| 70 | For static HTML projects (no `package.json`), framework is set to `null`. |
| 71 | |
| 72 | ## Static HTML Projects |
| 73 | |
| 74 | For projects without a `package.json`: |
| 75 | - If there's a single `.html` file not named `index.html`, it gets renamed automatically |
| 76 | - This ensures the page is served at the root URL (`/`) |
| 77 | |
| 78 | ## Present Results to User |
| 79 | |
| 80 | Always show both URLs: |
| 81 | |
| 82 | ``` |
| 83 | ✓ Deployment successful! |
| 84 | |
| 85 | - [Preview URL](https://skill-deploy-abc123.vercel.app) |
| 86 | - [Claim URL](https://vercel.com/claim-deployment?code=...) |
| 87 | |
| 88 | View your site at the Preview URL. |
| 89 | To transfer this deployment to your Vercel account, visit the Claim URL. |
| 90 | ``` |
| 91 | |
| 92 | ## Troubleshooting |
| 93 | |
| 94 | ### Network Egress Error |
| 95 | |
| 96 | If deployment fails due to network restrictions (common on claude.ai), tell the user: |
| 97 | |
| 98 | ``` |
| 99 | Deployment failed due to network restrictions. To fix this: |
| 100 | |
| 101 | 1. Go to https://claude.ai/settings/capabilities |
| 102 | 2. Add *.vercel.com to the allowed domains |
| 103 | 3. Try deploying again |
| 104 | ``` |