DevOps & CloudOfficial · vercel-labs

Vercel Optimize skill for Claude

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.

Vercel Optimize SKILL.md

A preview of the skill file from vercel-labs/agent-skills.

Vercel Optimize

Run an observability-first Vercel optimization audit. Do not inspect source files until signals.json exists and a deterministic gate points to a route, file, or project setting.

Core doctrine: read references/doctrine.md if any rule is unclear.

  • Metrics first. Recommendations start from Vercel production signals, not repo-wide grep.
  • Deterministic gates. scripts/gate-investigations.mjs decides what deserves investigation.
  • Candidate-bound scope. Read only files named by a candidate or a route-local import chain.
  • Version-aware citations. Use only references/docs-library.json; invalid or version-mismatched citations are stripped.
  • Customer copy. Read references/voice.md before writing report text or chat output.

Prerequisites

  • Vercel CLI v53+ with vercel metrics, vercel usage, vercel contract, and vercel api.
  • Authenticated CLI session: vercel login.
  • Linked app directory: vercel link. VERCEL_PROJECT_ID can help resolve project config, but vercel metrics still requires directory linkage. The link or environment must include the intended project org/team/user scope so the collector can resolve a CLI-safe --scope and keep vercel metrics, vercel usage, and vercel contract on the same account.
  • Node.js 20+.
  • Observability Plus for route-level metric-backed recommendations.

Never put auth tokens in shell commands. Do not type VERCEL_TOKEN=..., --token ..., or Authorization: Bearer ... into commands that may be echoed in chat.

Framework Support

The preflight reads package.json and sets expectations before metric fan-out.

Read the full SKILL.md on GitHub →

How to install Vercel Optimize

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit vercel-labs/agent-skills/skills/vercel-optimize#main ~/.claude/skills/vercel-optimize

Codex

npx degit vercel-labs/agent-skills/skills/vercel-optimize#main ~/.codex/skills/vercel-optimize

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Vercel Optimize skill do?

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.

+How do I install Vercel Optimize in Claude Code?

Copy the skill folder into ~/.claude/skills/vercel-optimize, for example with "npx degit vercel-labs/agent-skills/skills/vercel-optimize#main ~/.claude/skills/vercel-optimize". Claude Code loads it automatically and uses it when a task matches.

+Does Vercel Optimize work with ChatGPT or Codex?

Yes. Vercel Optimize uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/vercel-optimize. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Vercel Optimize free?

Vercel Optimize is published on GitHub by vercel-labs. The repository does not declare a license, so check with the author before reusing it.

Related devops & cloud skills

  1. Supabase

    Official

    Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron,…

    supabase/agent-skills★ 3.1k
  2. Senior Architect

    System architecture decisions with a written rationale: monolith vs microservices, database choice, scaling limits, ADRs, Mermaid diagrams.

    alirezarezvani/claude-skills★ 30k
  3. Vercel Deploy

    Official

    Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the…

    openai/skills★ 29k
  4. Agent Decision Receipts

    Use when an autonomous agent takes a side-effecting action (deploy, delete, pay, grant access) that may need proving later, or for EU AI…

    alirezarezvani/claude-skills★ 30k
  5. Aws Solution Architect

    Use when designing or costing an AWS architecture (serverless, Lambda, API Gateway, DynamoDB, ECS, Aurora, CloudFormation, migration to…

    alirezarezvani/claude-skills★ 30k
  6. Azure Cloud Architect

    Use when designing or costing an Azure architecture (AKS, App Service, Functions, Cosmos DB, Bicep or ARM, Azure DevOps, migration to…

    alirezarezvani/claude-skills★ 30k
  7. Ci Cd Pipeline Builder

    Generate a CI/CD workflow for a repo from its detected stack: lint, test, build, deploy.

    alirezarezvani/claude-skills★ 30k
  8. Cloud Finops

    Use for any cloud cost question on AWS, Azure or Google Cloud - a bill that jumped or one service that spiked (NAT gateway, egress,…

    alirezarezvani/claude-skills★ 30k
  9. Cloud Security

    Use when checking AWS, Azure or GCP for security misconfigurations: IAM privilege escalation, public buckets, open security groups, IaC…

    alirezarezvani/claude-skills★ 30k

See all devops & cloud skills →

More skills from vercel-labs

  1. Vercel React Native Skills

    Official

    React Native and Expo best practices for building performant mobile apps.

    vercel-labs/agent-skills★ 34k
  2. Vercel React View Transitions

    Official

    Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component,…

    vercel-labs/agent-skills★ 34k
  3. Writing Guidelines

    Official

    Review docs/prose for Writing Guidelines compliance. Use when asked to "review my docs", "check writing style", "audit prose", "review docs…

    vercel-labs/agent-skills★ 34k

All skills by vercel-labs →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.