nextarter-tailwind AGENTS.md

nextarter-tailwind AGENTS.md is an instructions file for Codex, OpenCode from agustinusnathaniel/nextarter-tailwind. It costs 1,839 tokens per session, scanned A, original, MIT.

A development guide for a Next.js website using Tailwind CSS and Biome. It tells agents where page content and shared layout code belong, and requires reading the installed Next.js documentation before making changes.

In plain words
What is it for?
Use it when changing pages, shared layouts, routing, styling, or tooling in the Next.js project.
Why use it?
It prevents page logic from being placed in the routing shell and avoids using outdated Next.js knowledge. It also keeps package-manager, styling, and linting choices consistent.

Instructions file for CodexOpenCode

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 instructions/agustinusnathaniel/nextarter-tailwind/agents-md
Clone the repo
git clone --depth 1 https://github.com/agustinusnathaniel/nextarter-tailwind

Made for: Codex, OpenCode.

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 nextarter-tailwind AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/agustinusnathaniel/nextarter-tailwind/agents-md.svg)](https://agentmods.dev/instructions/agustinusnathaniel/nextarter-tailwind/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/agustinusnathaniel/nextarter-tailwind/agents-md"><img src="https://agentmods.dev/badge/instructions/agustinusnathaniel/nextarter-tailwind/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,839 This file is loaded in full into every session.
When invoked 1,839 The same file — it is already loaded in full.
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 $0.01839 $0.01839
Opus 5 $0.00920 $0.00920
Sonnet 5 $0.00368 $0.00368
Haiku 4.5 $0.00184 $0.00184

Measured 4d ago against content hash bd64d4147aa3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

nextarter-tailwind 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 4d 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.

AGENTS.md · 189 lines

How it starts

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

Next.js: ALWAYS read docs before coding

Before any Next.js work, find and read the relevant doc in node_modules/next/dist/docs/. Your training data is outdated — the docs are the source of truth.

AI Agent Guidance: nextarter-tailwind

This file provides context and instructions for AI agents (Cursor, Antigravity, Zed, Windsurf) to effectively navigate and modify this repository.


1. Mental Model for Agents

Implementation Delegation

The most important pattern to understand is that src/app is just a shell.

  • To modify a page's content, look in src/lib/pages/[page-name].
  • To modify the site-wide layout, look in src/lib/layout.
  • Do NOT add heavy logic or massive JSX blocks directly into src/app.

Tooling Strategy

  • Linter: We use Biome. Do not suggest adding ESLint or Prettier config.
  • Package Manager: pnpm. Use pnpm for all commands.
  • Styles: Tailwind CSS v4. Use standard utility classes.

2. Module Blueprint

Directory Content Type Change Frequency Risk Level
src/app Routing/Next.js glue Low High (Affects routing)
src/lib/pages Feature implementation High Low
src/lib/layout Shared UI shell Medium Medium
src/lib/components Atomic components Medium Low
src/lib/styles Design System/Global CSS Low High

  • Adding a Page: "I want to add a new page /about. Create a new directory src/lib/pages/about, implement the component there, and then create src/app/about/page.tsx that exports it."
  • Adding a Shared Component: "Create a new atomic component Button in src/lib/components/button.tsx. Follow the kebab-case naming convention and use named exports."
  • Refactoring Styles: "Review the Tailwind classes in src/lib/pages/home/index.tsx and suggest optimizations or consistency improvements based on the existing design tokens in globals.css."

Read the full file on GitHub · 189 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. 4d ago First seen · 189 lines · 1,839 tokens per session scan A bd64d4147aa3

Subscribe to this mod's changes

nextarter-tailwind AGENTS.md is an instructions file published in the GitHub repository agustinusnathaniel/nextarter-tailwind (125 stars, last pushed 3d ago), licensed MIT. It adds 1,839 tokens to every session, about $0.0092 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.