Skip to content
Menu

Vercel Plugin for AI Coding Agents

The Vercel plugin gives supported AI coding tools Vercel-specific context, skills, agents, and slash commands. The default installation keeps automation lightweight and activates session-start context only in empty directories and detected Vercel or Next.js projects.

npx plugins add vercel/vercel-plugin

The plugin installs Vercel context, skills, and a lightweight default hook profile.

After installation, session context is injected automatically only for empty directories and detected Vercel or Next.js projects. You can invoke skills and commands directly when you want targeted guidance:

/vercel-plugin:nextjs
/vercel-plugin:ai-sdk
/vercel-plugin:deploy prod
ComponentDescription
Ecosystem graphA relational knowledge graph covering every Vercel product, library, CLI, API, and service, with decision matrices and cross-product workflows
25 skillsDeep-dive guidance for specific Vercel products, libraries, and workflows
3 specialist agentsPurpose-built agents for deployment, performance optimization, and AI architecture
5 slash commandsQuick actions for deploying, managing environment variables, bootstrapping projects, and more
ToolStatus
Claude CodeSupported
CursorSupported
OpenAI CodexComing soon

After installation, the plugin keeps automatic behavior lightweight. Session-start activation runs only in empty directories and detected Vercel or Next.js projects, and Vercel skills are not auto-injected on every prompt or every tool call by default.

The skills remain available on demand, and the plugin includes the injection engine for targeted or future opt-in workflows.

  • Session start context injection: Injects a thin Vercel session context plus knowledge-update guidance for empty directories and detected Vercel or Next.js projects
  • Session start repo profiler: Scans config files and dependencies to set likely-skill hints after the same activation check passes

The plugin includes 25 skills covering the Vercel ecosystem:

SkillCovers
ai-gatewayUnified model API, provider routing, failover, cost tracking, 100+ models
ai-sdkAI SDK v6, including text and object generation, streaming, tool calling, agents, MCP, and embeddings
authAuthentication integrations for Clerk, Descope, and Auth0 with Marketplace provisioning
bootstrapProject bootstrapping, including linking, environment provisioning, database setup, and first-run tasks
chat-sdkMulti-platform chat bots for Slack, Telegram, Teams, Discord, Google Chat, GitHub, and Linear
deployments-cicdDeployment and CI/CD workflows, including deploy, promote, rollback, --prebuilt, and CI files
env-varsEnvironment variable management, including .env files, vercel env, and OIDC tokens
knowledge-updateKnowledge update guidance for the plugin
marketplaceIntegration discovery and installation with vercel install, auto-provisioned environment variables, and unified billing
next-cache-componentsNext.js 16 Cache Components, including PPR, use cache, cacheLife, cacheTag, and updateTag
next-forgeThe production SaaS monorepo starter with Turborepo, Clerk, Prisma or Neon, Stripe, and shadcn/ui
next-upgradeNext.js upgrades, codemods, migration guides, and dependency updates
nextjsApp Router, Server Components, Server Actions, Cache Components, routing, and rendering strategies
react-best-practicesReact and Next.js performance guidance across component, data, and rendering patterns
routing-middlewareRequest interception before cache, rewrites, redirects, and personalization for Edge, Node.js, and Bun
runtime-cacheEphemeral per-region key-value cache with tag-based invalidation across Vercel Functions, Routing Middleware, and Builds
shadcnshadcn/ui CLI usage, component installation, custom registries, theming, and Tailwind CSS integration
turbopackThe Next.js bundler, including configuration, HMR, and Turbopack versus Webpack guidance
vercel-agentAI-powered code review, incident investigation, SDK installation, and pull request analysis
vercel-cliVercel CLI commands for deploy, env, dev, domains, cache management, MCP integration, and Marketplace provisioning with vercel install
vercel-functionsVercel Functions, including Serverless, Edge, Fluid Compute, streaming, and Cron Jobs
vercel-sandboxEphemeral Firecracker microVMs for running untrusted or AI-generated code safely
vercel-storageBlob, Edge Config, Neon Postgres, Upstash Redis, one-command Marketplace provisioning with vercel install, and migration from sunset packages
verificationEnd-to-end verification across browser, API, data, and response flows
workflowWorkflow SDK, including durable execution, DurableAgent, steps, Worlds, and pause or resume flows

The plugin includes three specialist agents:

AgentExpertise
deployment-expertCI/CD pipelines, deploy strategies, troubleshooting, environment variables
performance-optimizerCore Web Vitals, rendering strategies, caching, asset optimization
ai-architectAI application design, model selection, streaming architecture, MCP integration

Use slash commands directly in your AI coding tool:

CommandPurpose
/vercel-plugin:bootstrapBootstrap a project with linking, env provisioning, and db setup
/vercel-plugin:deployDeploy to Vercel (preview or production)
/vercel-plugin:envManage environment variables (list, pull, add, remove, diff)
/vercel-plugin:statusView project status, recent deployments, and environment overview
/vercel-plugin:marketplaceDiscover and install Vercel Marketplace integrations

To deploy to production, pass prod as an argument:

/vercel-plugin:deploy prod

Prompt text and bash and tool-call telemetry are not collected.

Telemetry behavior:

  • If VERCEL_PLUGIN_TELEMETRY is unset, the plugin sends a once-per-day dau:active_today event
  • VERCEL_PLUGIN_TELEMETRY=off disables all telemetry, including the daily active event

To disable telemetry in shells that launch your AI coding tool:

export VERCEL_PLUGIN_TELEMETRY=off
setx VERCEL_PLUGIN_TELEMETRY off

If the plugin is not behaving as expected, enable debug logging with VERCEL_PLUGIN_LOG_LEVEL:

export VERCEL_PLUGIN_LOG_LEVEL=debug

Available log levels:

LevelDescription
offNo logging (default)
summaryHigh-level injection summaries
debugDetailed matching and dedup information
traceFull pipeline traces with timing breakdowns

You can also run the built-in doctor command:

npx vercel-plugin doctor

The doctor command validates manifest parity, checks hook timeout risk, verifies dedup health, and reports skill map issues.

If a skill gives incorrect advice or injection does not fire when expected, file an issue on GitHub. Include:

  • What you were building
  • What the plugin injected, or did not inject. Enable debug logs with VERCEL_PLUGIN_LOG_LEVEL=debug
  • What was wrong about it

Was this helpful?