AI-powered migration away from Vercel. One command. Zero config.
Analyzes your Vercel project, builds a migration plan, and executes it after your approval. Works with Claude Code, Cursor, GitHub Copilot, Codex, Windsurf, and other AI coding agents.
- git — required for the safety checkpoint (rollback on failure)
- Node.js 18+ — required by most frameworks
- wrangler — required for Cloudflare deployments (
npm i -g wrangler) - curl or wget — required for the bash installer
# In your Vercel project directory:
curl -fsSL https://raw.githubusercontent.com/umarmuhandis/ditch-vercel/main/install.sh | bash
# Then open your AI coding agent and run the migrationclaude plugin marketplace add umarmuhandis/ditch-vercel
claude plugin install ditch-vercelcurl -fsSL https://raw.githubusercontent.com/umarmuhandis/ditch-vercel/main/install.sh | bashAutomatically detects installed agents, downloads skill files, and sets up adapters. Supports --dry-run and --uninstall.
Copy the skills/ditch-vercel/ directory to .agents/skills/ditch-vercel/ in your project root, and copy AGENTS.md to the project root. For agent-specific adapters, also copy the relevant file from adapters/.
Note: The
skillsnpm package is maintained by Vercel Labs. If you'd rather avoid that dependency, use any of the methods above.
npx skills add umarmuhandis/ditch-vercelAfter installing, open your AI coding agent in a Vercel project:
| Agent | How to invoke |
|---|---|
| Claude Code | /ditch-vercel |
| Cursor | Ask: "migrate this project from Vercel" |
| GitHub Copilot | Ask: "use the ditch-vercel skill to migrate" |
| Codex | Ask: "run the ditch-vercel migration" |
| Windsurf | Ask: "migrate from Vercel using ditch-vercel" |
The skill handles the rest — framework detection, compatibility analysis, migration planning, approval gate, and execution.
- Scan — Detects your framework, scans every
@vercel/*dependency and Vercel-specific feature, and asks you to pick a target platform - Report — Calculates a complexity score (GREEN / YELLOW / RED) showing estimated effort, automated items, attention items, and blockers
- Plan + Approve — Generates a concrete migration plan with exact file paths, package changes, and code modifications. Nothing changes until you approve
- Execute — Creates a git safety checkpoint, then installs packages, swaps adapters, rewrites configs, removes Vercel dependencies, and runs build + dev server verification
- Done — Prints a summary of all changes, remaining manual items, deploy commands, and undo instructions
| Framework | Config Detection |
|---|---|
| Next.js | next in deps, next.config.* |
| Astro | astro in deps, astro.config.* |
| Remix | @remix-run/* in deps |
| SvelteKit | @sveltejs/kit in deps, svelte.config.* |
| Nuxt | nuxt in deps, nuxt.config.* |
| Static | No framework deps detected |
| Target | Status |
|---|---|
| Cloudflare (Workers + Pages) | Available |
| VPS (Node.js + PM2 + Nginx) | Available |
| Railway | Planned |
| Fly.io | Planned |
Repo source layout:
install.sh # Zero-dependency bash installer
skills/ditch-vercel/ # Skill source files (repo layout)
SKILL.md, frameworks/, targets/
adapters/ # Agent-specific adapters
Installed layout (what the installer creates in your project):
AGENTS.md # Universal agent discovery (Linux Foundation standard)
adapters/
cursor.mdc # Cursor adapter
windsurf.md # Windsurf adapter
clinerules.md # Cline/Roo adapter
.agents/skills/ditch-vercel/
SKILL.md # Main orchestrator — the 5-phase migration flow
frameworks/ # Framework-specific migration knowledge
nextjs.md, astro.md, remix.md, sveltekit.md, nuxt.md, static.md
targets/ # Target platform knowledge
cloudflare.md, vps.md
Copy skills/ditch-vercel/frameworks/_template.md to skills/ditch-vercel/frameworks/<framework>.md and fill in each section. The template includes required sections, table formats, and inline comments explaining conventions.
Then add the framework to the detection table in SKILL.md Phase 1.
Copy skills/ditch-vercel/targets/_template.md to skills/ditch-vercel/targets/<target>.md and fill in each section. The template includes required sections, table formats, and inline comments explaining conventions.
Then add the target to SKILL.md Phase 1.