mcp-ui-css

mcp-ui-css is a skill for Claude Code, Codex from supabase/mcp. It costs 97 tokens per session (4,527 once invoked), scanned A, original, Apache-2.0.

A guide to writing CSS, the language that controls the appearance of web pages, for MCP Apps views. These views are small HTML interfaces shown inside another product, such as an IDE or chat application.

In plain words
What is it for?
Adding or editing CSS, classes, state attributes, and visual styles in the MCP UI package.
Why use it?
It helps shared styles remain consistent with the host application's colours and fonts without making one view's rules override another's by accident. It also sets rules for keeping styles easy to replace and maintain.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

Good fit Adding or editing CSS, classes, state attributes, and visual styles in the MCP UI package.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/supabase/mcp/mcp-ui-css
About the project

Supabase MCP Server connects AI assistants to Supabase projects through the Model Context Protocol, allowing them to manage tables, retrieve configuration, and run database queries. It is for developers using assistants such as Cursor, Claude, or Windsurf with Supabase, and the catalogue entries provide instructions and an MCP connection for that integration.

supabase/mcp · 3,031 stars · on GitHub · supabase.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 supabase/mcp --skill mcp-ui-css
Clone the repo
git clone --depth 1 https://github.com/supabase/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 mcp-ui-css

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/supabase/mcp/mcp-ui-css"><img src="https://agentmods.dev/badge/skills/supabase/mcp/mcp-ui-css.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,527 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.00097 $0.04527
Opus 5.5 $0.00039 $0.01811
Sonnet 5.5 $0.00019 $0.00905
Haiku 4.5 $0.00010 $0.00453

Measured 9d ago against content hash ea8f5c165d02, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-ui-css 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.

packages/mcp-ui/.agents/skills/mcp-ui-css/SKILL.md · 160 lines

How it starts

The opening of the file, as written. The whole thing — 160 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP UI CSS

Reference implementation: packages/mcp-ui/src/shared/base.css and the component files beside it (badge.css, copy-field.css, …).

Each view is a single-file HTML document that a host (Claude, ChatGPT, an IDE) renders in an iframe inside its own UI. Two consequences shape every rule here:

  • The host owns the look. It sends a theme, fonts and a set of standard style variables. A view that ignores them looks foreign inside the host. Supabase's own design values are only a fallback for hosts that send nothing. Colours reach components as Studio's semantic tokens, so the components can move into Studio unchanged (see Host theming).
  • Views multiply. Views share the same rules, so a selector that wins by weight or by source order today breaks someone else's view later. Layers and :where() keep every rule trivially overridable.

We stay close to the platform: plain CSS, native nesting, custom properties, @layer, :where(), logical properties. No Tailwind, no CSS-in-JS, no preprocessors, no utility-class styling.

Three primary patterns

1. Every rule lives in a layer

@layer base, native, components, view, utilities;

The statement lives only in src/shared/base.css, which holds base, native and utilities. Every view's main.tsx imports base.css as its first import, so the order is fixed before any other layered rule loads. Other CSS files do not repeat the statement.

Each shared component keeps its components rules in src/shared/<component>.css, named after its class (badge.css for .badge), and the TSX file that renders it imports that CSS (import './badge.css';). A view only ships the CSS of the components it imports, so a view that never imports CopyField never carries .copy-field's rules. A file has at most one block per layer, and a class is styled in only one file: the order of components rules across files follows import order and can differ between views. Where several TSX files render the same markup, each imports the CSS. Button variants (data-size, .primary) have no component of their own: they live in button.css, imported by each TSX file that renders a variant.

Read the full file on GitHub · 160 lines

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. 9d ago Changed · +4 lines · +12 tokens per session ea8f5c165d02
  2. 10d ago First seen · 156 lines · 85 tokens per session scan A 92aba6a5086e

Subscribe to this mod's changes

mcp-ui-css is a skill published in the GitHub repository supabase/mcp (3,031 stars, last pushed 2d ago), licensed Apache-2.0. It adds 97 tokens to every session and 4,527 once invoked, about $0.0004 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-11-20.

Related

mcp-ui-css compared with skills from other repositories

mcp-ui-css next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-ui-csssupabase/mcpSkill3.0k2d agoApache-2.0A97Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
prototype-webnexu-io/html-anythingSkill17kyesterdayApache-2.0A24Claude Code, Codex
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex
edit-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA104Claude Code