material-ui-nextjs

material-ui-nextjs is a skill for Claude Code, Codex from mui/material-ui. It costs 76 tokens per session (439 once invoked), scanned A, original, MIT.

A setup and troubleshooting guide for using Material UI with Next.js, a React framework that can render pages on the server. It covers both the App Router and the older Pages Router, along with fonts, links, CSS layers, and URL-driven views.

In plain words
What is it for?
Use it when adding MUI to a Next.js app, configuring Emotion cache providers, combining MUI with Tailwind or CSS Modules, using next/font, or building views from URL search parameters.
Why use it?
It helps avoid missing styles, incorrect style order, server-rendering flicker, and cache-provider setup errors. It also explains where client-only routing code needs a Suspense boundary.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

not rated 99krepo +35 today A scan Socket: passSnyk: passSkillSpector: warn 76 tokens original MIT

Good fit Use it when adding MUI to a Next.js app, configuring Emotion cache providers, combining MUI with Tailwind or CSS Modules, using next/font, or building views from URL search parameters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mui/material-ui/material-ui-nextjs
About the project

Material UI is a React component library that provides an independent implementation of Google's Material Design system. Developers use it to build interfaces from reusable React components, with additional advanced components available through MUI X. The catalogue add-ons provide project-specific skills and instructions for working with Material UI.

mui/material-ui · 99,231 stars · on GitHub · mui.com

Install

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.

Any agent
npx skills add mui/material-ui --skill material-ui-nextjs
Clone the repo
git clone --depth 1 https://github.com/mui/material-ui

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for material-ui-nextjs

README.md
[![agentmods](https://agentmods.dev/badge/skills/mui/material-ui/material-ui-nextjs/github.svg)](https://agentmods.dev/skills/mui/material-ui/material-ui-nextjs)
Your own site
<a href="https://agentmods.dev/skills/mui/material-ui/material-ui-nextjs"><img src="https://agentmods.dev/badge/skills/mui/material-ui/material-ui-nextjs/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.

agentmods 80×15 button for material-ui-nextjs

Your own site · 80×15
<a href="https://agentmods.dev/skills/mui/material-ui/material-ui-nextjs"><img src="https://agentmods.dev/badge/skills/mui/material-ui/material-ui-nextjs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 439 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 25
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.00439
Opus 5.5 $0.00030 $0.00176
Sonnet 5.5 $0.00015 $0.00088
Haiku 4.5 $0.00008 $0.00044

Measured 1mo ago against content hash 068273d6e445, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

material-ui-nextjs 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/material-ui-nextjs/SKILL.md · 39 lines

What it actually says

Material UI and Next.js

Agent skill for Next.js + Material UI wiring (SSR/streaming, cache providers, fonts, layers, Link, App Router URL state). SKILL.md is the entry; AGENTS.md is the full guide.

When to apply

  • New App Router or Pages Router app using @mui/material
  • Styles missing, wrong order, or in body instead of head
  • next/font + ThemeProvider / createTheme
  • Tailwind or CSS Modules + MUI (enableCssLayer)
  • Button + component={Link} or Next.js v16 client boundary errors
  • useSearchParams / URL-driven MUI views and Suspense boundaries

Sections in AGENTS.md

Area Topics
App Router AppRouterCacheProvider, @emotion/cache, options, useSearchParams + <Suspense>
Pages Router _document, _app, DocumentHeadTags, AppCacheProvider
Fonts 'use client' theme, next/font, CSS variables on html
CSS variables cssVariables, SSR flicker docs
CSS layers enableCssLayer, Tailwind / other CSS
Link Client wrapper, routing guide, examples repo

Full guide

Read AGENTS.md for complete steps and doc links.

reference.md lists import paths and provider shape.

Files

What ships with it

4 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.

Changes

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.

  1. 1mo ago First seen · 39 lines · 76 tokens per session scan A 068273d6e445

Subscribe to this mod's changes

material-ui-nextjs is a skill published in the GitHub repository mui/material-ui (99,231 stars, last pushed today), licensed MIT. It adds 76 tokens to every session and 439 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

styleseed

Build, improve, or inspect UI with StyleSeed. Preserves project design choices and routes setup, layout, tokens, review, rendered verification, and updates through one entry point.

bitjaru/styleseed · 39 tokens

react-stability

Prioritize hardening React UI components against runtime crashes across this scenario.

Vrooli/Vrooli · 0 tokens

igniteui-react-components

Covers choosing, installing, and using Ignite UI for React (Igr) components: package routing, theme CSS, JSX and slots, events, refs, forms, TypeScript, charts, gauges, maps, and grids. WHEN TO USE: choosing a component for a UI pattern, setting up igniteui-react in a React or Next.js app, writing Igr JSX, wiring…

IgniteUI/igniteui-react · 200 tokens

channels-setup

Use when a developer wants to build their first CopilotKit Channels agent and get it answering in Slack or Microsoft Teams: "set up a channel", "connect my agent to Slack", "get my agent into Teams", or starting from nothing and wanting a working channel end to end. Covers the whole path: inspecting or scaffolding the…

CopilotKit/CopilotKit · 141 tokens

migrate-oxlint

Guide for migrating a project from ESLint to Oxlint. Use when asked to migrate, convert, or switch a JavaScript/TypeScript project's linter from ESLint to Oxlint.

oxc-project/oxc · 44 tokens

notion-to-blog

Transfer a blog post from Notion to the Wasp blog. Fetches content, downloads and optimizes images, and creates a properly formatted MDX file.

wasp-lang/wasp · 37 tokens