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/ninsau/nextjs-reusable-table/agents-mdgit clone --depth 1 https://github.com/ninsau/nextjs-reusable-tableWrote 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/ninsau/nextjs-reusable-table/agents-md)<a href="https://agentmods.dev/instructions/ninsau/nextjs-reusable-table/agents-md"><img src="https://agentmods.dev/badge/instructions/ninsau/nextjs-reusable-table/agents-md.svg" alt="Measured on agentmods" 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 | $0.00728 | $0.00728 |
| Opus 5 | $0.00364 | $0.00364 |
| Sonnet 5 | $0.00146 | $0.00146 |
| Haiku 4.5 | $0.00073 | $0.00073 |
Grade A, and why
nextjs-reusable-table 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 5d 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 — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI Agent Guide — nextjs-reusable-table
This file is read by AI coding assistants (Cursor, Claude Code, GitHub Copilot, etc.) when contributing to this library.
For full coding standards, setup instructions, and contribution guidelines, see CONTRIBUTING.md.
Quick Commands
npm run check:fix # fix all lint + format issues (run this first)
npm run type-check # TypeScript validation
npm run test # Jest test suite
npm run build # tsup + Tailwind CSS build
npm run validate # all of the above in sequence
Project Layout
src/components/ # React components (TableComponent, ActionDropdown, …)
src/components/__tests__/ # Jest test files (*.test.tsx)
src/types/index.ts # All TypeScript interfaces — add new ones here
src/utils/helpers.ts # Pure utility functions
src/styles/tableStyles.css # Scoped @layer rtbl { .rtbl-* } CSS only
src/index.ts # Public exports
.cursor/rules/ # Cursor IDE rules (auto-attached per file type)
skills/ # agentskills.io installable skill
AI-Specific Rules
What to always do
- Check existing patterns in the component being modified before adding new code
- Add any new prop to
src/types/index.ts(theTableProps<T>or relevant sub-interface), never inline - Verify
useMemo/useCallback/useStateare called before any early return (Rules of Hooks) - Run
npm run check:fix && npm run testbefore declaring a task complete
What never to do
- Do not add
@importof any third-party CSS tosrc/styles/tableStyles.css - Do not place CSS rules outside
@layer rtbl { ... }intableStyles.css - Do not introduce bare element selectors (e.g.,
table { },th { }) — use.rtbl-table th - Do not use
anytype — Biome will reject it - Do not omit
"use client"on any component file - Do not move React hooks below conditional branches
CSS Style Isolation
The dist/index.css ships only .rtbl-* classes wrapped in @layer rtbl.
The react-loading-skeleton CSS is intentionally excluded from the CSS bundle and loaded on-demand by TableSkeleton.tsx. This was the source of style leaking in earlier versions — do not revert this.
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.
- 5d ago First seen · 70 lines · 728 tokens per session scan A edc142a47f3c
nextjs-reusable-table AGENTS.md is an instructions file published in the GitHub repository ninsau/nextjs-reusable-table (6 stars, last pushed 6mo ago), licensed 0BSD. It adds 728 tokens to every session, about $0.0036 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-31.
Other instructions, from other repositories
thunderbolt AGENTS.md
AGENTS.md instructions for thunderbird/thunderbolt, covering core principles, typescript & code style, tooling & libraries, react patterns and useeffect discipline.
copilot-instructions
This file describes the coding style and guidelines for the project, which will be used by GitHub Copilot to generate code suggestions that align with the project's standards.
react-seed AGENTS.md
Instructions for guokaigdg/react-seed, covering agents.md, 目录, 1. 项目概览, 2. 技术栈 and 3. 目录结构.
Kokoro-Engine CLAUDE.md
Claude Code instructions for chyinan/Kokoro-Engine, covering claude.md, git 规范, 项目概述, 常用命令 and 安装依赖.
console copilot-instructions.md
Copilot instructions for kubestellar/console, covering copilot instructions for kubestellar console, mandatory: build and lint before every commit, commit workflow, project structure and code standards.
motion-lexicon AGENTS.md
AGENTS.md instructions for Ryan-yang125/motion-lexicon, covering agent instructions, operating context, communication, product boundary and technical stack.