daisyui-usage

daisyui-usage is a skill for Claude Code from saadeghi/daisyui. It costs 18 tokens per session (817 once invoked), scanned A, original, MIT.

A set of usage rules for daisyUI 5, a collection of ready-made interface components built on Tailwind CSS. The rules explain how to combine component classes, responsive layout classes, and custom styles.

In plain words
What is it for?
Use it when creating or editing pages and interface components that use daisyUI 5, including responsive layouts, buttons, forms, and other styled elements.
Why use it?
It keeps generated interfaces aligned with the current daisyUI and Tailwind CSS conventions, reducing incorrect class names and unnecessary custom CSS.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the daisyui plugin — 7 skills shipped together

Good fit Use it when creating or editing pages and interface components that use daisyUI 5, including responsive layouts, buttons, forms, and other styled elements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saadeghi/daisyui/usage
About the project

daisyUI is a library of ready-made interface components built for Tailwind CSS, a utility-based system for styling web pages. It helps web developers assemble consistent buttons, forms, navigation, and other UI elements. The catalogue entries provide add-ons for working with this component library.

saadeghi/daisyui · 42,653 stars · on GitHub · daisyui.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 saadeghi/daisyui --skill usage
Clone the repo
git clone --depth 1 https://github.com/saadeghi/daisyui

Made for: Claude Code.

Or install daisyui, the plugin that ships this one along with the rest of its 7 skills.

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 daisyui-usage

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/saadeghi/daisyui/usage"><img src="https://agentmods.dev/badge/skills/saadeghi/daisyui/usage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 817 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
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00018 $0.00817
Opus 5.5 $0.00007 $0.00327
Sonnet 5.5 $0.00004 $0.00163
Haiku 4.5 $0.00002 $0.00082

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

Security

Grade A, and why

daisyui-usage 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

2 near-identical copies found in the catalogue:

skills/daisyui/usage/SKILL.md · 60 lines

How it starts

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

daisyUI 5 usage rules

  1. To style an HTML element, add daisyUI class names to it. Add the necessary component class name. Also add the applicable part and modifier class names.
  2. If the current daisyUI classes cannot make a necessary change, use Tailwind CSS utility classes. For example, btn px-10 sets custom horizontal padding on a btn.
  3. If CSS specificity prevents a change to a daisyUI style, add ! to the end of the Tailwind utility. For example, btn bg-red-500! overrides the background color of a btn. Use this method only if other methods do not work. Do not use it frequently.
  4. If daisyUI does not have an applicable component, make a component with Tailwind CSS utilities.
  5. When you use Tailwind CSS flex or grid for a layout, add responsive utility prefixes.
  6. Use only current daisyUI class names or Tailwind CSS utility classes.
  7. If custom CSS is not necessary, do not write it. If possible, use daisyUI class names or Tailwind CSS utility classes.
  8. If you need placeholder images, use https://picsum.photos/200/300 with the necessary dimensions.
  9. If a custom font is not necessary, do not add one.
  10. If bg-base-100 text-base-content is not necessary, do not add it to the body.
  11. For design decisions, use the methods in the Refactoring UI book.
  12. If the user does not request a variant or color, use the default variant. For example, use btn for a button. If the user does not request that variant, do not use btn btn-primary.

Each daisyUI 5 class name is in one of these categories. These category names are for reference only. Do not use them in code.

  • component: The necessary component class.
  • part: A child part of a component.
  • style: Sets a specified style on a component or part.
  • behavior: Changes the behavior of a component or part.
  • color: Sets a specified color on a component or part.
  • size: Sets a specified size on a component or part.
  • placement: Sets a specified position for a component or part.
  • direction: Sets a specified direction for a component or part.
  • modifier: Changes the component or part in a specified way.
  • variant: A prefix for a utility class that applies styles in specified conditions. The syntax is variant:utility-class.

Read the full file on GitHub · 60 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. 1mo ago First seen · 60 lines · 18 tokens per session scan A 9a0cb9e36d26

Subscribe to this mod's changes

daisyui-usage is a skill published in the GitHub repository saadeghi/daisyui (42,653 stars, last pushed 4d ago), licensed MIT. It adds 18 tokens to every session and 817 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

designlang-tokens

Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.

Manavarya09/design-extract · 30 tokens

s2-docs

Look up Spectrum 2 (S2) component documentation, design guidelines, and usage patterns when building with React Spectrum or Spectrum Web Components. Use when the user mentions Spectrum, S2, React Spectrum, RSP, Spectrum Web Components, or SWC, or names a Spectrum component (Button, Picker, ComboBox, TextField…

adobe/spectrum-design-data · 91 tokens

handoff-spec

Write the implementation handoff — measurements, behaviours, assets, states, and edge cases. Use when engineering picks up the work. For verifying the result afterwards use design-qa-checklist; for reusable library components use component-spec (design-systems).

Owl-Listener/designer-skills · 57 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens

readable-measure

Set line length and measure for comfortable reading across type sizes and breakpoints. Use when tuning body text. Covers measure only — for the full size and weight scale, use typography-scale.

Owl-Listener/designer-skills · 44 tokens

von-restorff-effect

Apply the Von Restorff Effect — the element that differs from its neighbours is the one remembered. Use when a single action must dominate. For overall ordering rather than single-element emphasis, use visual-hierarchy.

Owl-Listener/designer-skills · 49 tokens