heroui-theming

heroui-theming is a skill for Claude Code, Codex from heroui-inc/heroui. It costs 116 tokens per session (3,580 once invoked), scanned C, original, Apache-2.0.

A CSS guide for changing HeroUI v3's global visual design. It covers shared design values such as colours, corner shapes, shadows, and component styles without changing the components' JavaScript.

In plain words
What is it for?
Use it to create light or dark themes, change HeroUI design values, override component styles, and add visual variants.
Why use it?
It avoids editing each component separately or maintaining a fork when an application needs its own look. The same CSS can also style plain HTML.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is @import "../themes/<name>/index.css";.

Good fit Use it to create light or dark themes, change HeroUI design values, override component styles, and add visual variants.

Compare 6 skills from other repositories ↓
About the project

HeroUI is a React component library that provides ready-made interface elements for building web applications. Developers use its components as building blocks in React projects. The catalogue includes agents, skills, and instructions for working with HeroUI.

heroui-inc/heroui · 31,338 stars · on GitHub · heroui.com

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/heroui-inc/heroui
agentmods
npx agentmods add skills/heroui-inc/heroui/heroui-theming

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 heroui-theming

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/heroui-inc/heroui/heroui-theming"><img src="https://agentmods.dev/badge/skills/heroui-inc/heroui/heroui-theming.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,580 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00116 $0.03580
Opus 5.5 $0.00046 $0.01432
Sonnet 5.5 $0.00023 $0.00716
Haiku 4.5 $0.00012 $0.00358

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

Security

Grade C, and why

heroui-theming scanned grade C with 2 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 7d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/_styles_dir.mjs, scripts/list_component_classes.mjs, scripts/list_tokens.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://heroui.com/install | bash -s heroui-theming

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://heroui.com/install | bash -s heroui-theming
skills/heroui-theming/SKILL.md · 269 lines

How it starts

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

HeroUI v3 Theming Guide

HeroUI's look lives entirely in @heroui/styles: plain CSS made of theme tokens and BEM component classes in cascade layers. @heroui/react only adds behavior and puts those class names on the DOM. So everything visual can be changed globally with CSS — no component wrappers, no forks, no JavaScript — and the same CSS works on any framework or plain HTML.

Use this skill to customize HeroUI globally or to build a full theme. For building UIs with the components, use the heroui-react skill.

Installation

curl -fsSL https://heroui.com/install | bash -s heroui-theming

Mental Model

@layer theme, base, components, utilities;      ← declared by @heroui/styles

theme        tokens          --accent, --radius, --surface-shadow, --field-border…
base         resets          border color, overlay keyframes
components   BEM classes     .button, .button--primary, .card__header, .switch__thumb…
utilities    Tailwind        bg-accent, rounded-xl, shadow-surface, status-focused…
  • Later layers win over earlier ones regardless of selector specificity. Unlayered CSS beats every layer.
  • One chain connects everything: token --accent → Tailwind mapping --color-accent: var(--accent) → utility bg-accent → component .button--primary { --button-bg: var(--accent) }. Change the token and the whole chain follows.
  • Colors without a suffix are backgrounds; -foreground is the text placed on them. They change as a pair.
  • Default light tokens apply on :root, .light, [data-theme="light"]; dark on .dark, [data-theme="dark"].

Always Inspect the Installed Version First

Never invent a token, class, or selector. Read them from the project's own node_modules (no network needed):

node scripts/list_tokens.mjs                           # tokens: shared, light, dark, Tailwind mapping
node scripts/list_component_classes.mjs                # every component stylesheet
node scripts/list_component_classes.mjs button switch  # blocks, elements, modifiers, states, custom properties, tokens read
node scripts/list_component_classes.mjs modal --css    # plus the raw CSS

Read the full file on GitHub · 269 lines

Files

What ships with it

8 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. 7d ago First seen · 269 lines · 116 tokens per session scan C e90477808ff2

Subscribe to this mod's changes

heroui-theming is a skill published in the GitHub repository heroui-inc/heroui (31,338 stars, last pushed yesterday), licensed Apache-2.0. It adds 116 tokens to every session and 3,580 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-23.

Related

heroui-theming compared with skills from other repositories

heroui-theming next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
heroui-themingheroui-inc/herouiSkill31kyesterdayApache-2.0C116Claude Code, Codex
design-doctrineplugin87/ux-ui-agent-skillsSkill3.3k12d agoMITA92Claude Code
image-to-codeplugin87/ux-ui-agent-skillsSkill3.3k12d agoMITA77Claude Code
better-designmarvkr/better-designSkill6147d agoMITA94Codex
designchaxus/ranSkill270yesterdayMITA35Claude Code
frontend-designNickCrew/Claude-CortexSkill759d agoMITA70Claude Code, Codex
kernel-uikemiljk/kernel-uiSkill35yesterdayMITA56Claude Code, Codex