nextjs-modern

nextjs-modern is a skill for Claude Code, Codex from clubpay/ronykit. It costs 50 tokens per session (1,060 once invoked), scanned A, original, BSD-3-Clause.

A set of guidelines for building and reviewing web applications with Next.js 16, a React framework for creating websites and web services. It focuses on the App Router and on deciding which code runs on the server or in the browser.

In plain words
What is it for?
Creating or reviewing routes, layouts, pages, server and client components, data loading, form actions, caching, and SEO metadata in Next.js apps.
Why use it?
It helps keep server-only code and secrets out of browser code while choosing suitable patterns for data fetching, forms, caching, and page metadata.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating or reviewing routes, layouts, pages, server and client components, data loading, form actions, caching, and SEO metadata in Next.js apps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clubpay/ronykit/nextjs-modern
Install

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.

Any agent
npx skills add clubpay/ronykit --skill nextjs-modern
Clone the repo
git clone --depth 1 https://github.com/clubpay/ronykit

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for nextjs-modern

README.md
[![agentmods](https://agentmods.dev/badge/skills/clubpay/ronykit/nextjs-modern.svg)](https://agentmods.dev/skills/clubpay/ronykit/nextjs-modern)
Your own site
<a href="https://agentmods.dev/skills/clubpay/ronykit/nextjs-modern"><img src="https://agentmods.dev/badge/skills/clubpay/ronykit/nextjs-modern.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,060 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.01060
Opus 5 $0.00025 $0.00530
Sonnet 5 $0.00010 $0.00212
Haiku 4.5 $0.00005 $0.00106

Measured 8d ago against content hash 37e5d126066f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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 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.

ronyup/internal/skeleton/skills/nextjs-modern/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Modern Next.js (App Router)

Default to the server. Reach for the client only when you need interactivity. Target Next.js 16 with the App Router and React Server Components.

When to use

  • Adding or reviewing routes, layouts, pages, or components in the frontend app.
  • Choosing server vs client components, a data-fetching strategy, or caching.
  • Wiring forms and mutations via Server Actions.

Server vs Client Components

Components are Server Components by default. Add 'use client' only when you need state, effects, event handlers, or browser-only APIs.

  • Keep 'use client' at the leaves; pass server-fetched data down as props.
  • Don't put 'use client' on a layout/page just to use one interactive child — split the child out.
  • Never import server-only code (DB clients, secrets) into a client component.
  • Minimize the serialization boundary: props crossing server → client are serialized into the RSC payload. Pass only the minimal, serializable fields a client component needs — not whole ORM rows or large objects. Non-serializable values (functions, class instances, Dates in some setups) won't cross.

Data fetching

  • Fetch directly in async Server Components — no useEffect for initial data.
  • Choose the cache explicitly: static by default, revalidate for ISR, cache: 'no-store' / dynamic for per-request data.
  • Stream slow data with <Suspense> and loading.tsx; colocate error.tsx.
  • Use next/cache (revalidateTag/revalidatePath) to invalidate after writes.

Avoid request waterfalls

  • Fetch independent data in parallel, not sequentially. Kick off the requests, then await together:
const [user, posts] = await Promise.all([getUser(id), getPosts(id)]);
  • Don't await a request only to pass its result into the next independent one — that serializes round-trips and inflates TTFB.
  • Stream non-critical sections behind their own <Suspense> so the shell renders immediately.

Deduplicate requests

Read the full file on GitHub · 110 lines

Changes

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.

  1. 8d ago First seen · 110 lines · 50 tokens per session scan A 37e5d126066f

Subscribe to this mod's changes

nextjs-modern is a skill published in the GitHub repository clubpay/ronykit (38 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 50 tokens to every session and 1,060 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

multitenant

Multi-tenant / multitenancy patterns in Vovk.ts — hosting multiple tenants from one Next.js app via subdomain routing. Covers the multitenant() helper from vovk, the Next.js proxy.ts file that wires it up, the overrides shape (static / dynamic / nested subdomain patterns), the vovk.config.mjs changes needed (switch to…

finom/vovk · 239 tokens

writing-clearly-and-concisely

Apply whenever writing content a human will read — emails, documents, reports, documentation, messages, UI copy, commit messages, explanations, or any other prose. Applies Strunk's timeless rules for clearer, stronger, more professional writing.

JanDeDobbeleer/oh-my-posh · 55 tokens

gentleman-bubbletea

Bubbletea TUI patterns for Gentleman.Dots installer. Trigger: When editing Go files in installer/internal/tui/, working on TUI screens, or adding new UI features.

Gentleman-Programming/engram · 42 tokens

remotion-animation

Generates animation configurations for Remotion including spring configs, interpolations, easing functions, and timing logic. Focuses ONLY on animation parameters, NOT component implementation. Use when defining animation behavior or when asked to "configure animations", "setup spring configs", "define easing curves".

Marve10s/Better-Fullstack · 59 tokens

create-remotion-geist

Create Remotion videos using the Geist design system aesthetic. Use when asked to create videos, animations, or motion graphics that should follow Vercel's visual style - dark theme, spring animations, Geist typography, and the Geist color palette.

Marve10s/Better-Fullstack · 54 tokens

ast-introspection

Use Go AST-aware analysis to enumerate symbols, extract signatures, and propose mechanically safe refactors (read-only by default).

pilinux/gorest · 28 tokens