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 neverinfamous/memory-journal-mcp --skill next-best-practicesgit clone --depth 1 https://github.com/neverinfamous/memory-journal-mcpWrote 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/neverinfamous/memory-journal-mcp/next-best-practices)<a href="https://agentmods.dev/skills/neverinfamous/memory-journal-mcp/next-best-practices"><img src="https://agentmods.dev/badge/skills/neverinfamous/memory-journal-mcp/next-best-practices/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/neverinfamous/memory-journal-mcp/next-best-practices"><img src="https://agentmods.dev/badge/skills/neverinfamous/memory-journal-mcp/next-best-practices.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.01229 |
| Opus 5 | $0.00024 | $0.00615 |
| Sonnet 5 | $0.00010 | $0.00246 |
| Haiku 4.5 | $0.00005 | $0.00123 |
Grade A, and why
next-best-practices 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 9d 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 — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Next.js Best Practices
Apply these rules when writing or reviewing Next.js code.
Auto-Load Mechanism
This skill is configured with user-invocable: false to avoid trigger collisions with other Next.js/React skills. It acts as an implicit dependency that provides detailed file convention and RSC rules when navigating Next.js architectures.
1. File Conventions & Routing
- App Router: Always use the
app/directory. - Middleware: Use
middleware.tsat the root for routing logic. - Parallel/Intercepting: Use
@folderfor parallel routes and(.)for intercepting routes (e.g. modals). - Default: Use
default.tsxfor fallbacks in parallel routes.
2. RSC Boundaries & Directives
- Directives: Use
'use client'strictly at the boundary where client interactivity/hooks are required. Use'use server'for Server Actions. - Caching: Use
'use cache'(Next.js 15+) for caching functions or components. - Async Client Components: Async React Client Components are invalid. You cannot
awaitinside a Client Component; useuse(promise)instead. - Serialization: Props passed from Server to Client components must be serializable (no classes/functions without Server Actions).
3. Async APIs (Next.js 15+)
- Dynamic APIs:
params,searchParams,cookies(), andheaders()are now ASYNC and must beawaited before use. - Route Handlers: The
requestobject in Route Handlers should be used carefully; prefer Server Actions for mutations.
4. Functions & Error Handling
- Navigation: Use
useRouter(),usePathname(),useSearchParams(),useParams()fromnext/navigation. - Errors: Use
error.tsxfor React error boundaries. Useredirect()ornotFound()for control flow. - Catch Blocks: Use
unstable_rethrowinside generic catch blocks to avoid catching internal Next.js thrown errors (like redirect).
5. Data Patterns
- Waterfalls: Avoid data waterfalls by using
Promise.all()for independent fetches, or preloading data. - Client Fetching: Use SWR or React Query for client-side data fetching. Do not use
useEffectfor data fetching.
What ships with it
60 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.
- metadata.json 1.3 KB
- README.md 3.3 KB
- references/cache-components-examples.md 6.7 KB
- references/cache-components.md 5.1 KB
- references/upgrade-decision-tree.md 1.3 KB
- references/upgrade.md 2.0 KB
- rules/_sections.md 1.5 KB
- rules/_template.md 631 B
- rules/advanced-event-handler-refs.md 1.4 KB
- rules/advanced-init-once.md 958 B
- rules/advanced-use-latest.md 1.0 KB
- rules/async-api-routes.md 1.1 KB
- rules/async-defer-await.md 2.0 KB
- rules/async-dependencies.md 1.3 KB
- rules/async-parallel.md 646 B
- rules/async-suspense-boundaries.md 2.4 KB
- rules/bundle-barrel-imports.md 2.3 KB
- rules/bundle-conditional.md 959 B
- rules/bundle-defer-third-party.md 919 B
- rules/bundle-dynamic-imports.md 790 B
- rules/bundle-preload.md 1.1 KB
- rules/client-event-listeners.md 1.9 KB
- rules/client-localstorage-schema.md 1.9 KB
- rules/client-passive-event-listeners.md 1.6 KB
- rules/client-swr-dedup.md 1.1 KB
- rules/js-batch-dom-css.md 3.2 KB
- rules/js-cache-function-results.md 1.9 KB
- rules/js-cache-property-access.md 532 B
- rules/js-cache-storage.md 1.6 KB
- rules/js-combine-iterations.md 759 B
- rules/js-early-exit.md 1.1 KB
- rules/js-hoist-regexp.md 1.0 KB
- rules/js-index-maps.md 847 B
- rules/js-length-check-first.md 1.7 KB
- rules/js-min-max-loop.md 2.2 KB
- rules/js-set-map-lookups.md 532 B
- rules/js-tosorted-immutable.md 1.7 KB
- rules/rendering-activity.md 674 B
- rules/rendering-animate-svg-wrapper.md 1.1 KB
- rules/rendering-conditional-render.md 936 B
- rules/rendering-content-visibility.md 817 B
- rules/rendering-hoist-jsx.md 989 B
- rules/rendering-hydration-no-flicker.md 2.2 KB
- rules/rendering-hydration-suppress-warning.md 850 B
- rules/rendering-svg-precision.md 588 B
- rules/rendering-usetransition-loading.md 2.0 KB
- rules/rerender-defer-reads.md 973 B
- rules/rerender-dependencies.md 824 B
- rules/rerender-derived-state-no-effect.md 1.2 KB
- rules/rerender-derived-state.md 727 B
- rules/rerender-functional-setstate.md 2.9 KB
- rules/rerender-lazy-state-init.md 2.0 KB
- rules/rerender-memo-with-default-value.md 1.1 KB
- rules/rerender-memo.md 1.1 KB
- rules/rerender-move-effect-to-event.md 1.2 KB
- rules/rerender-simple-expression-in-memo.md 1018 B
- rules/rerender-transitions.md 1.0 KB
- rules/rerender-use-ref-transient-values.md 1.7 KB
- rules/server-after-nonblocking.md 2.0 KB
- rules/server-auth-actions.md 2.6 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.
- 9d ago First seen · 87 lines · 49 tokens per session scan A 5ab77f9e6607
next-best-practices is a skill published in the GitHub repository neverinfamous/memory-journal-mcp (20 stars, last pushed 1mo ago), licensed MIT. It adds 49 tokens to every session and 1,229 once invoked, about $0.0002 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.
Other skills, from other repositories
framework-expert
Unified framework expertise bundle. Lazy-loads relevant framework patterns (React, Vue, Angular, Next.js, Node.js, Python, Laravel, Go, Flutter, React Native, TypeScript) based on detected tech stack.
design-expert
UI/UX design expertise — component design, design system selection, responsive layout. Includes auto-detection from package.json and Context7 integration for library docs.
design-tokens
Generate a cohesive color-token system from ONE OKLCH brand hue — primary/secondary/background/foreground/muted/border with semantic light + dark, emitted as a Tailwind v4 @theme block or a CSS-variables fallback. Use when starting a design system, defining brand colors, setting up theming/dark-mode, or replacing…
motion-design
Restrained, accessible web motion — Framer Motion declarative patterns and CSS-only staggered reveals for high-impact moments, always bundle-aware and reduced-motion-safe. Use when adding animation/transitions to a UI (entrance reveals, list stagger, page/route transitions, micro-interactions) or when motion feels…
react-best-practices
React development guidelines with hooks, component patterns, state management, and performance optimization.
frontend-aesthetics
Anti-AI-slop taste layer for UI output — distinctive typography, dominant+accent color hierarchy, and implementation-matched polish. Use when building or restyling a UI/landing/component that should look designed rather than defaulted, or when the user asks for something 'beautiful', 'distinctive', 'less generic', or…