turbo-start-sanity / vercel-optimize
AGENTS.md185 starsChanged 2 months agoMITView on GitHub
Cross-agent entry point for the Vercel Optimize skill. The full procedure is in 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. The hard rules are in references/doctrine.md: observability first, deterministic gates, candidate-bound scope,…
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
Use this skill when the user asks to optimize a Vercel project, reduce a Vercel bill, investigate slow or expensive routes, find caching …
- Distinctive: line 7
Do not use it for projects that are not deployed on Vercel, greenfield projects with no traffic, or general code review.
- Distinctive: line 23
Verify recommendations mechanically before rendering the report.
≈ “Common” is an estimate: at least 1 in 5 of the 36,368 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
vercel-optimize
Cross-agent entry point for the Vercel Optimize skill. The full procedure is in 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,vercel contract, andvercel apisupport; v53+ is this skill's compatibility floor - Authenticated Vercel CLI session
- Linked Vercel project directory (
vercel link) for route metrics.VERCEL_PROJECT_IDcan help resolve project config, but it does not replace directory linkage forvercel metrics. The project must resolve to a CLI-safe team or personal scope sovercel metrics,vercel usage, andvercel contractall run against the same account. - Observability Plus for per-route metric analysis
Procedure
- Read SKILL.md.
- Collect Vercel signals before reading source files.
- Gate candidates with deterministic scripts.
- Investigate only files named by launched candidates.
- Verify recommendations mechanically before rendering the report.
The hard rules are in references/doctrine.md: observability first, deterministic gates, candidate-bound scope, and version-aware citations.
Install
Preferred:
npx skills add vercel-labs/agent-skills --skill vercel-optimizeManual project install:
mkdir -p .agents/skills
cp -R <agent-skills-repo>/skills/vercel-optimize .agents/skills/Then add this to the project AGENTS.md:
When optimizing Vercel cost or performance, follow
`.agents/skills/vercel-optimize/SKILL.md` before proposing changes.
Collect Vercel metrics before reading source files.Trending
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Other versions18 projects use a version of this.
Word for word · 18
- vercel-labs/agent-skills★ 33k100% same
- PracticalSwan/agent-skills★ 22100% same
- NiazMorshed2007/jcr★ 19100% same
- ayeshakhalid13/LoopEngineering-CrashCourse★ 16100% same
- ayeshakhalid192007-dev/LoopEngineering-CrashCourse★ 15100% same
- transitive-bullshit/skills★ 5100% same
- anis-dr/skills★ 3100% same
- nomdedev/agent-manager-template★ 2100% same
- AymanShams/codex-coding-os★ 1100% same
- ElyzeSolutions/skills★ 1100% same
8 more not listed
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 28,693 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository27 other files it gives its agents.
- .agents/skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- .agents/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- .agents/skills/vercel-react-view-transitions/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/frontend-rules.mdcCursor rule
- .cursor/rules/sanity-rules.mdcCursor rule
- .cursor/rules/ultracite.mdcCursor rule
- .cursor/rules/ultracite-migration.mdcCursor rule
- new-blockSkill
- next-best-practicesSkill
- next-cache-componentsSkill
- next-upgradeSkill
- vercel-cli-with-tokensSkill
- vercel-composition-patternsSkill
- vercel-optimizeSkill
- vercel-react-best-practicesSkill
- vercel-react-view-transitionsSkill
- web-design-guidelinesSkill
- writing-guidelinesSkill
- content-experimentation-best-practicesSkill
- content-modeling-best-practicesSkill
- generate-thumbnails-agenticSkill
- portable-text-conversionSkill
- portable-text-serializationSkill
- sanity-best-practicesSkill
- sanity-live-cache-componentsSkill
- seo-aeo-best-practicesSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

