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.
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.
git clone --depth 1 https://github.com/heroui-inc/herouinpx agentmods add skills/heroui-inc/heroui/heroui-themingWrote 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/heroui-inc/heroui/heroui-theming)<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.
<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>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.00116 | $0.03580 |
| Opus 5.5 | $0.00046 | $0.01432 |
| Sonnet 5.5 | $0.00023 | $0.00716 |
| Haiku 4.5 | $0.00012 | $0.00358 |
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.
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 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)→ utilitybg-accent→ component.button--primary { --button-bg: var(--accent) }. Change the token and the whole chain follows. - Colors without a suffix are backgrounds;
-foregroundis 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
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.
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.
- 7d ago First seen · 269 lines · 116 tokens per session scan C e90477808ff2
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.
heroui-theming compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| heroui-themingheroui-inc/heroui | Skill | 31k | yesterday | Apache-2.0 | C | 116 | Claude Code, Codex |
| design-doctrineplugin87/ux-ui-agent-skills | Skill | 3.3k | 12d ago | MIT | A | 92 | Claude Code |
| image-to-codeplugin87/ux-ui-agent-skills | Skill | 3.3k | 12d ago | MIT | A | 77 | Claude Code |
| better-designmarvkr/better-design | Skill | 614 | 7d ago | MIT | A | 94 | Codex |
| designchaxus/ran | Skill | 270 | yesterday | MIT | A | 35 | Claude Code |
| frontend-designNickCrew/Claude-Cortex | Skill | 75 | 9d ago | MIT | A | 70 | Claude Code, Codex |
| kernel-uikemiljk/kernel-ui | Skill | 35 | yesterday | MIT | A | 56 | Claude Code, Codex |