modern-ui-aesthetics

modern-ui-aesthetics is a skill for Claude Code, Codex from 2428424081cn/Skill-mcp. It costs 16 tokens per session (521 once invoked), scanned A, original, MIT.

A set of modern web design and interaction rules written in Chinese. It covers color tokens, dark mode, spacing, typography, accessibility, and interactive states.

In plain words
What is it for?
Use it when generating or styling a web interface or application, including its CSS, responsive states, and visual details.
Why use it?
It gives an agent concrete standards for producing consistent interfaces instead of choosing arbitrary colors, spacing, or interaction behavior.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when generating or styling a web interface or application, including its CSS, responsive states, and visual details.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/2428424081cn/skill-mcp/modern-ui-aesthetics
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 2428424081cn/Skill-mcp --skill modern-ui-aesthetics
Clone the repo
git clone --depth 1 https://github.com/2428424081cn/Skill-mcp

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 modern-ui-aesthetics

README.md
[![agentmods](https://agentmods.dev/badge/skills/2428424081cn/skill-mcp/modern-ui-aesthetics/github.svg)](https://agentmods.dev/skills/2428424081cn/skill-mcp/modern-ui-aesthetics)
Your own site
<a href="https://agentmods.dev/skills/2428424081cn/skill-mcp/modern-ui-aesthetics"><img src="https://agentmods.dev/badge/skills/2428424081cn/skill-mcp/modern-ui-aesthetics/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 modern-ui-aesthetics

Your own site · 80×15
<a href="https://agentmods.dev/skills/2428424081cn/skill-mcp/modern-ui-aesthetics"><img src="https://agentmods.dev/badge/skills/2428424081cn/skill-mcp/modern-ui-aesthetics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 521 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.
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.00016 $0.00521
Opus 5 $0.00008 $0.00260
Sonnet 5 $0.00003 $0.00104
Haiku 4.5 $0.00002 $0.00052

Measured 12d ago against content hash ed4cfb1cff13, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

modern-ui-aesthetics 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 12d 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.

skills/design/modern-ui-aesthetics/SKILL.md · 25 lines

What it actually says

现代 Web 美学与交互设计准则

在生成任何前端界面、Web 应用或 CSS 样式时,AI 必须拒绝平庸与廉价感,遵循顶级设计规范。

一、 色彩与 Design Tokens

  1. 严禁硬编码随意颜色:绝不允许在组件内随意手写 #ff0000#3b82f6。必须使用 CSS 变量或语义化 Token(如 --color-primary, --color-surface-elevated)。
  2. Dark Mode 原生支持:使用 HSL 色彩空间构建色彩梯度,确保亮色/暗色模式对比度达到 WCAG 2.1 AA 级(文本对比度 >= 4.5:1)。
  3. 层次与玻璃拟态 (Glassmorphism):巧妙结合 backdrop-filter: blur() 与半透明边框,营造精致空间深度。

二、 8pt 网格与排版层级

  1. 间距阶梯:所有 marginpaddinggap 必须基于 4px / 8px 的倍数阶梯(4, 8, 12, 16, 24, 32, 48, 64px)。
  2. 现代无衬线字体:优先采用 Inter, Roboto, Plus Jakarta Sans, Outfit 或系统原生字体栈,禁止使用浏览器粗糙默认字体。

三、 微交互与动态响应 (Micro-Interactions)

  1. 一切可交互元素必须有状态响应hoverfocus-visibleactivedisabled 状态必须具备平滑过渡动画(150ms ~ 250ms cubic-bezier(0.4, 0, 0.2, 1))。
  2. 触觉反馈与防抖动:按钮点击时可配合微小缩放(transform: scale(0.98)),禁止在 hover 时触发因边框增厚导致的页面布局抖动(Layout Shift)。
Files

What ships with it

1 file 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. 12d ago First seen · 25 lines · 16 tokens per session scan A ed4cfb1cff13

Subscribe to this mod's changes

modern-ui-aesthetics is a skill published in the GitHub repository 2428424081cn/Skill-mcp (1 stars, last pushed 18d ago), licensed MIT. It adds 16 tokens to every session and 521 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

reveal-hover-effect

Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…

MengTo/Skills · 66 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens