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 nimadorostkar/Claude-Skills-collection --skill nextjsgit clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collectionWrote 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/nimadorostkar/claude-skills-collection/nextjs)<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/nextjs"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/nextjs/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/nimadorostkar/claude-skills-collection/nextjs"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/nextjs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00035 | $0.01122 |
| Opus 5 | $0.00017 | $0.00561 |
| Sonnet 5 | $0.00007 | $0.00224 |
| Haiku 4.5 | $0.00003 | $0.00112 |
Grade A, and why
nextjs 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Next.js
Purpose
Build Next.js applications where the server/client boundary is drawn deliberately, caching is understood rather than fought, and the rendering strategy matches what the page actually needs.
When to Use
- Building or reviewing a Next.js App Router application.
- Deciding what renders on the server versus the client.
- Debugging stale data or unexpectedly dynamic rendering.
- Implementing mutations with server actions.
Capabilities
- Server and client component composition.
- Data fetching, caching, and revalidation (time-based and tag-based).
- Server actions for mutations, with validation and revalidation.
- Streaming with Suspense and loading boundaries.
- Rendering strategy: static, dynamic, ISR, partial prerendering.
Inputs
- The page, its data dependencies, and how fresh each must be.
- Which parts are genuinely interactive.
- Auth model and whether the page is personalized.
Outputs
- A component tree with
"use client"pushed as far down as possible. - Explicit cache and revalidation settings per fetch.
- Mutations that revalidate exactly what they changed.
Workflow
- Default to server components — They ship no JavaScript. Add
"use client"only where you need state, effects, or browser APIs — and add it to the leaf, not the page. - Fetch where you render — Fetch data in the component that needs it. Requests are deduplicated within a render pass; prop-drilling data down from the page is unnecessary.
- Set the cache explicitly — Every
fetchgets a deliberatecacheornext.revalidate. Relying on the framework default is how you ship stale prices. - Stream the slow parts — Wrap slow sections in
<Suspense>with a meaningful fallback so the shell renders immediately. - Mutate with server actions — Validate the input (it is a public endpoint, whatever it looks like), perform the write, then
revalidateTagorrevalidatePathfor exactly what changed.
Best Practices
"use client"at the top of a page turns the entire subtree into client components. Push it to the interactive leaf — the button, not the layout.- A server action is an HTTP endpoint. It has no implicit authorization. Check the session inside it, every time.
- Reading
cookies(),headers(), orsearchParamsopts the route into dynamic rendering. If a page unexpectedly stopped being static, this is why. - Tag-based revalidation (
revalidateTag) is far more precise than path-based. Tag by entity, invalidate on write. - Never put a secret in a component that could be a client component. If it is imported by anything with
"use client", it ships to the browser. - Use
loading.tsxanderror.tsxat every route segment. The defaults are a blank screen and a crash.
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.
- 8d ago First seen · 116 lines · 35 tokens per session scan A 82df01a35cb4
nextjs is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (26 stars, last pushed 24d ago), licensed MIT. It adds 35 tokens to every session and 1,122 once invoked, about $0.0002 per session on Opus 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-09-03.
Other skills, from other repositories
airflow-plugins
Builds Airflow 3.1+ plugins that embed FastAPI apps, custom UI pages, React components, middleware, macros, and operator links directly into the Airflow UI. Use when building anything custom inside Airflow 3.1+ that involves Python and a browser-facing interface - creating an Airflow plugin, adding a custom UI page or…
nextjs-patterns
Next.js best practices, server components, app router patterns, caching strategies, and full-stack architecture.
tanstack-start
Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 +…
helius-phantom
Build frontend Solana applications with Phantom Connect SDK and Helius infrastructure. Covers React, React Native, and browser SDK integration, transaction signing via Helius Sender, API key proxying, token gating, NFT minting, crypto payments, real-time updates, and secure frontend architecture.
fusecore
Use when creating modules, understanding FuseCore structure, or implementing features in a FuseCore modular-monolith Laravel project.
fullstack-guide
A development guide for building full-stack applications with React and TypeScript on the frontend and Node.js and Supabase on the backend. It covers component structure, data loading, routing, styling, performance, and TypeScript practices.