StealIt

Vercel Optimize

vercel-optimize

Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps. Collect Vercel metrics, usage, project config, and code scan results first; investigate only metric-backed candidates; produce ranked recommendations grounded in verified files and version-aware Vercel/framework docs. Trigger for Vercel bill reduction, slow or expensive routes, caching opportunities, Function Invocations, Build Minutes, Fast Data Transfer, Core Web Vitals, Bot Management, Fluid compute, or cost breakdown requests.

Install

Run this in your project folder. It works with Claude Code, Cursor, Codex and dozens of other agents.

$ npx skills add vercel-labs/agent-skills --skill vercel-optimize

Needs Node.js. Add -g to install for every project, or -a claude-code to skip the agent picker.

How to use Vercel Optimize

Once it's installed, Claude reads this skill on its own whenever a request matches what it's for, so you don't have to mention it by name. In Claude Code you can also run it directly by typing /vercel-optimize.

It includes scripts that Claude may run on your computer, so skim them on GitHub before you install.

What the instructions cover

  1. 1Prerequisites
  2. 2Framework Support
  3. 3Run Directory
  4. 4Pipeline
  5. 5Recommendation Rules
  6. 6Scanner Rules
  7. 7Final Customer Terms
  8. 8Failure Copy

Section headings from the skill's SKILL.md file.

What's inside · 156 files

  • AGENTS.md
  • CONTRIBUTING.md
  • README.md
  • SKILL.md
  • lib/auth-route.mjs
  • lib/budget-summary.mjs
  • lib/citations.mjs
  • lib/cost-coverage.mjs
  • lib/dedup-recs.mjs
  • lib/deep-dive.mjs
  • lib/display-labels.mjs
  • lib/extract-claims.mjs
  • lib/framework-support.mjs
  • lib/gates/build-minutes-fanout.mjs
  • lib/gates/cold-start.mjs
  • lib/gates/contract.mjs
  • lib/gates/cwv-poor.mjs
  • lib/gates/external-api-slow.mjs
  • lib/gates/hard-gates.mjs
  • lib/gates/index.mjs
  • lib/gates/isr-overrevalidation.mjs
  • lib/gates/middleware-heavy.mjs
  • lib/gates/observability-events-attribution.mjs
  • lib/gates/platform-bot-protection.mjs
  • lib/gates/platform-fluid-compute.mjs
  • lib/gates/region-misconfig.mjs
  • lib/gates/route-errors.mjs
  • lib/gates/scanner-driven.mjs
  • lib/gates/select-candidates.mjs
  • lib/gates/slow-route.mjs
  • lib/gates/types.d.ts
  • lib/gates/uncached-route.mjs
  • lib/gates/usage-spike-triage.mjs
  • lib/grade-recommendation.mjs
  • lib/impact-label.mjs
  • lib/impact-magnitude.mjs
  • lib/investigation-brief.mjs
  • lib/observation-safety.mjs
  • lib/project-facts.mjs
  • lib/queries.mjs
  • + 116 more files on GitHub →

More from Vercel

See all →

Vercel React Best PracticesTop pick

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure…

FrontendVercel34k

Deploy To Vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a…

Cloud & DevOpsVercel34k

Vercel CLI With Tokens

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to…

Cloud & DevOpsVercel34k

Vercel Composition Patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers…

FrontendVercel34k
See all →

Connectivity Triage

Use this skill when debugging active macOS connectivity failures, when an API or MCP service times out or disconnects, when DNS resolution is failing or inconsistent, or when…

Cloud & DevOpsSeth Hobson42k

Cost Optimization

Optimize cloud costs across AWS, Azure, GCP, and OCI through resource rightsizing, tagging strategies, reserved instances, and spending analysis. Use when reducing cloud expenses…

Cloud & DevOpsSeth Hobson42k

Distributed Tracing

Implement distributed tracing with Jaeger and Tempo to track requests across microservices and identify performance bottlenecks. Use when debugging microservices, analyzing…

Cloud & DevOpsSeth Hobson42k

Github Actions Templates

Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications. Use when setting up CI/CD with GitHub Actions, automating development…

Cloud & DevOpsSeth Hobson42k