swiftui-liquid-glass

swiftui-liquid-glass is a skill for Claude Code, Codex from patrickserrano/lacquer. It costs 62 tokens per session (1,724 once invoked), scanned A, original, MIT.

A guide for building SwiftUI interfaces with Liquid Glass, the iOS 26+ material that blurs content and reacts to light, colour, and touch.

In plain words
What is it for?
Use it to add, refactor, or review glass surfaces, buttons, cards, chips, and their interactions in SwiftUI apps.
Why use it?
It helps you apply the platform APIs correctly, handle older iOS versions, and avoid unsuitable or misplaced glass effects.

Skill for Claude CodeCodex

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

Good fit Use it to add, refactor, or review glass surfaces, buttons, cards, chips, and their interactions in SwiftUI apps.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/patrickserrano/lacquer/swiftui-liquid-glass"><img src="https://agentmods.dev/badge/skills/patrickserrano/lacquer/swiftui-liquid-glass.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,724 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.00062 $0.01724
Opus 5.5 $0.00025 $0.00690
Sonnet 5.5 $0.00012 $0.00345
Haiku 4.5 $0.00006 $0.00172

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

Security

Grade A, and why

swiftui-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 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.

profiles/ios/skills/swiftui-liquid-glass/SKILL.md · 187 lines

How it starts

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

SwiftUI Liquid Glass

Overview

Liquid Glass is a dynamic material in iOS 26+ that combines optical glass properties with fluidity. It blurs content, reflects surrounding color and light, and reacts to touch interactions in real time.

The UIDesignRequiresCompatibility opt-out ends with the iOS 27 SDK

The UIDesignRequiresCompatibility Info.plist key lets an app built with the iOS 26 SDK keep its pre-iOS 26 look. Apple's reference page for the key says: "The system ignores this key when you build for iOS 27 or later, iPadOS 27 or later, Mac Catalyst 27 or later, macOS 27 or later, or tvOS 27 or later." (https://developer.apple.com/documentation/bundleresources/information-property-list/uidesignrequirescompatibility)

Before moving a project to Xcode 27, audit its UI under the current design with the key removed or set to NO, and fix what changes. Do not rely on the key to postpone that work.

Workflow Decision Tree

1) Review an existing feature

  • Inspect where Liquid Glass should/shouldn't be used
  • Verify correct modifier order, shape usage, container placement
  • Check for iOS 26+ availability handling and fallbacks

2) Improve a feature using Liquid Glass

  • Identify target components (surfaces, chips, buttons, cards)
  • Refactor to use GlassEffectContainer for multiple glass elements
  • Add interactive glass only for tappable/focusable elements

3) Implement a new feature using Liquid Glass

  • Design glass surfaces and interactions first (shape, prominence, grouping)
  • Add glass modifiers after layout/appearance modifiers
  • Add morphing transitions only when view hierarchy changes with animation

Core Guidelines

  • Prefer native Liquid Glass APIs over custom blurs
  • Use GlassEffectContainer when multiple glass elements coexist
  • Apply .glassEffect(...) after layout and visual modifiers
  • Use .interactive() for elements that respond to touch/pointer
  • Keep shapes consistent across related elements
  • Gate with #available(iOS 26, *) and provide non-glass fallback

Read the full file on GitHub · 187 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 Changed · +6 lines · +12 tokens per session 623a545131dd
  2. 2mo ago First seen · 181 lines · 50 tokens per session scan A bb1e2acb082d

Subscribe to this mod's changes

swiftui-liquid-glass is a skill published in the GitHub repository patrickserrano/lacquer (5 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 1,724 once invoked, about $0.0002 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-09-03.

Related

swiftui-liquid-glass compared with skills from other repositories

swiftui-liquid-glass next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
swiftui-liquid-glasspatrickserrano/lacquerSkill5yesterdayMITA62Claude Code, Codex
baguettetddworks/baguetteSkill2.4ktodayApache-2.0A116Claude Code
baguette-test-apptddworks/baguetteSkill2.4ktodayApache-2.0A118Claude Code
sweetpadsweetpad-dev/sweetpadSkill1.9ktodayMITA90Claude Code, Codex
flutterericrisco/rsc-harnessSkill6916d agoMITA91Claude Code, Codex
scaffold-projectMarve10s/Better-FullstackSkill830yesterdayMITA80Claude Code
noqa-testingnoqa-ai/noqaSkill1913mo agoMITA47Claude Code, Codex