swiftui-liquid-glass

swiftui-liquid-glass is a skill for Claude Code, Codex from memi-design/design-skills. It costs 38 tokens per session (327 once invoked), scanned A, original, MIT.

A guide to using Liquid Glass, an iOS 26+ SwiftUI style for system controls and floating surfaces. It covers availability checks, fallbacks, accessibility, hierarchy, and rendering performance.

In plain words
What is it for?
Use it to add or review Liquid Glass in navigation, tabs, toolbars, search, buttons, or selected floating surfaces while supporting earlier iOS versions.
Why use it?
It helps prevent unreadable content, excessive translucent layers, broken older-device support, and controls that look decorative but behave incorrectly.

Skill for Claude CodeCodex

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

Good fit Use it to add or review Liquid Glass in navigation, tabs, toolbars, search, buttons, or selected floating surfaces while supporting earlier iOS versions.

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

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/memi-design/design-skills/swiftui-liquid-glass/github.svg)](https://agentmods.dev/skills/memi-design/design-skills/swiftui-liquid-glass)
Your own site
<a href="https://agentmods.dev/skills/memi-design/design-skills/swiftui-liquid-glass"><img src="https://agentmods.dev/badge/skills/memi-design/design-skills/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/memi-design/design-skills/swiftui-liquid-glass"><img src="https://agentmods.dev/badge/skills/memi-design/design-skills/swiftui-liquid-glass.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 327 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.00038 $0.00327
Opus 5.5 $0.00015 $0.00131
Sonnet 5.5 $0.00008 $0.00065
Haiku 4.5 $0.00004 $0.00033

Measured 1mo ago against content hash f407d6bc7ca3, 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.

skills/swiftui-liquid-glass/SKILL.md · 31 lines

What it actually says

SwiftUI Liquid Glass

Use Liquid Glass as system chrome and interaction hierarchy, not as a decorative coating for every surface.

Workflow

  1. Confirm the build SDK and minimum deployment target. Liquid Glass APIs require an iOS 26+ availability path.
  2. Identify the small set of controls or floating surfaces that need separation from content.
  3. Prefer system navigation, tab, toolbar, search, and button behavior before custom glass.
  4. Apply layout, shape, and content modifiers before the glass effect.
  5. Group nearby custom glass elements in GlassEffectContainer so they render and morph coherently.
  6. Mark glass interactive only when the element actually accepts input.
  7. Provide an earlier-OS fallback using native materials or standard controls, not a visual imitation that changes behavior.
  8. Verify increased contrast, reduced transparency, reduced motion, Dynamic Type, dark appearance, and scrolling performance.

Guardrails

  • Keep content legible without depending on the background image or color.
  • Avoid stacking translucent layers.
  • Preserve system hit regions, focus, and semantic roles.
  • Use morphing identifiers only for a real hierarchy transition.
  • Profile repeated custom glass in scroll-heavy layouts.
  • Do not label June 2026 APIs as iOS 27 unless the checked Apple SDK documentation explicitly does so.

Read references/review.md for the audit matrix and fallback pattern.

Files

What ships with it

2 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. 1mo ago First seen · 31 lines · 38 tokens per session scan A f407d6bc7ca3

Subscribe to this mod's changes

swiftui-liquid-glass is a skill published in the GitHub repository memi-design/design-skills (7 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 327 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

Other skills, from other repositories

swiftui-native-first

The single most important quality skill. Enforces native SwiftUI components and rejects unnecessary custom code. Use this skill as a reference throughout the entire build process. Include its core rules in every CLAUDE.md. This is what prevents Claude Code from building janky custom UI when a native component exists.

troyjthomas/ios-agent-skills · 65 tokens

pixel-and-stroke-geometry

How strokes, anti-aliasing, and pixel boundaries actually behave in SwiftUI Canvas and Shape rendering. Covers stroke centering, inset-vs-outset, anti-alias-induced flicker on animating strokes, and 1pt vs 0.5pt strokes on retina displays. Use this skill for any app that draws on a grid or canvas — pattern designers…

troyjthomas/ios-agent-skills · 104 tokens

polish-and-refinement

Take a working app from "it works" to "it feels right." Covers Figma matching, Liquid Glass, animations, haptics, dark mode, and the subjective quality that separates a good app from a great one. Use this skill after all screens are built and data persistence is working. This is where Figma enters the workflow if you…

troyjthomas/ios-agent-skills · 80 tokens

figma-to-code

Translate Figma designs into SwiftUI code using the Figma MCP, without exporting PNGs or screenshots. Use this skill when you have Figma frames you want Claude Code to match, when you're in the polish phase and want pixel-level accuracy, or when you're adding a new screen that was designed in Figma first. Requires…

troyjthomas/ios-agent-skills · 78 tokens

gamified-app

A multi-frame gamified mobile-app prototype — three phone frames on a dark showcase stage. Frame 1: cover / poster, Frame 2: today's quests with XP ribbons and a level bar, Frame 3: quest detail. Vivid quest tiles, level ribbon, bottom tab bar. Use when the brief asks for a "gamified app", "habit tracker", "RPG-style…

nexu-io/open-design · 117 tokens

mobile-app

A mobile-app screen rendered inside a pixel-accurate iPhone 15 Pro frame on the page. Built by copying the seed assets/template.html and pasting one screen archetype from references/layouts.md. Use when the brief asks for "mobile app", "iOS app", "Android app", "phone screen", or "app UI".

nexu-io/open-design · 79 tokens