nextarter-tailwind: Instructions file for Codex

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

Written for Codex and OpenCode: the file is AGENTS.md.

This is agustinusnathaniel/nextarter-tailwind's own configuration. It tells Codex and OpenCode how to work on nextarter-tailwind itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nextarter-tailwind configures →

Reuse

Borrowing it

Nothing to install: this file belongs to agustinusnathaniel/nextarter-tailwind. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/agustinusnathaniel/nextarter-tailwind/main/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/github.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/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 nextarter-tailwind AGENTS.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.01839 $0.01839
Opus 5.5 $0.00736 $0.00736
Sonnet 5.5 $0.00368 $0.00368
Haiku 4.5 $0.00184 $0.00184

Measured 2mo ago against content hash bd64d4147aa3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 (124 stars, last pushed 1mo ago), licensed MIT. It adds 1,839 tokens to every session, about $0.0074 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

nextarter-tailwind AGENTS.md compared with instructions from other repositories

nextarter-tailwind AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nextarter-tailwind AGENTS.mdagustinusnathaniel/nextarter-tailwindInstructions file1241mo agoMITA1,839Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode