liquid-glass

liquid-glass is a skill for Claude Code, Codex from frankxai/claude-skills-library. It costs 122 tokens per session (1,787 once invoked), scanned A, original, MIT.

A web recipe for translucent glass panels that blur or bend the content behind them, with an opaque fallback and support for reduced transparency.

In plain words
What is it for?
Use it for frosted navigation bars, cards, and panels placed over images or scrolling content.
Why use it?
It handles browsers and users that cannot or should not use the full effect, instead of leaving the panel unreadable or visually inconsistent.

Skill for Claude CodeCodex

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

Good fit Use it for frosted navigation bars, cards, and panels placed over images or scrolling content.

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

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 liquid-glass

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/frankxai/claude-skills-library/liquid-glass"><img src="https://agentmods.dev/badge/skills/frankxai/claude-skills-library/liquid-glass.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,787 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.00122 $0.01787
Opus 5.5 $0.00049 $0.00715
Sonnet 5.5 $0.00024 $0.00357
Haiku 4.5 $0.00012 $0.00179

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

Security

Grade A, and why

liquid-glass 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 14d 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.

packs/web-excellence/skills/liquid-glass/SKILL.md · 165 lines

How it starts

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

Liquid glass

Glass is a surface that shows what is behind it. This skill builds it with the browser's compositor, so it costs no JavaScript and no WebGL context and does not count as the page's GPU surface.

Run gpu-surface section 1 first, with two checks specific to glass:

  • Something worth seeing is underneath: an image, a backdrop, content that scrolls behind a bar. Glass over a flat colour is a grey box.
  • The repo may already have its glass. When design.md gives one glass recipe, use that recipe and stop. A second set of opacity values is how a site drifts.

1. Tier one — CSS

// components/effects/GlassPanel.tsx — a server component; there is no client code
import type { CSSProperties, ReactNode } from 'react'

type GlassPanelProps = {
  /** Token colour of the surface the panel falls back to. */
  surface: string
  /** 0–1: how much of the surface colour stays over the blur. */
  tint?: number
  blur?: number
  radius?: number
  /** Chromium-only upgrade: bend what is behind the panel. Other browsers keep the blur. */
  refract?: boolean
  className?: string
  children?: ReactNode
}

export function GlassPanel({ surface, tint = 0.55, blur = 14, radius = 20, refract = false, className = '', children }: GlassPanelProps) {
  const vars = {
    '--glass-surface': surface,
    '--glass-tint': `${Math.round(tint * 100)}%`,
    '--glass-blur': `${blur}px`,
    '--glass-radius': `${radius}px`,
  } as CSSProperties
  return (
    <div className={`glass-panel ${refract ? 'glass-panel--refract' : ''} ${className}`} style={vars}>
      {children}
    </div>
  )
}

/** Render once per page, only where a panel sets `refract`. */
export function GlassLens({ scale = 28 }: { scale?: number }) {
  return (
    <svg width="0" height="0" aria-hidden style={{ position: 'absolute' }}>
      <filter id="glass-lens" x="0" y="0" width="100%" height="100%" colorInterpolationFilters="sRGB">
        <feTurbulence type="fractalNoise" baseFrequency="0.008 0.012" numOctaves="2" seed="7" result="noise" />
        <feGaussianBlur in="noise" stdDeviation="2" result="soft" />
        <feDisplacementMap in="SourceGraphic" in2="soft" scale={scale} xChannelSelector="R" yChannelSelector="G" />
      </filter>
    </svg>
  )
}

Read the full file on GitHub · 165 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. 14d ago First seen · 165 lines · 122 tokens per session scan A 61f8a23cf56e

Subscribe to this mod's changes

liquid-glass is a skill published in the GitHub repository frankxai/claude-skills-library (51 stars, last pushed today), licensed MIT. It adds 122 tokens to every session and 1,787 once invoked, about $0.0005 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-16.

Related

liquid-glass compared with skills from other repositories

liquid-glass next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
liquid-glassfrankxai/claude-skills-librarySkill51todayMITA122Claude Code, Codex
prototypevinvcn/mattpocock-skills-zh-CNSkill6.2k5d agoMITA39Claude Code, Codex
visual-ui-auditorroedyrustam/vibes-plugSkill1293d agoMITA51Cursor
design-system-architectroedyrustam/vibes-plugSkill1293d agoMITA43Cursor
svg-animation-motion-expertroedyrustam/vibes-plugSkill1293d agoMITA46Cursor
website-design-clonerroedyrustam/vibes-plugSkill1293d agoMITA32Cursor
screenshot-to-code-expertroedyrustam/vibes-plugSkill1293d agoMITA38Cursor