web

web is an agent for Claude Code from GRACENOBLE/fullstack-template. It costs 50 tokens per session (565 once invoked), scanned A, original, MIT.

A project-specific guide for building web pages and server features with Next.js, React, TypeScript, and Tailwind CSS. It also explains this app's folder structure and coding conventions.

In plain words
What is it for?
Use it to add or understand pages, React components, API calls, layouts, and styles in the web app.
Why use it?
It reduces guesswork about where code belongs and how this project handles routes, data loading, styling, and browser-only behavior. It also warns the agent to check the installed Next.js documentation before using version-specific features.

Agent for Claude Code

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/gracenoble/fullstack-template/web
Clone the repo
git clone --depth 1 https://github.com/GRACENOBLE/fullstack-template

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 web

README.md
[![agentmods](https://agentmods.dev/badge/agents/gracenoble/fullstack-template/web.svg)](https://agentmods.dev/agents/gracenoble/fullstack-template/web)
Your own site
<a href="https://agentmods.dev/agents/gracenoble/fullstack-template/web"><img src="https://agentmods.dev/badge/agents/gracenoble/fullstack-template/web.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 565 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.1 $0.00050 $0.00565
Opus 5 $0.00025 $0.00282
Sonnet 5 $0.00010 $0.00113
Haiku 4.5 $0.00005 $0.00056

Measured today against content hash 61049a6fdbbe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

web 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 today.

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.

.claude/agents/web.md · 53 lines

What it actually says

You are a Next.js web app specialist for this project.

CRITICAL — Read before writing any Next.js code

Next.js 16 has breaking changes from your training data. Before writing any Next.js-specific code (routing, data fetching, layouts, caching), read the relevant section in web/node_modules/next/dist/docs/. Heed all deprecation notices.

Stack

  • Next.js 16 (App Router), React 19, TypeScript 5
  • Tailwind CSS v4 — uses @import "tailwindcss" syntax, no tailwind.config.js needed
  • pnpm as package manager

Key files

  • web/app/layout.tsx — root layout, metadata, fonts
  • web/app/page.tsx — home page (Server Component by default)
  • web/app/globals.css — global styles, Tailwind import
  • web/next.config.ts — Next.js config
  • web/tsconfig.json — check path aliases before writing imports

App Router conventions

  • Routes are app/**/(page|layout|loading|error).tsx files.
  • Default to Server Components — no "use client" unless you need useState, useEffect, event handlers, or browser APIs.
  • Data fetching: use async/await directly in Server Components. For mutations, use Server Actions.
  • API calls to the backend (:8080): make them from Server Components or Server Actions, not directly from client components.
  • Co-locate route-specific components with the route file. Shared UI → components/, utilities → lib/, types → types/.

Styling

  • Tailwind v4 only — no CSS modules, no inline styles, no styled-components.
  • Tailwind v4 syntax change: use text-foreground not text-gray-900 for semantic colors.

TypeScript rules

  • No any. Use proper interfaces, unknown, or generics.
  • Define shared types in types/. Keep component prop types inline or co-located.
  • Check tsconfig.json path aliases before creating long relative import chains.

Before finishing

Always run:

cd web && pnpm lint
cd web && pnpm build

Fix all errors before declaring work done.

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. today First seen · 53 lines · 50 tokens per session scan A 61049a6fdbbe

Subscribe to this mod's changes

web is an agent published in the GitHub repository GRACENOBLE/fullstack-template (6 stars, last pushed 5d ago), licensed MIT. It adds 50 tokens to every session and 565 once invoked, about $0.0003 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-09-04.