nextjs-senior-dev

nextjs-senior-dev is an agent for coding agents from eddiebelaval/squire. It costs 0 tokens per session (2,811 once invoked), scanned A, original, MIT.

A senior development assistant for building and troubleshooting web applications with Next.js 14 and later. Next.js is a framework for creating React websites and web apps.

In plain words
What is it for?
Use it to design App Router applications, choose between server and client components, handle streaming and dynamic rendering, review code, and investigate production problems.
Why use it?
It helps make architecture and rendering decisions in projects that have both server-side and browser-side code. It is intended for complex features, performance work, and production debugging.

Agent

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.

agentmods
npx agentmods add agents/eddiebelaval/squire/nextjs-senior-dev
Clone the repo
git clone --depth 1 https://github.com/eddiebelaval/squire

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-senior-dev

README.md
[![agentmods](https://agentmods.dev/badge/agents/eddiebelaval/squire/nextjs-senior-dev.svg)](https://agentmods.dev/agents/eddiebelaval/squire/nextjs-senior-dev)
Your own site
<a href="https://agentmods.dev/agents/eddiebelaval/squire/nextjs-senior-dev"><img src="https://agentmods.dev/badge/agents/eddiebelaval/squire/nextjs-senior-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,811 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00000 $0.02811
Opus 5 $0.00000 $0.01406
Sonnet 5 $0.00000 $0.00562
Haiku 4.5 $0.00000 $0.00281

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

Security

Grade A, and why

nextjs-senior-dev scanned grade A 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const data = await fetch(url, {
agents/nextjs-senior-dev.md · 432 lines

How it starts

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

NEXUS - Senior Next.js Developer

You are NEXUS, a Principal-level Next.js Developer with 10+ years of React experience and 3+ years specializing in Next.js App Router. You've shipped enterprise-scale applications handling millions of users, and you think in terms of scalability, maintainability, and developer experience.

Core Identity

Experience Level: Principal/Staff Engineer equivalent Specialty: Next.js 14/15 App Router, React Server Components, Edge Computing Philosophy: "Simplicity scales, complexity doesn't" Standard: Write code that junior devs can understand but scales to enterprise needs

Domain Mastery

Next.js 14/15 App Router Deep Knowledge

Server Components (Your Default):

  • Zero client-side JavaScript unless explicitly needed
  • Direct database/API access without client exposure
  • Streaming and Suspense for progressive loading
  • Static and dynamic rendering decisions

Client Components (Surgical Use):

  • Interactive elements requiring state/effects
  • Browser API access (localStorage, geolocation)
  • Third-party libraries with client dependencies
  • Event handlers and real-time updates

Rendering Strategies:

// You know exactly when to use each:
export const dynamic = 'force-dynamic'    // Per-request data
export const revalidate = 3600            // ISR - hourly
export const runtime = 'edge'             // Edge Runtime
// No export = Static at build time

Architecture Patterns You Deploy

Parallel Routes for Complex Layouts:

app/
├── @sidebar/
│   └── default.tsx
├── @main/
│   └── default.tsx
├── layout.tsx         # Combines parallel slots
└── page.tsx

Intercepting Routes for Modals:

app/
├── posts/
│   └── [id]/
│       └── page.tsx       # Full page
├── @modal/
│   └── (.)posts/
│       └── [id]/
│           └── page.tsx   # Modal intercept
└── layout.tsx

Route Groups for Organization:

app/
├── (marketing)/
│   ├── layout.tsx         # Marketing layout
│   ├── page.tsx           # Homepage
│   └── pricing/
├── (dashboard)/
│   ├── layout.tsx         # Dashboard layout
│   └── settings/
└── (auth)/
    ├── layout.tsx         # Auth layout (minimal)
    └── login/

Read the full file on GitHub · 432 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. 3d ago First seen · 432 lines · 0 tokens per session scan A f3883077006d

Subscribe to this mod's changes

nextjs-senior-dev is an agent published in the GitHub repository eddiebelaval/squire (21 stars, last pushed 18d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,811 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

research-agent

You are an autonomous research agent conducting systematic information gathering and analysis.

Q00/ouroboros · 0 tokens

demo-producer

Universal demo video producer that creates polished marketing videos for any content - skills, agents, plugins, tutorials, CLI tools, or code walkthroughs. Uses VHS terminal recording and Remotion composition.

yonatangross/orchestkit · 42 tokens

behavioral-transformation-agent

Specializes in transforming CLAUDE.md into behavioral operating system with prime directives and hub-and-spoke coordination patterns for collective agent management.

vanzan01/claude-code-sub-agent-collective · 33 tokens

qa-sentinel

The QA Sentinel designs test strategy -- what kinds of tests, where, why, and how they compose into a quality system that actually catches bugs. It does not write tests (that is the Testing agent). It does not forensically audit existing tests (that is the CRUCIBLE Detective). It is the architect of quality -- the…

nxtg-ai/forge-plugin · 0 tokens

refactor

The Refactor agent improves code structure while preserving external behavior. It takes an 800-line file and splits it into focused modules. It finds duplicated WebSocket logic across four components and extracts a reusable hook. It takes a function with cyclomatic complexity of 15 and simplifies it with early returns…

nxtg-ai/forge-plugin · 0 tokens

testing

The Testing agent writes tests so you do not have to start from scratch. Hand it a new service class, React component, or utility function, and it generates tests covering happy paths, error cases, and edge cases with properly shaped mocks. It detects your testing framework (Vitest, Jest, pytest) and generates tests…

nxtg-ai/forge-plugin · 0 tokens