next-shadcn-dashboard-starter: Instructions file for Codex

AGENTS.md

next-shadcn-dashboard-starter AGENTS.md is an instructions file for Codex, OpenCode from Kiranism/next-shadcn-dashboard-starter. It costs 6,479 tokens per session, scanned A, original, MIT.

Project instructions for an AI coding agent working on a Next.js admin dashboard starter. They describe the project structure, technologies, runtime, styling, authentication, monitoring, charts, and preferred package managers.

In plain words
What is it for?
Use them when developing, reviewing, or troubleshooting this TypeScript dashboard built with Next.js, Tailwind CSS, shadcn/ui, Clerk, Sentry, and Recharts.
Why use it?
They give the agent the background and conventions needed to make changes that fit the existing project.

Instructions file for CodexOpenCode

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

This is Kiranism/next-shadcn-dashboard-starter's own configuration. It tells Codex and OpenCode how to work on next-shadcn-dashboard-starter 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 next-shadcn-dashboard-starter configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { createEntity } from '../api/service';.

About the project

next-shadcn-dashboard-starter is an open-source Next.js template for building admin dashboards with working tables, forms, authentication, organizations, and billing. It is intended as a starting point for SaaS products and internal tools that need reusable TypeScript, Tailwind CSS, and shadcn/ui patterns. The catalogue entries provide skills and instructions for working with this dashboard project.

Kiranism/next-shadcn-dashboard-starter · 6,968 stars · on GitHub · dub.sh

Reuse

Borrowing it

Nothing to install: this file belongs to Kiranism/next-shadcn-dashboard-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.

Copy the file
curl -O https://raw.githubusercontent.com/Kiranism/next-shadcn-dashboard-starter/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Kiranism/next-shadcn-dashboard-starter

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 next-shadcn-dashboard-starter AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kiranism/next-shadcn-dashboard-starter/agents-md/github.svg)](https://agentmods.dev/instructions/kiranism/next-shadcn-dashboard-starter/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/kiranism/next-shadcn-dashboard-starter/agents-md"><img src="https://agentmods.dev/badge/instructions/kiranism/next-shadcn-dashboard-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.

agentmods 80×15 button for next-shadcn-dashboard-starter AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/kiranism/next-shadcn-dashboard-starter/agents-md"><img src="https://agentmods.dev/badge/instructions/kiranism/next-shadcn-dashboard-starter/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,479 This file is loaded in full into every session.
When invoked 6,479 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.06479 $0.06479
Opus 5 $0.03240 $0.03240
Sonnet 5 $0.01296 $0.01296
Haiku 4.5 $0.00648 $0.00648

Measured 10d ago against content hash 9f7c1db0806b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

next-shadcn-dashboard-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 10d 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 · 764 lines

How it starts

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

AGENTS.md - AI Coding Agent Reference

This file provides essential information for AI coding agents working on this project. It contains project-specific details, conventions, and guidelines that complement the README.


Project Overview

Next.js Admin Dashboard Starter is a production-ready admin dashboard template built with:

  • Framework: Next.js 16 (App Router)
  • Language: TypeScript 5.7
  • Styling: Tailwind CSS v4
  • UI Components: shadcn/ui (New York style)
  • Authentication: Clerk (with Organizations/Billing support)
  • Error Tracking: Sentry
  • Charts: Recharts
  • Containerization: Docker (Node.js & Bun Dockerfiles)
  • Package Manager: Bun (preferred) or npm

The project follows a feature-based folder structure designed for scalability in SaaS applications, internal tools, and admin panels.


Technology Stack Details

Core Framework & Runtime

  • Next.js 16.0.10 with App Router
  • React 19.2.0
  • TypeScript 5.7.2 with strict mode enabled

Styling & UI

  • Tailwind CSS v4 (using @import 'tailwindcss' syntax)
  • PostCSS with @tailwindcss/postcss plugin
  • shadcn/ui component library (Radix UI primitives)
  • CSS custom properties for theming (OKLCH color format)

State Management

  • Zustand 5.x for local UI state in the stateful demo features
  • Nuqs for URL search params state management
  • TanStack Form + Zod for form handling (createFormHook + shadcn Field-anatomy components)

Data Fetching & Caching

  • TanStack React Query for data fetching, caching, and mutations
  • Server-side prefetching with HydrationBoundary + dehydrate
  • Client-side useQuery + nuqs shallow: true for tables (no RSC round-trips on pagination/filter)
  • useMutation + invalidateQueries for form submissions
  • Query client singleton in src/lib/query-client.ts

Authentication & Authorization

  • Clerk for authentication and user management
  • Clerk Organizations for multi-tenant workspaces
  • Clerk Billing for subscription management (B2B)
  • Client-side RBAC for navigation visibility

Read the full file on GitHub · 764 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. 10d ago First seen · 764 lines · 6,479 tokens per session scan A 9f7c1db0806b

Subscribe to this mod's changes

next-shadcn-dashboard-starter AGENTS.md is an instructions file published in the GitHub repository Kiranism/next-shadcn-dashboard-starter (6,968 stars, last pushed 16d ago), licensed MIT. It adds 6,479 tokens to every session, about $0.0324 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.

Related

Other instructions, from other repositories

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.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

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).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

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.

langchain-ai/langchain · 4,469 tokens