nextjs-turbopack

nextjs-turbopack is an agent for Claude Code from raja21068/AutoResearch. It costs 39 tokens per session (521 once invoked), scanned A, original, MIT.

Guidance for developing Next.js 16 or newer applications with Turbopack, Next.js's development bundler. It explains when to use Turbopack or Webpack and how file caching affects restarts.

In plain words
What is it for?
Use it when developing or debugging a Next.js app, investigating slow local development, or reviewing development and production bundling choices.
Why use it?
It helps diagnose slow development startup and browser updates while avoiding confusion about which bundler is being used. It also clarifies that production build behavior can depend on the Next.js version.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it when developing or debugging a Next.js app, investigating slow local development, or reviewing development and production bundling choices.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/raja21068/autoresearch/nextjs-turbopack-skill
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/raja21068/AutoResearch

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/raja21068/autoresearch/nextjs-turbopack-skill"><img src="https://agentmods.dev/badge/agents/raja21068/autoresearch/nextjs-turbopack-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 521 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.00039 $0.00521
Opus 5 $0.00019 $0.00260
Sonnet 5 $0.00008 $0.00104
Haiku 4.5 $0.00004 $0.00052

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

Security

Grade A, and why

nextjs-turbopack 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 10d 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/agents/nextjs-turbopack-skill.md · 45 lines

What it actually says

Next.js and Turbopack

Next.js 16+ uses Turbopack by default for local development: an incremental bundler written in Rust that significantly speeds up dev startup and hot updates.

When to Use

  • Turbopack (default dev): Use for day-to-day development. Faster cold start and HMR, especially in large apps.
  • Webpack (legacy dev): Use only if you hit a Turbopack bug or rely on a webpack-only plugin in dev. Disable with --webpack (or --no-turbopack depending on your Next.js version; check the docs for your release).
  • Production: Production build behavior (next build) may use Turbopack or webpack depending on Next.js version; check the official Next.js docs for your version.

Use when: developing or debugging Next.js 16+ apps, diagnosing slow dev startup or HMR, or optimizing production bundles.

How It Works

  • Turbopack: Incremental bundler for Next.js dev. Uses file-system caching so restarts are much faster (e.g. 5–14x on large projects).
  • Default in dev: From Next.js 16, next dev runs with Turbopack unless disabled.
  • File-system caching: Restarts reuse previous work; cache is typically under .next; no extra config needed for basic use.
  • Bundle Analyzer (Next.js 16.1+): Experimental Bundle Analyzer to inspect output and find heavy dependencies; enable via config or experimental flag (see Next.js docs for your version).

Examples

Commands

next dev
next build
next start

Usage

Run next dev for local development with Turbopack. Use the Bundle Analyzer (see Next.js docs) to optimize code-splitting and trim large dependencies. Prefer App Router and server components where possible.

Best Practices

  • Stay on a recent Next.js 16.x for stable Turbopack and caching behavior.
  • If dev is slow, ensure you're on Turbopack (default) and that the cache isn't being cleared unnecessarily.
  • For production bundle size issues, use the official Next.js bundle analysis tooling for your version.
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. 10d ago First seen · 45 lines · 39 tokens per session scan A f65da15aabeb

Subscribe to this mod's changes

nextjs-turbopack is an agent published in the GitHub repository raja21068/AutoResearch (2 stars, last pushed 3mo ago), licensed MIT. It adds 39 tokens to every session and 521 once invoked, about $0.0002 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-31.

Related

Other agents, from other repositories

application-performance-frontend-developer

Build React components, implement responsive layouts, and handle client-side state management. Masters React 19, Next.js 15, and modern frontend architecture. Optimizes performance and ensures accessibility. Use PROACTIVELY when creating UI components or fixing frontend issues.

wshobson/agents · 58 tokens

ui-developer

Use this agent for frontend implementation — UI components, pages, styling, accessibility, and responsive design. Handles React/Next.js components, CSS, and design system work. Context: Implementation wave includes UI component work. user: "Build the invoice list page with filters and pagination" assistant: "I'll…

Kanevry/session-orchestrator · 166 tokens

Frontend

React/Next.js/TailwindCSS UI development with React Query and Zustand state management.

intellegix/intellegix-code-agent-toolkit · 19 tokens

growth-landing

Creation and optimization of landing pages. Use to create high-performing conversion pages.

christopherlouet/claude-base · 19 tokens

frontend-platform-engineer

Use this agent when working on frontend code in the your project, including building UI components, implementing streaming interfaces, creating chat/agent UIs, fixing frontend bugs, implementing design system components, handling state management, setting up GraphQL/SSE/WebSocket integrations, or any work in the…

asiflow/claude-nexus-hyper-agent-team · 571 tokens

clone-team-frontend-developer

The build machine of the clone-team. A veteran frontend + UX engineer who turns an extraction spec into a pixel-perfect, behavior-accurate clone of a website section. Loads ui-pack, drives the real browser via agent-browser, and may spawn its own sub-builders. Spawned by the clone-team Manager / build-loop Workflow.

Varalix-Digitech-Solutions/clone-team · 74 tokens