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/thesethrose/copilot-skills/nextjsgit clone --depth 1 https://github.com/TheSethRose/Copilot-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/instructions/thesethrose/copilot-skills/nextjs)<a href="https://agentmods.dev/instructions/thesethrose/copilot-skills/nextjs"><img src="https://agentmods.dev/badge/instructions/thesethrose/copilot-skills/nextjs.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.00293 | $0.00293 |
| Opus 5 | $0.00147 | $0.00147 |
| Sonnet 5 | $0.00059 | $0.00059 |
| Haiku 4.5 | $0.00029 | $0.00029 |
Grade A, and why
Copilot-Skills nextjs.instructions.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 4d 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.
This is a copy
77% identical to Copilot-Skills better-auth.instructions.md — 34 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
Nextjs Instructions
Auto-loaded when: Working with files matching: **/*.jsx, **/*.tsx, **/next.config.*, **/app/**, **/pages/**
Default Behaviors
When working with nextjs:
- Follow Official Patterns: Use patterns from official nextjs documentation
- Code Quality: Follow nextjs best practices and conventions
- Error Handling: Implement robust error handling appropriate for nextjs
- Documentation: Include inline comments for complex nextjs usage
Common Workflows
Setup & Installation
Check references/getting_started.md for:
- Installation steps
- Configuration options
- Initial setup
Development
- Reference official documentation patterns
- Use type-safe code when applicable
- Follow nextjs naming conventions
- Test thoroughly
Debugging
Common issues and solutions documented in references/ files.
Quality Guidelines
- ✅ Use official nextjs APIs and patterns
- ✅ Follow community best practices
- ✅ Write maintainable, readable code
- ✅ Include error handling
- ⚠️ Avoid deprecated features
- ⚠️ Don't bypass nextjs safety features
Resources
- Skill prompt:
.github/prompts/nextjs.skill.prompt.md - References:
.github/copilot-skills/frontend/nextjs/references/ - Official docs: https://nextjs.org/
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.
- 4d ago First seen · 48 lines · 293 tokens per session scan A a65efa6286d6
Copilot-Skills nextjs.instructions.md is an instructions file published in the GitHub repository TheSethRose/Copilot-Skills (3 stars, last pushed 8mo ago), licensed MIT. It adds 293 tokens to every session, about $0.0015 per session on Opus 5. A static security scan graded it A with 0 findings. It is 77% identical to Copilot-Skills better-auth.instructions.md, differing in 34 lines, and is treated as a copy.
Other instructions, from other repositories
copilot copilot-instructions.md
Copilot instructions for navikt/copilot, covering copilot instructions for navikt/copilot, repository overview, nav development standards, nav principles and nav tech stack.
copilot AGENTS.md
AGENTS.md instructions for navikt/copilot, covering agents.md for navikt/copilot, what this repo is, efficiency rule, standard commands and conventions.
Project Guidelines
VS Code extension project guidelines for GitHub Copilot Insights. Covers project shape, code style, VS Code extension rules, build and test, and repository discipline.
Repo Validation Workflow
Use when: changing, validating, testing, or reviewing this VS Code extension repository. Covers npm compile, lint, test harness, Electron test caveats, and build output.
sensei AGENTS.md
Instructions for spboyer/sensei, covering agents.md, repository structure, key conventions, skill.md format and skill body (markdown).
SonarCloud-Skill-Agent-Guidance
Repository guidance for the SonarCloud/SonarQube findings management skill.