vercel-labs avatar

Vercel Optimize

This is a metrics-first auditor for Vercel bills and slow routes. It pulls real production data from Vercel's Observability Plus API, gates what to investigate using actual invocation counts and P95 latency, then scans only the code files that correspond to expensive or slow candidates. The pipeline is rigid by design: no guessing at optimizations until signals.json exists, no repo-wide grep, and every recommendation must cite version-aware framework docs from a frozen library. It handles Next.js App and Pages Router best, supports SvelteKit and Nuxt with weaker route mapping, and blocks or warns on unsupported frameworks. You'll want CLI v53+, a linked project directory, and Observability Plus enabled to get route-level recommendations instead of a code-only fallback audit.

skills.sh installs
126K
GitHub stars
33.8K
last updated
Aug 21, 2026

Install

$ npx -y skills add vercel-labs/agent-skills --skill vercel-optimize --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/vercel-labs/agent-skills
Categories
Frontend Development, DevOps & CI/CD, Documentation, AI & Agent Building, Release Management, Debugging, Cloud & Infrastructure
First seen
Jun 11, 2026

More from vercel-labs/agent-skills

All 14
1emilkowalski avatarmobile-nativeemilkowalski/skillsMake a web app feel native on a phone — the small CSS and meta-tag fixes that separate "a website in a browser" from something that feels installed. Covers stic121.1Kskills.sh installs
2cloudflare avataragents-sdkcloudflare/skillsBuild AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MC118.9Kskills.sh installs
3anthropics avatarweb-artifacts-builderanthropics/skillsSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for117.8Kskills.sh installs
4currents-dev avatarplaywright-best-practicescurrents-dev/playwright-best-practices-skillUse when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking AP104.5Kskills.sh installs
5greensock avatargsap-coregreensock/gsap-skillsOfficial GSAP skill for the core API — gsap.to(), from(), fromTo(), easing, duration, stagger, defaults, gsap.matchMedia() (responsive, prefers-reduced-motion).85.7Kskills.sh installs
6emilkowalski avataranimation-performanceemilkowalski/skillsKeep web animations inside the frame budget — animate composite-only properties, keep motion off the main thread when the page is busy, and find the cause when 72.2Kskills.sh installs