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 skills add saajunaid/caddis-plugin --skill nextjs-app-routergit clone --depth 1 https://github.com/saajunaid/caddis-pluginWrote 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/skills/saajunaid/caddis-plugin/nextjs-app-router)<a href="https://agentmods.dev/skills/saajunaid/caddis-plugin/nextjs-app-router"><img src="https://agentmods.dev/badge/skills/saajunaid/caddis-plugin/nextjs-app-router/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.
<a href="https://agentmods.dev/skills/saajunaid/caddis-plugin/nextjs-app-router"><img src="https://agentmods.dev/badge/skills/saajunaid/caddis-plugin/nextjs-app-router.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00049 | $0.02257 |
| Opus 5.5 | $0.00020 | $0.00903 |
| Sonnet 5.5 | $0.00010 | $0.00451 |
| Haiku 4.5 | $0.00005 | $0.00226 |
Grade A, and why
nextjs-app-router 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.
How it starts
The opening of the file, as written. The whole thing — 272 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Next.js App Router Skill
Covers Next.js 13+ App Router conventions. Companion to react-dev (typing) and react-best-practices (patterns). Always read those for React-level decisions.
1. File Conventions
app/
├── layout.tsx # Root shell — fonts, providers, global nav. Always present.
├── page.tsx # Default route segment UI
├── loading.tsx # Suspense boundary UI while segment loads
├── error.tsx # Error boundary ('use client' required)
├── not-found.tsx # 404 for segment
├── template.tsx # Re-mounts on navigation (vs layout which persists)
├── (marketing)/ # Route group — no URL segment, just org
│ ├── about/page.tsx
│ └── pricing/page.tsx
├── dashboard/
│ ├── layout.tsx # Nested layout (persists across dashboard routes)
│ └── settings/page.tsx
└── api/
└── webhook/route.ts # Route handler
Key Rules
error.tsxmust be'use client'— React error boundaries require it.loading.tsxwraps the segment'spage.tsxin<Suspense>automatically.template.tsxre-mounts children on every navigation; use only when fresh mount is needed.- Route groups
(group)do not affect URL paths — use for layout isolation or code organisation.
2. Server vs Client Components — Decision Tree
Does this component need:
- useState / useReducer? → 'use client'
- useEffect? → 'use client'
- Browser APIs (window, document)? → 'use client'
- Event listeners? → 'use client'
- Framer Motion / animation libs? → 'use client'
- Third-party client-side context? → 'use client'
Otherwise: → Server Component (default)
Composition Pattern
// ✅ GOOD: Push 'use client' to the leaf
// app/dashboard/page.tsx — Server Component
import { InteractiveChart } from './interactive-chart'
export default async function DashboardPage() {
const data = await fetchData() // Direct async/await — no useEffect needed
return <InteractiveChart initialData={data} />
}
// interactive-chart.tsx
'use client'
export function InteractiveChart({ initialData }: { initialData: Data }) {
const [filter, setFilter] = useState('all')
// ...
}
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.
- 2mo ago Changed · -34 tokens per session 1dbe9da8a279
- 2mo ago First seen · 272 lines · 83 tokens per session scan A 0ac6edbf8635
nextjs-app-router is a skill published in the GitHub repository saajunaid/caddis-plugin (0 stars, last pushed 3d ago), licensed MIT. It adds 49 tokens to every session and 2,257 once invoked, about $0.0002 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-09-03.
nextjs-app-router compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nextjs-app-routersaajunaid/caddis-plugin | Skill | 0 | 3d ago | MIT | A | 49 | Claude Code, Codex |
| rn-best-practicesLykhoyda/rn-dev-agent | Skill | 20 | 1mo ago | MIT | A | 98 | Claude Code |
| rn-feature-devLykhoyda/rn-dev-agent | Skill | 20 | 1mo ago | MIT | A | 34 | Claude Code, Codex |
| vercel-composition-patternsLykhoyda/rn-dev-agent | Skill | 20 | 1mo ago | MIT | A | 58 | Claude Code, Codex |
| vercel-react-best-practicesLykhoyda/rn-dev-agent | Skill | 20 | 1mo ago | MIT | A | 67 | Claude Code, Codex |
| agent-spec-mobile-react-nativeruvnet/ruflo | Skill | 83k | today | MIT | A | 22 | Claude Code |
| canvas-webappBlackBeltTechnology/pi-agent-dashboard | Skill | 357 | today | MIT | A | 99 | Claude Code, Codex |