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.
npx agentmods add instructions/internet-development/nextjs-css-agent-components/agents-mdgit clone --depth 1 https://github.com/internet-development/nextjs-css-agent-componentsWhat 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 | $0.05616 | $0.05616 |
| Opus 5 | $0.02808 | $0.02808 |
| Sonnet 5 | $0.01123 | $0.01123 |
| Haiku 4.5 | $0.00562 | $0.00562 |
Grade A, and why
nextjs-css-agent-components 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 2d 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 — 258 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Operating manual for AI agents working in nextjs-css-agent-components. Read this end-to-end before editing.
What this repo is
A Next.js 16 + React 19 + vanilla-CSS starter from Internet Development Studio. It powers wireframes.internet.dev and acts as the studio's design-system reference. Everything is intentionally vanilla — no Tailwind, no SASS, no PostCSS plugins, no CSS-in-JS, no UI library, no test runner, no state manager. Styles are CSS Modules using native CSS nesting (the & selector is plain CSS, compiled by Next.js's built-in Lightning CSS — no preprocessor required). The look is a precise, monospace-leaning, low-chrome wireframe aesthetic, and the precision is the product. Pixel values, type tokens, and theme variables are deliberate and should not be paraphrased away.
The package was previously named
nextjs-sass-starter. SASS has never been a dependency in the current codebase — all styling is vanilla CSS. The package is nownextjs-css-agent-components.
Run / build
npm installnpm run dev— Next dev server on port10000npm run build— production build (TypeScript build errors are NOT ignored; seenext.config.ts)npm run start— production server on port10000npm run format— Prettier write across**/*.{tsx,ts,js,css,json,md}npm run format:check— Prettier check (reports unformatted files without writing)
There is no test runner and no linter configured. The only build-time gate is next build (which typechecks). Don't add a test runner or ESLint config without being asked.
Top-level layout
app/ Minimal app-router scaffolding (head, layout, manifest, robots, sitemap)
pages/ Pages router — this is where routes live (pages/_app.tsx, pages/examples/**)
pages/api/ API routes (currently `index.ts`, `aes.ts`)
pages/examples/ Live demo gallery for every component (animations, components, empty, features, fonts, system)
components/ App-level shell (DefaultLayout, Page, Providers, DefaultMetaTags, logos)
elements/ TIER 1 — atoms. Files import zero other in-repo components.
elements/icons/ Inline SVG icons (currentColor, props-spread). Includes social/.
elements/type/ Typography (H1..H5, Lead, P, Title, Text, SubText, …) + form typography
elements/controls/ Input, TextArea, Loader (form controls with no deps)
elements/marks/ Tag, ActionItem, SmallButton, SignatureBox (small inline document UI)
elements/layouts/ Page/region layout shells (Thin, Wide, Grid, TwoColumn*, Dashboard*, …)
elements/sections/ Full-height / half-height / horizontal section wrappers
elements/scroll/ Scroll-driven containers
elements/charts/ D3 chart components
elements/visuals/ FlippableTiltCard, Isometric*, ImageBlock, Video, ToolbarControlsFixed, …
elements/motion/ TextSwapper (React-driven motion)
elements/diagrams/ ArrowLine and friends
elements/shells/ DefaultLayout, DefaultMetaTags, AnyTextHeader, ListItem, the two logos
components/ TIER 2 — molecules. Compose tier-1 atoms. Flat, 12 components.
(Button, Checkbox, Select, Table, Footer, FormUpload, MonospacePreview,
BlockFade, FadeManager, CheckmarkItem, FormChangePassword, FormSettingsPrivacy)
patterns/ TIER 3 — organisms. Page-level units composed from atoms + molecules.
patterns/chrome/ Navigation, KeyHeader, HamburgerMenuButton, Page, Providers
patterns/modals/ All concrete modal components (ModalAuthentication, ModalNavigationV2, …)
patterns/demos/ All Demo*.tsx — gallery showcases used by pages/examples/
runtime/ Non-component infrastructure. Not in the tier system.
runtime/modals/ ModalContext + GlobalModalManager (provider + renderer)
runtime/detectors/ OutsideElementEvent listener
runtime/testing/ GridTestOverlay (dev-only visual grid)
common/ utilities.ts, hooks.ts, constants.ts, queries.ts, server.ts (shared client/server helpers)
modules/ Lower-level modules (aes, cookies, cors, vary, object-assign)
public/ Static assets (favicons, app icon, skills/)
global.css Reset, @font-face for ServerMono, all CSS custom properties (colors, themes, type, fonts)
animations.css Global @keyframes (blur, fade, slideUp/Down/Left/Right)
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.
- 2d ago First seen · 258 lines · 5,616 tokens per session scan A b3bae532c525
nextjs-css-agent-components AGENTS.md is an instructions file published in the GitHub repository internet-development/nextjs-css-agent-components (216 stars, last pushed 14d ago), licensed MIT. It adds 5,616 tokens to every session, about $0.0281 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-30.
Other instructions, from other repositories
react-starter-kit AGENTS.md
AGENTS.md instructions for kriasoft/react-starter-kit, covering monorepo structure, tech stack, commands, database: bun db:{push,generate,migrate,studio,seed,export} and verification.
magicui AGENTS.md
Instructions for magicuidesign/magicui, covering project context, key principles, before writing code, rules and accessibility (a11y).
react-starter-kit CLAUDE.md
Claude Code instructions for kriasoft/react-starter-kit, a project described as: Modern React starter kit with Bun, TypeScript, Tailwind CSS, tRPC, Stripe, and Cloudflare Workers. Production-ready monorepo for building fast web apps.
react-starter-kit copilot-instructions.md
Copilot instructions for kriasoft/react-starter-kit: Read AGENTS.md in the repository root and any subdirectory AGENTS.md files for project context, conventions, and architecture details before making changes.
core CLAUDE.md
Claude Code instructions for module-federation/core, covering claude task parallelization & development guidelines, core principles, maximum parallelization strategy, universal parallel task patterns and for any codebase task.
intlayer CLAUDE.md
Instructions for aymericzip/intlayer, covering repo layout, commands (run from root), content declaration flow, git and commit conventions.