AGENTS.md@skills/vercel-optimize · git:20260519.0527950 · 2026-05-19 · sha256 a1868f81543a9394
AGENTS.md@skills/vercel-optimize git:20260519.0527950A
Immutable. This exact content is served forever at /api/v1/blob/a1868f81543a9394.
# vercel-optimize Cross-agent entry point for the Vercel Optimize skill. The full procedure is in [SKILL.md](./SKILL.md). Use this skill when the user asks to optimize a Vercel project, reduce a Vercel bill, investigate slow or expensive routes, find caching opportunities, reduce function invocations, or produce a Vercel cost/performance report. Do not use it for projects that are not deployed on Vercel, greenfield projects with no traffic, or general code review. ## Requirements - Node.js 20+ - Vercel CLI with `vercel metrics`, `vercel usage`, and `vercel contract` support; v53+ is this skill's compatibility floor - Authenticated Vercel CLI session - Linked Vercel project, or `VERCEL_PROJECT_ID` - Observability Plus for per-route metric analysis ## Procedure 1. Read [SKILL.md](./SKILL.md). 2. Collect Vercel signals before reading source files. 3. Gate candidates with deterministic scripts. 4. Investigate only files named by launched candidates. 5. Verify recommendations mechanically before rendering the report. The hard rules are in [references/doctrine.md](./references/doctrine.md): observability first, deterministic gates, candidate-bound scope, and version-aware citations. ## Install Preferred: ```bash npx skills add vercel-labs/agent-skills --skill vercel-optimize ``` Manual project install: ```bash mkdir -p .agents/skills cp -R <agent-skills-repo>/skills/vercel-optimize .agents/skills/ ``` Then add this to the project `AGENTS.md`: ```md When optimizing Vercel cost or performance, follow `.agents/skills/vercel-optimize/SKILL.md` before proposing changes. Collect Vercel metrics before reading source files. ```