Borrowing it
Nothing to install: this file belongs to textura-agency/next16-claude-starter. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/textura-agency/next16-claude-starter/main/AGENTS.mdgit clone --depth 1 https://github.com/textura-agency/next16-claude-starterWrote 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.
[](https://agentmods.dev/instructions/textura-agency/next16-claude-starter/agents-md)<a href="https://agentmods.dev/instructions/textura-agency/next16-claude-starter/agents-md"><img src="https://agentmods.dev/badge/instructions/textura-agency/next16-claude-starter/agents-md/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.
<a href="https://agentmods.dev/instructions/textura-agency/next16-claude-starter/agents-md"><img src="https://agentmods.dev/badge/instructions/textura-agency/next16-claude-starter/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02420 | $0.02420 |
| Opus 5.5 | $0.00968 | $0.00968 |
| Sonnet 5.5 | $0.00484 | $0.00484 |
| Haiku 4.5 | $0.00242 | $0.00242 |
Grade A, and why
next16-claude-starter AGENTS.md 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 13d 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.
How it starts
The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Guide — next16-claude-starter
This is NOT the Next.js you know
This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Heed deprecation notices and verify against the docs before writing routing or framework code.
Documentation lives in the vault
All project documentation is the obsidian/ Obsidian vault — it is the
single source of truth for how this project is built.
Before working, read:
obsidian/README.md— Map of Content (index of every doc)obsidian/workflows/ai-agent-guide.md— full rules of engagement- The relevant topic note (e.g.
frontend/animation-system.mdbefore animation work,workflows/new-page.mdbefore building a page) - Before optimising anything:
obsidian/knowledge/fix-catalog.mdandobsidian/knowledge/pitfalls.md— fixes measured on many production sites, and the traps that misled the measurements. Try rule entries first.
Commands, skills and agents live in .claude/ and are mapped in
obsidian/workflows/agent-harness.md. Common entry points: /new-page,
/section, /qa, /ship, /cms, /db, /seo, /seo-grow, /migrate-site, /perf,
/load, /mobile. The testing tools are tools/qa/* (yarn qa:*) — see
tools/qa/README.md and obsidian/workflows/testing-pipeline.md.
Notes link each other with [[wikilinks]] — follow them to navigate.
Hard rules (never violate)
- All motion is spring-based —
@react-spring/webvia the components insrc/components/animation/springs/. Text animation usesspring-text-engine. No CSS keyframes, noframer-motion. One exception: CSStransition-*is allowed for simple discrete state changes (hover/focus colour, opacity, border, small nudges) with token-backed timing —duration-[var(--duration-fast)] ease-entrance. Everything scroll-driven, revealing, staggered, or layout-affecting stays a spring. Seeobsidian/frontend/design-system.md. - Do not modify
src/components/animation/springs/orsrc/hooks/animation/without explicit sign-off — they are the vendored animation engine. One authorized performance refactor has been made (seedecisions-log.mdADR-0009); they remain protected by default. - Never
mode="manual"onTextEngine— usealways/once/forward/progress.TextEngine's container is flex, sotext-alignalone cannot align it — always pairtext-centerwithjustify-center(etc.) on the tag. Andoverflowclips to the line-height box, so keep leading ≥ 1.1 (leading-display); neverleading-nonewithoverflow, or glyphs get shaved. Seeobsidian/frontend/text-engine.md. - No hardcoded values — design tokens in
globals.cssfor styles; props/hooks for content. No raw hex/px in class names. Tokens follow a strict three-tier convention (--raw-*primitive → semantic role →@themebinding) that is identical across every project built from this starter — seeobsidian/frontend/design-system.md. - Routes delegate to views —
app/**/page.tsximports only fromsrc/views/. - Server Components by default; add
"use client"only at the leaves. - No
any. Type everything. Runyarn lintbefore finishing. - Navigation — standard
next/link<Link>andnext/navigationuseRouter. - API & secrets — external/third-party calls run server-side in
app/api/**/route.ts; secret keys are server-only env vars (neverNEXT_PUBLIC_, read viasrc/env.ts). The browser only calls same-origin/api/*. Validate input withzod; return the{ data }/{ error }envelope. Seeobsidian/backend/api-architecture.md. - Semantic, SEO-correct HTML — native elements over
divs, one<h1>+ a clean heading outline, named landmarks, realbutton/a,alttext, JSON-LD (not microdata), semantictagon animation components. Seeobsidian/frontend/html-semantics.md. - Verify before reporting done.
yarn verify(.claude/scripts/verify.sh, zero FAILs) +yarn lint+yarn buildafter any code change, and theqa-verifyskill after any UI change. Seeobsidian/workflows/qa-verification.md. - CMS & database are Payload + Supabase, added per project — not shipped in
the starter. Use the
payload-cms/supabase-dbskills; seeobsidian/backend/cms-payload.md. Notemiddleware.tsdoes not exist in Next 16 — it isproxy.ts. - Performance → measure, never guess. Build, measure, attribute, fix one
thing, re-measure. Never report a performance win you did not measure.
Records come from
tools/qa/*against a production build (yarn build && yarn start, nevernext dev), PC and mobile, median of 3+ runs, confirmed on the real host. The bar: Performance ≥ 90 on PC and mobile; Accessibility, Best Practices and SEO 100 — for people and for the robot form; scroll ideal (no frame > 50 ms) on PC and phone, first and second visit. Runyarn qa:setuponce per machine. Two skills, by what is slow:- Load — Lighthouse scores, Core Web Vitals, accessibility, SEO →
optimize-load(yarn qa:lh,yarn qa:axe). Seeobsidian/workflows/optimize-load.md. - After load — scroll jank, micro-freezes, dropped frames →
optimize-performance(yarn qa:scroll,--first-scrollafter a loader). Check first whether the first scroll is worse than the second; Lighthouse never scrolls and cannot see this. Seeobsidian/workflows/optimize-performance.md.
- Load — Lighthouse scores, Core Web Vitals, accessibility, SEO →
- 3D performance → use the skill. If the request is about performance,
jank, or shipping readiness and the project renders a three.js / WebGL
scene (
threeinpackage.json, or a canvas with a render loop), invoke theoptimize-3d-sceneskill first and follow its order of fixes — don't improvise one. Seeobsidian/workflows/optimize-3d-scene.md. - Routes stay static; crawlers get the robot form. Never
headers(),cookies()orisBot()in a page, view, layout,lib/siteor the SEO helpers —src/proxy.tsroutes bots (search and AI crawlers) to/robot-view. Don't add anapp/loading.tsxwithout a real skeleton (an empty one hides the page from non-JS crawlers). Every page is registered insrc/lib/routes.ts(sitemap,/llms.txt, breadcrumbs read it);yarn qa:seochecks the served values. The consent banner is server-rendered — it is often the phone's LCP. Seeobsidian/frontend/robot-form.md,.claude/rules/seo-robot.md. - Loops and frames. Every looping spring reads
useMotionOff()(reduced motion and the robot form would otherwise freeze the page). Per-frame code scales bydtin seconds (src/lib/scene/per-frame.ts) — 120 Hz phones run per-frame steps twice as fast. No fixed frame cap on phones (it reads as choppy); desktop scenes may gate the draw at ~60 fps (createDrawGate). Never stop drawing a canvas that is on screen; recover lost WebGL contexts (src/lib/scene/webgl-context.ts). See.claude/rules/scenes.md. - Phones are checked on phones. Lab tools miss what a person sees on an
iPhone: Safari's toolbar resizing the viewport, 120 Hz speed, lost GPU
contexts, menus under the bottom bar, dark-mode overlays, touch sliders.
Full-screen scene boxes use the large viewport (
<SceneViewport>); menus useh-dvh+ the safe area, their own colour token and a portal under<body>. Something wrong on a phone →mobile-device-qa(/mobile,yarn qa:ios,qa:fps,qa:context,qa:webkit— WebKit for iOS-only bugs). Before calling UI done, have it opened on a real phone; if that didn't happen, say so. Seeobsidian/workflows/mobile-device-qa.md. - No placeholders at launch.
src/lib/site.tsshipsTODO:values on purpose: every build warns and a Vercel production build fails until the name, description, URL and brand assets are filled (brand kit:yarn qa:brand). Seeobsidian/frontend/seo-metadata.md.
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.
- 13d ago Changed · +2 lines · +44 tokens per session 7b49802f1ae3
- 21d ago Changed · +39 lines · +783 tokens per session cc492637419b
- 1mo ago Changed · +3 lines · +59 tokens per session 4bfd9a1b0652
- 1mo ago Changed · +8 lines · +135 tokens per session ec002c3a42a9
- 1mo ago First seen · 92 lines · 1,399 tokens per session scan A 0608d9ad6039
next16-claude-starter AGENTS.md is an instructions file published in the GitHub repository textura-agency/next16-claude-starter (139 stars, last pushed 13d ago), licensed Unlicense. It adds 2,420 tokens to every session, about $0.0097 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.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.