Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Audits deployed Vercel apps for cost and performance issues using metrics, project config, code scans, and version-aware recommendations.
45% 73%+27 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 10 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
The four non-negotiable rules that shape every action this skill takes. If a future change conflicts with one of these, the change is wrong.
Collect platform signals first. The deterministic scanner necessarily reads repository text to build the merged signals.json; candidate-bound manual investigation follows gating. Framework/config preflight and traffic-independent checks are explicit exceptions.
Why this fails when skipped: without metrics, the skill defaults to "grep the repo for known anti-patterns and complain." That produces noisy, low-impact recs that aren't tied to traffic, cost, or user pain. Metrics-first investigation keeps the skill focused on observed traffic, cost, and reliability signals.
When plan === 'enterprise', the gate run must surface these four checks before code-level recommendations. Field engineers confirm these are the highest-leverage account-level levers across every renewal audit:
signals.observabilityPlus. If false, the whole audit degrades; surface as a top-of-report item.signals.project.security. BotID + managed rules absent on a project with bot evidence is the most common cost spike.metrics.isrReadsByRoute + metrics.isrWritesByRoute. Include CDN-tier reads (see data-collection.md) before flagging "writes > reads."These checks anchor the Enterprise-tier report's opening narrative; code-level recs follow.
node scripts/gate-investigations.mjs is a pure-JS, LLM-free function. It reads signals.json and outputs {toLaunch, platform, gated}. Same input always produces byte-identical output (modulo appliedAt).
Every kind of candidate (uncached route, slow route, errors, cold starts, scanner findings, platform-level recs) has its threshold expression encoded as a gate(signals) → Candidate[] function in lib/gates/<kind>.mjs.
Failed gates surface in the final report, under "Not investigated in this run," with the exact reason they were held back. This is the user-facing trust mechanism: you see what we considered and chose to skip, and the reason.
Why this matters: the agent never decides "should I look at this route?" via LLM judgment. The threshold is mechanical. This eliminates the entire failure mode where the agent investigates routes it shouldn't (cold-path) and recommends fixes for routes that don't need them.
When the gate emits a candidate with files: ['src/app/api/products/route.ts'], the agent reads ONLY that file (and its imports as the chain unfolds). It does NOT grep -r across the repo.
If you find yourself wanting to grep the whole codebase, stop and re-read the current candidate's question field. If the question doesn't constrain the search, the candidate is malformed — log it as gated and skip. Do NOT compensate with a wider search.
Why this matters: the agent's job is to verify and explain the metric anomaly the gate found, not to do a general code review. Wandering investigations produce drift, hallucination, and recommendations untied to the cost and performance data.
Published skills whose descriptions closely match this one, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.