Next.js is a React framework for building applications that run across the browser and Node.js, including server-rendered applications. It is used by developers building web applications with React components.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add vercel/next.js --skill next-performancegit clone --depth 1 https://github.com/vercel/next.jsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/vercel/next.js/next-performance)<a href="https://agentmods.dev/skills/vercel/next.js/next-performance"><img src="https://agentmods.dev/badge/skills/vercel/next.js/next-performance/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/vercel/next.js/next-performance"><img src="https://agentmods.dev/badge/skills/vercel/next.js/next-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.00358 |
| Opus 5.5 | $0.00025 | $0.00143 |
| Sonnet 5.5 | $0.00013 | $0.00072 |
| Haiku 4.5 | $0.00006 | $0.00036 |
Grade A, and why
next-performance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Next.js performance
Default: diagnose. Edit only on explicit request.
Route the bottleneck
-
Server request: For slow or intermittent App Router requests, keep the current development server running. Reproduce the affected request, then use its local
next experimental-request-insights listto find the page or API request andgetto inspect it. Pass--urlif lockfile discovery cannot find a custom dev server. The server retains up to 500 completed requests. If it reports that Request Insights is disabled, say so and ask before settingexperimental.requestInsights: trueinnext.config. Once the user agrees, restart the same development command, wait until it is ready, and reproduce the affected request once. State that an unrecorded original request cannot be recovered. -
Browser: For slow startup or navigation, or excess client JavaScript, use
next-bundle-optimizerin audit mode. If unavailable, ask before installing it:npx skills add vercel/next.js --skill next-bundle-optimizer -
Unknown: Compare server response timing with browser network and main-thread timing. Follow the dominant side or report the gap.
Report the measured bottleneck, evidence, and next action.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 38 lines · 63 tokens per session scan A dd31fef920de
next-performance is a skill published in the GitHub repository vercel/next.js (143,956 stars, last pushed today), licensed MIT. It adds 63 tokens to every session and 358 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.
next-performance compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| next-performancevercel/next.js | Skill | 144k | today | MIT | A | 63 | Claude Code |
| shadcnshadcn-ui/ui | Skill | 130k | yesterday | MIT | A | 123 | Claude Code, Codex, Cursor |
| migrate-radix-to-baseshadcn-ui/ui | Skill | 130k | yesterday | MIT | A | 61 | Cursor |
| examplerecharts/recharts | Skill | 28k | yesterday | MIT | A | 11 | Claude Code, Codex |
| magic-uimagicuidesign/magicui | Skill | 24k | 2d ago | MIT | A | 56 | Claude Code, Codex |
| crosspostingwasp-lang/wasp | Skill | 19k | today | MIT | A | 19 | Claude Code |
| notion-to-blogwasp-lang/wasp | Skill | 19k | today | MIT | A | 37 | Claude Code |