nextjs-server-client-boundaries

nextjs-server-client-boundaries is a skill for Codex from TheGoat395/Codex-Skills. It costs 15 tokens per session (141 once invoked), scanned A, original, MIT.

A guide for deciding which parts of a Next.js App Router application run on the server and which run in the browser. Next.js is a React framework, and the App Router is its folder-based way to organize pages and layouts.

In plain words
What is it for?
Use it when adding client components, passing data into interactive parts, handling browser-only behavior, or organizing server and client code.
Why use it?
It helps keep secrets on the server, avoid sending unnecessary code to browsers, and add interactivity only where it is needed.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when adding client components, passing data into interactive parts, handling browser-only behavior, or organizing server and client code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thegoat395/codex-skills/nextjs-server-client-boundaries
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 TheGoat395/Codex-Skills --skill nextjs-server-client-boundaries
Clone the repo
git clone --depth 1 https://github.com/TheGoat395/Codex-Skills

Made for: 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-server-client-boundaries

README.md
[![agentmods](https://agentmods.dev/badge/skills/thegoat395/codex-skills/nextjs-server-client-boundaries/github.svg)](https://agentmods.dev/skills/thegoat395/codex-skills/nextjs-server-client-boundaries)
Your own site
<a href="https://agentmods.dev/skills/thegoat395/codex-skills/nextjs-server-client-boundaries"><img src="https://agentmods.dev/badge/skills/thegoat395/codex-skills/nextjs-server-client-boundaries/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.

agentmods 80×15 button for nextjs-server-client-boundaries

Your own site · 80×15
<a href="https://agentmods.dev/skills/thegoat395/codex-skills/nextjs-server-client-boundaries"><img src="https://agentmods.dev/badge/skills/thegoat395/codex-skills/nextjs-server-client-boundaries.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 141 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.00015 $0.00141
Opus 5 $0.00008 $0.00071
Sonnet 5 $0.00003 $0.00028
Haiku 4.5 $0.00002 $0.00014

Measured 3d ago against content hash 46fecfd26f68, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

nextjs-server-client-boundaries 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 3d 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.

skills/nextjs-server-client-boundaries/SKILL.md · 17 lines

What it actually says

Next.js Server Client Boundaries

For substantial web work, reuse the scoped web contract when available; it replaces duplicated policy here. Match the requested scope and existing decisions; a missing optional sibling does not block this local procedure.

Use This Skill

Use this skill to draw precise server and client component boundaries.

Required Reference

Read references/nextjs-server-client-boundaries-guide.md before making architectural or visible UI changes with this skill.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago Changed · -6 lines · -52 tokens per session 46fecfd26f68
  2. 9d ago First seen · 23 lines · 67 tokens per session scan A 629089d72189

Subscribe to this mod's changes

nextjs-server-client-boundaries is a skill published in the GitHub repository TheGoat395/Codex-Skills (122 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 141 once invoked, about $0.0001 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

design-pipeline

A build-and-test workflow for turning Figma designs into shadcn/ui components, a reusable set of interface components for React-based projects. It checks the result in a real browser at three screen sizes and runs accessibility checks.

sodam-ai/SoDam-Design-Kit · 77 tokens

product-motion-design

Design, implement, audit, or repair purposeful motion for React and web interfaces, including GSAP timelines, scroll choreography, micro-interactions, and optional Three.js scenes, with cleanup, responsive behavior, reduced-motion support, and browser verification.

divyanshu-iitian/agent-website-design-skills · 52 tokens

frontend-engineer

!cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/input-validation.md 2>/dev/null || true !cat skills/shared/protocols/tool-efficiency.md 2>/dev/null || true !cat .production-grade.yaml 2>/dev/null || echo "No config — using defaults" !cat .forgewright/codebase-context.md…

buiphucminhtam/forgewright · 55 tokens

frontend-code-review

Review React, Next.js App Router, TypeScript, Tailwind CSS, shadcn/ui, TanStack Query, and frontend UI code. Use when reviewing a PR, branch, diff, page, component, hook, Server Action, route handler, or API client; debugging frontend behavior; assessing production readiness; or checking runtime bugs, client/server…

DNM03/frontend-code-review · 102 tokens

motion-foundations

Motion tokens, spring presets, performance rules, device adaptation, accessibility enforcement, and SSR safety for React / Next.js using motion/react. Foundation layer — all other motion skills depend on this. Use when setting up motion tokens, spring presets, reduced-motion handling, or SSR-safe animation in React or…

gongyijie85/dsh-ecc · 66 tokens

motion-patterns

Production-ready animation patterns for React / Next.js — button, modal, toast, stagger, page transitions, exit animations, scroll, and layout — built on motion-foundations tokens and springs. Use when animating a specific UI element in React or Next.js — button, modal, toast, stagger, page transition, or scroll.

userInner/SKILLS · 70 tokens