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 LeahyCC/claude-skills --skill nextjs-app-routergit clone --depth 1 https://github.com/LeahyCC/claude-skillsWrote 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/leahycc/claude-skills/nextjs-app-router)<a href="https://agentmods.dev/skills/leahycc/claude-skills/nextjs-app-router"><img src="https://agentmods.dev/badge/skills/leahycc/claude-skills/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/leahycc/claude-skills/nextjs-app-router"><img src="https://agentmods.dev/badge/skills/leahycc/claude-skills/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.00060 | $0.00865 |
| Opus 5.5 | $0.00024 | $0.00346 |
| Sonnet 5.5 | $0.00012 | $0.00173 |
| Haiku 4.5 | $0.00006 | $0.00086 |
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 1mo 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 — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Next.js App Router
Preserve the app's supported version and configuration. Prefer server rendering and direct server reads where they fit; keep interactive and live browser behavior where needed.
Establish the context
Inspect package.json, lockfile, route folders, next.config.*, and project instructions. Identify the installed Next.js/React versions, App vs Pages Router, runtime/deployment constraints, and whether Cache Components is enabled. In monorepos resolve these from the affected app. Do not upgrade packages or enable features merely to fit an example.
Prefer version-matched docs bundled at node_modules/next/dist/docs/ on Next.js 16.2+, when available. Otherwise consult official docs for the supported version. The live docs can describe a newer minor; confirm API version history and config before use. Distinguish stable APIs, experimental options, deprecations and project conventions.
Choose the relevant resource
Read only the resources needed for the task; follow their official links when a version or behavior is uncertain.
| Task | Resource |
|---|---|
| Server/client boundaries, composition, serialization | Server Components |
| Reads, streaming, browser data, actions, HTTP endpoints | Data fetching |
| Existing cache mode, Cache Components, private/remote cache, invalidation | Caching |
| Layouts, dynamic routes, search, parallel/intercepting routes | Routing |
| Request redirects/rewrites and optimistic auth gates | Proxy |
| Expected errors, loading, recovery, 404 response semantics | Error handling |
| Metadata exports, inheritance and SEO integration | Metadata |
| Image/font configuration and loading tradeoffs | Assets |
| Incremental Pages to App migration | Migration |
| Deliberate major/minor upgrades | Version changes |
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- README.md 2.2 KB
- resources/assets.md 3.7 KB
- resources/caching.md 7.0 KB
- resources/data-fetching.md 4.7 KB
- resources/error-handling.md 3.8 KB
- resources/metadata-and-seo.md 2.7 KB
- resources/migration.md 3.6 KB
- resources/proxy.md 2.9 KB
- resources/routing.md 5.1 KB
- resources/server-components.md 3.2 KB
- resources/version-changes.md 4.0 KB
- SOURCES.md 16 KB
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.
- 1mo ago Changed · -17 lines fe0a65d6474f
- 1mo ago Changed · -115 lines · -9 tokens per session d7f1fed20232
- 3mo ago First seen · 181 lines · 69 tokens per session scan A 95ccdefce298
nextjs-app-router is a skill published in the GitHub repository LeahyCC/claude-skills (4 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 865 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-08-31.
nextjs-app-router compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nextjs-app-routerLeahyCC/claude-skills | Skill | 4 | yesterday | MIT | A | 60 | Claude Code, Codex |
| Accessibility Audit HelperNotysoty/openagentskills | Skill | 9 | 3mo ago | MIT | A | 23 | Claude Code, Codex |
| accessibilityericrisco/rsc-harness | Skill | 691 | 5d ago | MIT | A | 86 | Claude Code, Codex |
| kb-framework-accessibilityCommunity-Access/accessibility-agents | Skill | 460 | today | MIT | A | 37 | Claude Code, Codex |
| Axe-core Accessibility TestingPramodDutta/qaskills | Skill | 253 | 28d ago | MIT | A | 33 | Claude Code, Codex |
| Accessibility AuditorPramodDutta/qaskills | Skill | 253 | 28d ago | MIT | A | 32 | Claude Code, Codex |
| Accessibility A11y EnhancedPramodDutta/qaskills | Skill | 253 | 28d ago | MIT | A | 34 | Claude Code, Codex |