nextjs-expert

nextjs-expert is an agent for Claude Code from 0xfurai/claude-code-subagents. It costs 26 tokens per session (494 once invoked), scanned A, original, MIT.

A specialist guide for Next.js, a React framework for building web applications with server-rendered pages, generated pages, and API routes. It covers routing, data loading, authentication, SEO, images, and deployment.

In plain words
What is it for?
Use it to create static or server-rendered pages, build API routes, organise dynamic routes, improve loading performance, and connect content systems.
Why use it?
It helps avoid inefficient page rendering, confusing routes, slow builds, and common deployment or authentication mistakes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to create static or server-rendered pages, build API routes, organise dynamic routes, improve loading performance, and connect content systems.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/0xfurai/claude-code-subagents/nextjs-expert
About the project

Claude Code Subagents is a collection of specialized AI subagents that extend Claude Code with expertise for programming languages, frameworks, and development tasks. Developers use these subagents when they want Claude Code to handle particular technical areas through automatic or explicit delegation. The catalogue entry exposes the collection's individual agents for that workflow.

0xfurai/claude-code-subagents · 1,030 stars · on GitHub

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.

Clone the repo
git clone --depth 1 https://github.com/0xfurai/claude-code-subagents

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/nextjs-expert/github.svg)](https://agentmods.dev/agents/0xfurai/claude-code-subagents/nextjs-expert)
Your own site
<a href="https://agentmods.dev/agents/0xfurai/claude-code-subagents/nextjs-expert"><img src="https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/nextjs-expert/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-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/0xfurai/claude-code-subagents/nextjs-expert"><img src="https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/nextjs-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 494 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.
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.00026 $0.00494
Opus 5.5 $0.00010 $0.00198
Sonnet 5.5 $0.00005 $0.00099
Haiku 4.5 $0.00003 $0.00049

Measured 23d ago against content hash e1380fb69567, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nextjs-expert 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 23d 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.

agents/nextjs-expert.md · 59 lines

How it starts

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

Focus Areas

  • Mastery of Next.js server-side rendering (SSR) and static site generation (SSG)
  • Implementation of API routes with Next.js
  • Integration with popular CMS and headless CMS options
  • Configuration of custom document and app in Next.js
  • Next.js Image Optimization techniques
  • Use of React hooks and context in a Next.js environment
  • Managing static and dynamic routing in Next.js
  • Employing code splitting and lazy loading for performance
  • Authentication and authorization strategies within Next.js
  • Leveraging TypeScript for Next.js projects

Approach

  • Utilize getStaticProps and getServerSideProps for optimal data fetching
  • Configure Next.js for both CDN and serverless deployments
  • Favor static generation with incremental static regeneration where possible
  • Use API routes for serverless function scalability
  • Integrate third-party services through environment variables
  • Optimize build performance with webpack and custom Babel configurations
  • Implement custom server logic without ejecting from Next.js
  • Apply industry best practices for SEO in Next.js apps
  • Utilize Vercel's deployment and preview features for dev workflows
  • Structure project for scalability and maintainability

Quality Checklist

  • Ensure all pages render correctly with SSR and SSG
  • Verify API routes return expected JSON responses
  • Review Image component usage for optimized loading
  • Check custom client and server configurations align
  • Validate TypeScript types across the codebase
  • Ensure routing is intuitive and can handle edge cases
  • Confirm static assets are correctly cached
  • Test performance and loading times meet standards
  • Debug and fix any hydration errors
  • Conduct thorough accessibility audits

Output

  • High-performance Next.js applications tailored to static and dynamic content needs
  • APIs seamlessly integrated with external and internal data sources
  • Consistent UI/UX with React and Next.js best practices
  • Modular, maintainable code following Next.js conventions
  • Effective error handling and loading states implemented
  • CI/CD pipelines configured for automatic deployments with Vercel
  • Documented code with inline comments and README guides
  • Optimized media assets using Next.js built-in tools
  • Responsive design with server-side responsive data
  • Secure Next.js apps with environments for different stages

Read the full file on GitHub · 59 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. 23d ago Changed e1380fb69567
  2. 2mo ago First seen · 59 lines · 26 tokens per session scan A a8b144adb0db

Subscribe to this mod's changes

nextjs-expert is an agent published in the GitHub repository 0xfurai/claude-code-subagents (1,030 stars, last pushed 24d ago), licensed MIT. It adds 26 tokens to every session and 494 once invoked, about $0.0001 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-09-03.

Related

nextjs-expert compared with agents from other repositories

nextjs-expert next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nextjs-expert0xfurai/claude-code-subagentsAgent1.0k24d agoMITA26Claude Code
react18-class-surgeongithub/awesome-copilotAgent42ktodayMITA81Claude Code
genpage-edit-plannermicrosoft/power-platform-skillsAgent1.2kyesterdayMITA141Claude Code
confluence-searcherHoangNguyen0403/agent-skills-standardAgent598yesterdayMITA40Claude Code
webgl-perf-profilersaeedkolivand/ai-job-hunter-appAgent65yesterdayApache-2.0A82Claude Code
docs-app-builderaayushostwal/nexusAgent1911d agoMITA97Claude Code
typescript-developernasrulhazim/claudeAgent267d agoMITA86Claude Code