glass-dark-ui

glass-dark-ui is a skill for Claude Code, Codex from devinilabs/pro-skill. It costs 54 tokens per session (938 once invoked), scanned A, a copy of glass-dark-ui, MIT.

A guide to building dark glassmorphism interfaces, meaning interfaces with translucent, blurred panels and glowing borders, in HTML, CSS, Tailwind, or React.

In plain words
What is it for?
Use it for glass cards, dark hero sections, dashboards, modals, and other dark UI surfaces.
Why use it?
It helps create readable frosted surfaces with consistent contrast, depth, borders, and interactive states.

Skill for Claude CodeCodex

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

Good fit Use it for glass cards, dark hero sections, dashboards, modals, and other dark UI surfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/devinilabs/pro-skill/glass-dark-ui
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 devinilabs/pro-skill --skill glass-dark-ui
Clone the repo
git clone --depth 1 https://github.com/devinilabs/pro-skill

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 glass-dark-ui

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/devinilabs/pro-skill/glass-dark-ui"><img src="https://agentmods.dev/badge/skills/devinilabs/pro-skill/glass-dark-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 938 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 100% copy Near-identical to another mod 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.00054 $0.00938
Opus 5.5 $0.00022 $0.00375
Sonnet 5.5 $0.00011 $0.00188
Haiku 4.5 $0.00005 $0.00094

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

Security

Grade A, and why

glass-dark-ui 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 3mo 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

This is a copy

100% identical to glass-dark-ui — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agent-skills/web-design/glass-dark-ui/SKILL.md · 92 lines

How it starts

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

Glass Dark UI Skill

Workflow

  1. Confirm environment (HTML/CSS, Tailwind, or React) and target surface (hero, dashboard, modal, card).
  2. Define dark UI tokens first (background, glass fill, border glow, primary text, muted text).
  3. Build frosted panels with backdrop-filter, transparent dark fill, and subtle inner highlight.
  4. Apply the masked gradient border (.border-gradient::before) to key surfaces.
  5. Add restrained depth (shadow + glow) and clear hover/focus states.
  6. Validate contrast and mobile behavior before finalizing.

Base Tokens

Use these as defaults and tune per brand.

:root {
  --bg-0: #020617;
  --bg-1: #0b1220;
  --glass-fill: rgba(15, 23, 42, 0.45);
  --glass-fill-strong: rgba(15, 23, 42, 0.62);
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #60a5fa;
}

Glass Panel Pattern

.glass-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  background-color: var(--glass-fill);
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

Border Gradient Pattern

.border-gradient {
  position: relative;
}

.border-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  background: linear-gradient(
    145deg,
    rgba(148, 163, 184, 0.28) 0%,
    rgba(96, 165, 250, 0.36) 45%,
    rgba(168, 85, 247, 0.3) 70%,
    rgba(148, 163, 184, 0.18) 100%
  );
  pointer-events: none;
}

Tailwind Usage Pattern

<section class="relative rounded-3xl border-gradient bg-slate-950/45 backdrop-blur-xl p-8 shadow-[0_20px_48px_rgba(2,6,23,0.45),inset_0_1px_0_rgba(255,255,255,0.12)]">
  <h2 class="text-slate-100 text-2xl font-semibold">Frosted Panel</h2>
  <p class="text-slate-400 mt-2">Dark glass card with masked gradient border.</p>
</section>

Read the full file on GitHub · 92 lines

Files

What ships with it

3 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. 3mo ago First seen · 92 lines · 54 tokens per session scan A ff607716e434

Subscribe to this mod's changes

glass-dark-ui is a skill published in the GitHub repository devinilabs/pro-skill (30 stars, last pushed 3mo ago), licensed MIT. It adds 54 tokens to every session and 938 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to glass-dark-ui, differing in 0 lines, and is treated as a copy.

Related

glass-dark-ui compared with skills from other repositories

glass-dark-ui next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
glass-dark-uidevinilabs/pro-skillSkill303mo agoMITA54Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
baseline-uivercel-labs/open-agentsSkill5.9k3d agoMITA48Claude Code, Codex
prototype-webnexu-io/html-anythingSkill17k6d agoApache-2.0A24Claude Code, Codex
open-design-setupcompozy/compozySkill2.9kyesterdayMITA67Claude Code, Codex