custom_github_copilot_agent_builder: Agent for Claude Code

.github/agents/expert-nextjs-developer.agent.md

expert-nextjs-developer is an agent for Claude Code from dhar174/custom_github_copilot_agent_builder. It costs 29 tokens per session (4,353 once invoked), scanned B, a copy of Next.js Expert, MIT.

A specialist assistant for building web applications with Next.js 16, a React framework for server-rendered sites and applications. It covers the App Router, server and client components, caching, Turbopack, and TypeScript.

In plain words
What is it for?
Use it for Next.js architecture, data fetching, cache management, server/client component decisions, TypeScript, and modern React implementation patterns.
Why use it?
It helps developers choose appropriate Next.js and React patterns for routing, data loading, caching, builds, and component design.

Agent for Claude Code

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

This is dhar174/custom_github_copilot_agent_builder's own configuration. It tells Claude Code how to work on custom_github_copilot_agent_builder itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything custom_github_copilot_agent_builder configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dhar174/custom_github_copilot_agent_builder. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dhar174/custom_github_copilot_agent_builder/main/.github/agents/expert-nextjs-developer.agent.md
Clone the repo
git clone --depth 1 https://github.com/dhar174/custom_github_copilot_agent_builder

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/dhar174/custom_github_copilot_agent_builder/expert-nextjs-developer"><img src="https://agentmods.dev/badge/agents/dhar174/custom_github_copilot_agent_builder/expert-nextjs-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,353 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 97% copy Near-identical to another mod 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.00029 $0.04353
Opus 5.5 $0.00012 $0.01741
Sonnet 5.5 $0.00006 $0.00871
Haiku 4.5 $0.00003 $0.00435

Measured 1mo ago against content hash 4b359233dd00, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

expert-nextjs-developer scanned grade B with 1 finding 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 1mo 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const res = await fetch("https://api.example.com/posts", { method: "POST",
Origin

This is a copy

97% identical to Next.js Expert — 35 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/agents/expert-nextjs-developer.agent.md · 506 lines

How it starts

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

Expert Next.js Developer

You are a world-class expert in Next.js 16 with deep knowledge of the App Router, Server Components, Cache Components, React Server Components patterns, Turbopack, and modern web application architecture.

Your Expertise

  • Next.js App Router: Complete mastery of the App Router architecture, file-based routing, layouts, templates, and route groups
  • Cache Components (New in v16): Expert in use cache directive and Partial Pre-Rendering (PPR) for instant navigation
  • Turbopack (Now Stable): Deep knowledge of Turbopack as the default bundler with file system caching for faster builds
  • React Compiler (Now Stable): Understanding of automatic memoization and built-in React Compiler integration
  • Server & Client Components: Deep understanding of React Server Components vs Client Components, when to use each, and composition patterns
  • Data Fetching: Expert in modern data fetching patterns using Server Components, fetch API with caching strategies, streaming, and suspense
  • Advanced Caching APIs: Mastery of updateTag(), refresh(), and enhanced revalidateTag() for cache management
  • TypeScript Integration: Advanced TypeScript patterns for Next.js including typed async params, searchParams, metadata, and API routes
  • Performance Optimization: Expert knowledge of Image optimization, Font optimization, lazy loading, code splitting, and bundle analysis
  • Routing Patterns: Deep knowledge of dynamic routes, route handlers, parallel routes, intercepting routes, and route groups
  • React 19.2 Features: Proficient with View Transitions, useEffectEvent(), and the <Activity/> component
  • Metadata & SEO: Complete understanding of the Metadata API, Open Graph, Twitter cards, and dynamic metadata generation
  • Deployment & Production: Expert in Vercel deployment, self-hosting, Docker containerization, and production optimization
  • Modern React Patterns: Deep knowledge of Server Actions, useOptimistic, useFormStatus, and progressive enhancement
  • Middleware & Authentication: Expert in Next.js middleware, authentication patterns, and protected routes

Read the full file on GitHub · 506 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. 1mo ago First seen · 506 lines · 29 tokens per session scan B 4b359233dd00

Subscribe to this mod's changes

expert-nextjs-developer is an agent published in the GitHub repository dhar174/custom_github_copilot_agent_builder (7 stars, last pushed 8mo ago), licensed MIT. It adds 29 tokens to every session and 4,353 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (sends data to an external url). It is 97% identical to Next.js Expert, differing in 35 lines, and is treated as a copy.

Related

Other agents, from other repositories

react18-class-surgeon

Class component migration specialist for React 16/17 → 18.3.1. Migrates all three unsafe lifecycle methods with correct semantic replacements (not just UNSAFE prefix). Migrates legacy context to createContext, string refs to React.createRef(), findDOMNode to direct refs, and ReactDOM.render to createRoot. Uses memory…

github/awesome-copilot · 81 tokens

genpage-edit-planner

Plans edits to an existing generative page. Reads the downloaded page artifacts (source, original prompt, config), analyzes the current implementation against the user's edit intent, and returns a proposed edit plan for the orchestrator to present for approval. Writes genpage-edit-plan.md, for the orchestrator to…

microsoft/power-platform-skills · 141 tokens

confluence-searcher

Searches Confluence and related tickets for product, architecture, rollout, and test-data context. Use when implementation or verification needs internal documentation without loading raw pages into main context.

HoangNguyen0403/agent-skills-standard · 40 tokens

react-portfolio-engineer

React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.

notque/vexjoy-agent · 25 tokens

docs-app-builder

Use this agent to build a documentation application as a React app — from a repo's README, docs folder, or code. Trigger on "build a docs site", "documentation app for this project", "turn these docs into a website", "docs portal with navigation", or requests to make existing docs browsable/interactive. Returns a…

aayushostwal/nexus · 97 tokens

broadcasting-agent

Creates WebSocket broadcasting infrastructure (NestJS backend) and real-time consumption on the frontend (Next.js or React). Use when adding real-time event broadcasting to a bounded context, creating Socket.IO gateways, or implementing frontend event listeners. Dispatched after infrastructure layer is complete.

Softtor/nestjs-hexagonal · 58 tokens