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 clubpay/ronykit --skill nextjs-moderngit clone --depth 1 https://github.com/clubpay/ronykitWrote 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/clubpay/ronykit/nextjs-modern)<a href="https://agentmods.dev/skills/clubpay/ronykit/nextjs-modern"><img src="https://agentmods.dev/badge/skills/clubpay/ronykit/nextjs-modern/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/clubpay/ronykit/nextjs-modern"><img src="https://agentmods.dev/badge/skills/clubpay/ronykit/nextjs-modern.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.00080 | $0.02369 |
| Opus 5.5 | $0.00032 | $0.00948 |
| Sonnet 5.5 | $0.00016 | $0.00474 |
| Haiku 4.5 | $0.00008 | $0.00237 |
Grade A, and why
nextjs-modern 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 28d 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 — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Modern Next.js (App Router)
Apply these conventions when building or reviewing Next.js App Router (app/)
codebases.
1. Server Components by default; Client Components at the leaves
- Every file in
app/is a React Server Component (RSC) unless marked with'use client'. Keep layouts, pages, and data-fetching wrappers on the server. - Push
'use client'as far down the component tree as possible — only on interactive leaves that useuseState,useEffect, event handlers, or browser APIs. - Compose Server inside Client via
children: A Client Component (e.g., an animated modal or collapsible sidebar) can render Server Components without turning them into client bundles when passed aschildrenor slots. - Serialization boundary: Props passed from Server → Client must be serializable (plain objects, primitives, Promises, Server Actions — never class instances or unserializable functions).
2. Async request APIs (Next.js 15+)
In Next.js 15+, params, searchParams, cookies(), headers(), and
draftMode() are asynchronous. Always await them:
export default async function OrderPage({
params,
searchParams,
}: {
params: Promise<{ id: string }>;
searchParams: Promise<{ tab?: string }>;
}) {
const { id } = await params;
const { tab = 'overview' } = await searchParams;
// ...
}
3. Data fetching & parallel streaming
- Colocate reads where needed and wrap shared server reads in
React.cache()so layout,generateMetadata, and page deduplicate within a single request.React.cache()is request deduplication, not a cross-request cache. - Use Cache Components for explicit cross-request caching (Next.js 16): When
cacheComponentsis enabled, mark async functions or components with'use cache', then setcacheLife(...)andcacheTag(...)fromnext/cache. Readcookies(),headers(), and other request-time values outside the cached scope and pass them in as serializable arguments. - Eliminate waterfalls: Start independent fetches in parallel with
Promise.all([getUser(id), getOrders(id)])or split slow secondary sections into separate async Server Components wrapped in<Suspense fallback={<Skeleton />}>. - Never call your own Route Handlers (
app/api/...) from a Server Component over HTTP — call the underlying service/SDK or typed RonyKit stub directly. - Pass Promises to Client Components and unwrap them with React 19's
use(promise)when the shell should render immediately.
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.
- 28d ago Changed · +14 lines ea5543ba3c07
- 1mo ago Changed · +61 lines · +30 tokens per session e60da6371195
- 3mo ago First seen · 110 lines · 50 tokens per session scan A 37e5d126066f
nextjs-modern is a skill published in the GitHub repository clubpay/ronykit (38 stars, last pushed 28d ago), licensed BSD-3-Clause. It adds 80 tokens to every session and 2,369 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-08-30.
nextjs-modern compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nextjs-modernclubpay/ronykit | Skill | 38 | 28d ago | BSD-3-Clause | A | 80 | Claude Code, Codex |
| ast-introspectionpilinux/gorest | Skill | 507 | yesterday | MIT | A | 28 | Claude Code, Codex |
| build-runpilinux/gorest | Skill | 507 | yesterday | MIT | A | 22 | Claude Code, Codex |
| ci-orchestratorpilinux/gorest | Skill | 507 | yesterday | MIT | A | 32 | Claude Code, Codex |
| config-loader-helperpilinux/gorest | Skill | 507 | yesterday | MIT | A | 25 | Claude Code, Codex |
| db-infra-mockspilinux/gorest | Skill | 507 | yesterday | MIT | A | 27 | Claude Code, Codex |
| migration-helperpilinux/gorest | Skill | 507 | yesterday | MIT | A | 26 | Claude Code, Codex |