next-builder

next-builder is an agent for Claude Code from toffyui/ccteams. It costs 64 tokens per session (950 once invoked), scanned A, original, MIT.

A coding agent for building pages and backend features in Next.js, a React web framework, with TypeScript and Tailwind CSS.

In plain words
What is it for?
Use it to create layouts, pages, React components, server actions, route handlers, and typed data fetching in Next.js projects using the app directory.
Why use it?
It provides project-specific guidance for separating server and browser code, handling data and updates, and checking the complete Next.js build.

Agent for Claude Code

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

Good fit Use it to create layouts, pages, React components, server actions, route handlers, and typed data fetching in Next.js projects using the app directory.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/toffyui/ccteams/next-builder
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/toffyui/ccteams

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 next-builder

README.md
[![agentmods](https://agentmods.dev/badge/agents/toffyui/ccteams/next-builder/github.svg)](https://agentmods.dev/agents/toffyui/ccteams/next-builder)
Your own site
<a href="https://agentmods.dev/agents/toffyui/ccteams/next-builder"><img src="https://agentmods.dev/badge/agents/toffyui/ccteams/next-builder/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 next-builder

Your own site · 80×15
<a href="https://agentmods.dev/agents/toffyui/ccteams/next-builder"><img src="https://agentmods.dev/badge/agents/toffyui/ccteams/next-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 950 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.00064 $0.00950
Opus 5.5 $0.00026 $0.00380
Sonnet 5.5 $0.00013 $0.00190
Haiku 4.5 $0.00006 $0.00095

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

Security

Grade A, and why

next-builder 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 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.

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.

teams/next-ts/agents/next-builder.md · 62 lines

How it starts

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

You implement features in Next.js (App Router) + TypeScript + Tailwind. Match the project's existing conventions before imposing your own — read neighboring files first.

FIRST ACTION: Read .claude/skills/next-ts-playbook/SKILL.md and follow it. If the file is absent, apply the rules below. Non-negotiable minimums from it: locate your change on the RSC/client boundary before writing, and push "use client" to the smallest interactive leaf (never a whole page for one button); fetch initial data in Server Components with await, never useEffect; write cache intent explicitly on every fetch (no-store / revalidate / force-cache) because the default changed between Next 14 and 15; route every mutation through a Server Action that validates its input and calls revalidatePath/revalidateTag; type every boundary (props, action inputs, route payloads) — no any, no @ts-ignore; run next build, not just tsc, because it statically catches boundary violations tsc cannot.

Default assumptions (override if the repo says otherwise)

  • Next.js 14+ with the app/ directory; React Server Components by default.
  • TypeScript in strict mode. No any — prefer unknown + narrowing, generics, or a precise type. Type props and return values explicitly at module boundaries.
  • Tailwind for styling. Co-locate component styles via utility classes; extract to a component when a class string repeats or branches.
  • Package manager: detect from the lockfile (pnpm-lock.yaml → pnpm, yarn.lock → yarn, else npm). Never introduce a second lockfile.

Server vs Client Components — the decision you must get right

  • Keep components Server Components unless they need interactivity. Add "use client" ONLY when the component uses state, effects, event handlers, or browser-only APIs.
  • Push "use client" to the leaves. Never make a whole page a Client Component to get one interactive button — extract the button.
  • Fetch data in Server Components with async/await directly; do not add client-side useEffect fetching for data that can be fetched on the server.
  • Mutations go through Server Actions ("use server"), not ad-hoc API routes, unless the project already standardizes on route handlers. Revalidate with revalidatePath / revalidateTag after a mutation.

Read the full file on GitHub · 62 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 · 62 lines · 64 tokens per session scan A f1b510da4836

Subscribe to this mod's changes

next-builder is an agent published in the GitHub repository toffyui/ccteams (48 stars, last pushed 1mo ago), licensed MIT. It adds 64 tokens to every session and 950 once invoked, about $0.0003 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-08-30.

Related

Other agents, from other repositories

Project Scaffolder

Full-stack Azure AI Foundry application scaffolder for React + FastAPI + azd projects.

microsoft/skills · 23 tokens

fullstack-craftsman

MANDATORY specialist subagent for Fullstack implementation (React 19, Next.js 15, Tailwind v4, Node.js/Bun/Hono backend, Database ORM, and API Design). Delegate to this subagent for writing, modifying, or refactoring fullstack application code.

roedyrustam/vibes-plug · 63 tokens

tauri-security-reviewer

The project's cross-cutting SECURITY AUTHORITY — desktop, application, backend, AI, data, abuse-prevention, and supply-chain security. Use (as Primary for security-config, as the standard Secondary on any risk-bearing change) for capabilities/, tauri.conf.json, permissions/, updater/plugins, net/, credentials/…

saeedkolivand/ai-job-hunter-app · 117 tokens

rust-backend-architect

Primary reviewer for the Rust/Tauri backend — domain modeling, error handling, module boundaries (L0–L3 layers), the centralized platform/net/error layers, data/SQLite/migrations/GDPR, and Rust-first business-logic ownership. Use for changes under apps/desktop/src-tauri/src/ that aren't owned by a more specific domain…

saeedkolivand/ai-job-hunter-app · 77 tokens

agent-cli-author

WRITE-access implementer for the agent-facing CLI surface (ajh-tauri agent …) — CLI verbs, argv parsing, the agent.query/agent.result bridge resources, allowlist projections, the machine-readable output contract, help/schema generation, and destructive-command ergonomics. Use for changes to extensionbridge/agentcli.rs…

saeedkolivand/ai-job-hunter-app · 117 tokens

rust-backend-author

WRITE-access implementer for the Rust/Tauri backend (apps/desktop/src-tauri/src/ not owned by a more specific domain, packages/shared/) — domain modeling, error handling, module boundaries, data/SQLite/migrations. Implements to spec; never approves its own work — rust-backend-architect audits it…

saeedkolivand/ai-job-hunter-app · 78 tokens