Agent skill

macOS Liquid Glass

by robinebers in robinebers/openusage

Implement and review macOS SwiftUI Liquid Glass UI. An agent skill from robinebers/openusage.

MITAuto-check passedMobile

Install macOS Liquid Glass

skills CLI
$ npx skills add robinebers/openusage --skill macos-liquid-glass -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install robinebers/openusage macos-liquid-glass --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/robinebers/openusage.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/macos-liquid-glass .claude/skills/macos-liquid-glass && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
macos-liquid-glass
GitHub stars
4.3k
Token cost
~2.2k tokens
SKILL.md length
1,192 words
Files
1
Skills in repo
25
Repo updated
First seen
Licence
MIT

At a glance

Implement and review macOS SwiftUI Liquid Glass UI. An agent skill from robinebers/openusage.

  • Works in 6 steps: Read the relevant scene or root view and… → Remove custom backgrounds or darkening… → Update standard SwiftUI structure and… → …
  • Adopting system glass
  • SKILL.md covers Overview, Workflow, App Structure and Toolbars, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

macOS Liquid Glass is an agent skill from robinebers/openusage. Implement and review macOS SwiftUI Liquid Glass UI. Use when adopting system glass, removing conflicting custom chrome, or building glass surfaces.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering iOS development. It works with macOS and SwiftUI. The repository describes itself as: Burning through your subscriptions too fast? Paying for stuff you never use? Stop guessing. OpenUsage is free and open source. The licence is MIT.

When your agent uses it

  • Adopting system glass
  • Removing conflicting custom chrome
  • Building glass surfaces

Example prompts

  • “/macos-liquid-glass”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Read the relevant scene or root view and identify the structural pattern
  2. Remove custom backgrounds or darkening layers behind system sheets,
  3. Update standard SwiftUI structure and controls first.
  4. Add custom glassEffect surfaces only for app-specific UI that standard
  5. Validate that glass grouping, transitions, icon treatment, and foreground
  6. If the UI change also affects launch behavior for a SwiftPM GUI app, use

What it can do on your machine

Read from SKILL.md and the folder at commit bb7de17. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

macOS Liquid Glass loads about 2.2k tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 1,192 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from robinebers/openusage at commit bb7de17, republished under its MIT licence (© robinebers). 1,192 words, ~2,176 tokens.

Download SKILL.mdSave it as .claude/skills/macos-liquid-glass/SKILL.md (or your agent's skills folder).
name
macos-liquid-glass
description
Implement and review macOS SwiftUI Liquid Glass UI. Use when adopting system glass, removing conflicting custom chrome, or building glass surfaces.

Liquid Glass

Overview

Use this skill to bring a macOS SwiftUI app into the modern macOS design system with the least custom chrome possible. Start with standard app structure, toolbars, search placement, sheets, and controls, then add custom Liquid Glass only where the app needs a distinctive surface.

Prefer system-provided glass and adaptive materials over bespoke blur, opaque backgrounds, or custom toolbar/sidebar skins. Audit existing UI for extra fills, scrims, and clipping before adding more effects.

Workflow

  1. Read the relevant scene or root view and identify the structural pattern: NavigationSplitView, TabView, sheet presentation, detail/inspector layout, toolbar, or custom floating controls.
  2. Remove custom backgrounds or darkening layers behind system sheets, sidebars, and toolbars unless the product explicitly needs them. These can obscure Liquid Glass and interfere with the automatic scroll-edge effect.
  3. Update standard SwiftUI structure and controls first.
  4. Add custom glassEffect surfaces only for app-specific UI that standard controls do not cover.
  5. Validate that glass grouping, transitions, icon treatment, and foreground activation are visually coherent and still usable with pointer and keyboard.
  6. If the UI change also affects launch behavior for a SwiftPM GUI app, use macos-build-run-debug so the app runs as a foreground .app bundle rather than as a raw executable.

App Structure

  • Prefer NavigationSplitView for hierarchy-driven macOS layouts. Let the sidebar use the system Liquid Glass material instead of painting over it.
  • For hero artwork or large media adjacent to a floating sidebar, use backgroundExtensionEffect so the visual can extend beyond the safe area without clipping the subject.
  • Keep inspectors visually associated with the current selection and avoid giving them a heavier custom background than the content they inspect.
  • If the app uses tabs, keep TabView for persistent top-level sections and preserve each tab's local navigation state.
  • Do not force iPhone-only tab bar minimize/accessory behavior onto a Mac app. On macOS, prefer a conventional top toolbar and native tab/search placement.
  • If a sheet already uses presentationBackground purely to imitate frosted material, consider removing it and letting the system's new material render.
  • For sheet transitions that should visually originate from a toolbar button, make the presenting item the source of a navigation zoom transition and mark the sheet content as the destination.

Toolbars

  • Assume toolbar items are rendered on a floating Liquid Glass surface and are grouped automatically.
  • Use ToolbarSpacer to communicate grouping:
    • fixed spacing to split related actions into a distinct group,
    • flexible spacing to push a leading action away from a trailing group.
  • Use sharedBackgroundVisibility when an item should stand alone without the shared glass background, for example a profile/avatar item.
  • Add badge to toolbar item content for notification or status indicators.
  • Expect monochrome icon rendering in more toolbar contexts. Use tint only to convey semantic meaning such as a primary action or alert state, not as pure decoration.
  • If content underneath a toolbar has extra darkening, blur, or custom background layers, remove them before judging the new automatic scroll-edge effect.
  • For dense windows with many floating elements, tune the content's scroll-edge treatment with scrollEdgeEffectStyle instead of building a custom bar background.
  • For a search field that applies across a whole split-view hierarchy, attach searchable to the NavigationSplitView, not to just one column.
  • When search is secondary and a compact affordance is better, use searchToolbarBehavior instead of hand-rolling a toolbar button and a separate field.
  • For a dedicated search page in a multi-tab app, assign the search role to one tab and place searchable on the TabView.
  • Make most of the app's content discoverable from search when the field lives in the top-trailing toolbar location.
  • On iPad and Mac, expect the dedicated search tab to show a centered field above browsing suggestions rather than a bottom search bar.

Controls

  • Prefer standard SwiftUI controls before creating custom glass components.
  • Expect bordered buttons to default to a capsule shape at larger sizes. On macOS, mini/small/medium controls preserve a rounded-rectangle shape for denser layouts.
  • Use buttonBorderShape when a button shape needs to be explicit.
  • Use controlSize to preserve density in inspectors and popovers, and reserve extra-large sizing for truly prominent actions.
  • Use the system glass and glass-prominent button styles for primary actions instead of recreating a translucent button background by hand.
  • For sliders with discrete values, pass step to get automatic tick marks or provide specific ticks in a ticks closure.
  • For sliders that should expand left and right around a baseline, set neutralValue.
  • Use Label or standard control initializers for menu items so icons are consistently placed on the leading edge across platforms.
  • For custom shapes that must align concentrically with a sheet, card, or window corner, use a concentric rectangle shape with the containerConcentric corner configuration instead of guessing a radius.
Show full SKILL.md (413 more words)Show less

Custom Liquid Glass

  • Use glassEffect for custom glass surfaces. The default shape is capsule-like and text foregrounds are automatically made vibrant and legible against changing content underneath.
  • Pass an explicit shape to glassEffect when a capsule is not the right fit.
  • Add tint only when color carries meaning, such as a status or call to action.
  • Use glassEffect(... .interactive()) for custom controls or containers with interactive elements so they scale, bounce, and shimmer like system glass.
  • Wrap nearby custom glass elements in one GlassEffectContainer. This is a visual correctness rule, not just organization: separate containers cannot sample each other's glass and can produce inconsistent refraction.
  • Use glassEffectID with a local @Namespace when matching glass elements should morph between collapsed and expanded states.

Review Checklist

  • Standard structures and controls were updated first before adding custom glass.
  • Opaque backgrounds, dark scrims, and custom toolbar/sheet fills that fight the system material were removed unless intentionally required.
  • searchable is attached at the correct container level for the intended search scope.
  • Toolbar grouping uses ToolbarSpacer, sharedBackgroundVisibility, and badge instead of one-off hand-built chrome.
  • Icon tint is semantic, not decorative.
  • Custom glass elements that sit near each other share a GlassEffectContainer.
  • Morphing glass transitions use glassEffectID with a namespace and stable identity.
  • Any SwiftPM GUI app used to test the result is launched as a .app bundle, not as a raw executable.

Guardrails

  • Do not rebuild system sidebars, toolbars, sheets, or controls from scratch if standard SwiftUI APIs already provide the modern macOS behavior.
  • Do not apply custom opaque backgrounds behind a NavigationSplitView sidebar, system toolbar, or sheet just because an older version needed one.
  • Do not scatter related glass elements across multiple GlassEffectContainers.
  • Do not tint every icon or glass surface for visual variety alone.
  • Do not assume an iPhone tab/search behavior is the right answer on macOS. Prefer desktop-native toolbar, split-view, and inspector placement.
  • Do not leave a GUI SwiftPM app launching as a bare executable when reviewing Liquid Glass behavior; missing foreground activation can make a design bug look like a rendering bug.

When To Use Other Skills

  • Use macos-swiftui-patterns when the main question is scene architecture, sidebar/detail layout, commands, or settings rather than Liquid Glass-specific treatment.
  • Use macos-view-refactor when the main issue is file structure, state ownership, and extracting large views before design changes.
  • Use macos-appkit-interop when the design requires window, panel, responder-chain, or AppKit-only control behavior.
  • Use macos-build-run-debug when you need to launch, verify, or inspect logs for the app after the visual update.

© robinebers, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/macos-liquid-glass of robinebers/openusage.

Open the folder on GitHubat commit bb7de17

Compare with similar skills

macOS Liquid Glass next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

macOS Liquid Glass compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
macOS Liquid Glass this skillrobinebers/openusage4.3k—~2.2kAutomated safety check: PassMIT
Swiftui Expert Skillomarshahine/HomeClaw1764 repos~2.8kAutomated safety check: PassMIT
Appkit Swiftui BridgeKartikLabhshetwar/better-shot2.4k2 repos~1.1kAutomated safety check: PassCustom licence
macOS Notch UIfayazara/Screendrop2.2k—~1.8kAutomated safety check: PassCC0-1.0
Hig Project Contextraintree-technology/hig-doctor1445 repos~1.2kAutomated safety check: PassMIT
Swiftui Expert SkillEslzzyl/Pixiv-SwiftUI1111 repos~2.9kAutomated safety check: PassAGPL-3.0

Similar skills

  • Swiftui Expert Skill

    omarshahine/HomeClaw

    A skill your agent uses when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state management, view composition, performance, Liquid Glass adoption, or Instruments .trace…

    176 GitHub starsUsed in 4 repos~2.8k tokens
    MobileAuto-check passed
  • Appkit Swiftui Bridge

    KartikLabhshetwar/better-shot

    Expert guidance for hybrid AppKit-SwiftUI development. An agent skill from KartikLabhshetwar/better-shot.

    2.4k GitHub starsUsed in 2 repos~1.1k tokens
    MobileAuto-check passed
  • macOS Notch UI

    fayazara/Screendrop

    Add a Dynamic Island-style notch UI to a macOS app. An agent skill from fayazara/Screendrop.

    2.2k GitHub stars~1.8k tokensUpdated 9 days ago
    MobileAuto-check passed
  • Hig Project Context

    raintree-technology/hig-doctor

    Create or update a shared Apple design context document that other HIG skills use to tailor guidance.

    144 GitHub starsUsed in 5 repos~1.2k tokens
    MobileAuto-check passed
  • Swiftui Expert Skill

    Eslzzyl/Pixiv-SwiftUI

    A skill your agent uses when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state and @Observable data flow, view composition, resizable layouts, safe areas, display…

    111 GitHub starsUsed in 1 repo~2.9k tokens
    MobileAuto-check passed
  • Hig Components Content

    raintree-technology/hig-doctor

    Apple Human Interface Guidelines for content display components.

    144 GitHub starsUsed in 5 repos~1.3k tokens
    MobileAuto-check passed

More from robinebers/openusage

All 25 skills in this repo
  • Swiftui Patterns

    robinebers/openusage

    Best practices and example-driven guidance for building native macOS SwiftUI scenes and components, including windows, commands, toolbars, settings, split views, inspectors, menu bar extras, and…

    4.3k GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • macOS Telemetry

    robinebers/openusage

    Add and verify lightweight macOS runtime telemetry. An agent skill from robinebers/openusage.

    4.3k GitHub stars~934 tokensUpdated yesterday
    Auto-check passed
  • Release Swift

    robinebers/openusage

    Cut a release of OpenUsage (Swift menu-bar app): pick a version, generate a categorized changelog, tag from main, and publish the GitHub Release with notes.

    4.3k GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Telemetry

    robinebers/openusage

    Add lightweight runtime telemetry and debug instrumentation to macOS apps, then verify those events after building and running.

    4.3k GitHub stars~977 tokensUpdated yesterday
    Auto-check passed
  • Window Management

    robinebers/openusage

    Customize macOS 15+ SwiftUI windows and scene behavior using Window, WindowGroup, and macOS window modifiers.

    4.3k GitHub stars~2.6k tokensUpdated yesterday
    Auto-check passed
  • Appkit Interop

    robinebers/openusage

    Decide when and how to bridge a macOS app from SwiftUI into AppKit.

    4.3k GitHub stars~741 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about macOS Liquid Glass

What does macOS Liquid Glass do?

Implement and review macOS SwiftUI Liquid Glass UI. An agent skill from robinebers/openusage. macOS Liquid Glass is an agent skill from robinebers/openusage. Implement and review macOS SwiftUI Liquid Glass UI.

When should I use macOS Liquid Glass?

macOS Liquid Glass fits situations like: adopting system glass; removing conflicting custom chrome; building glass surfaces.

How do I install macOS Liquid Glass in Claude Code?

Run `npx skills add robinebers/openusage --skill macos-liquid-glass -a claude-code`. Or copy the skill folder (.agents/skills/macos-liquid-glass in robinebers/openusage) into .claude/skills/macos-liquid-glass in your project. Claude Code loads it when a task matches its description.

How do I install macOS Liquid Glass in Codex?

Run `npx skills add robinebers/openusage --skill macos-liquid-glass -a codex`. Or copy the skill folder (.agents/skills/macos-liquid-glass in robinebers/openusage) into .agents/skills/macos-liquid-glass in your project. Codex loads it when a task matches its description.

Can I use macOS Liquid Glass in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add robinebers/openusage --skill macos-liquid-glass -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/macos-liquid-glass, .gemini/skills/macos-liquid-glass, .github/skills/macos-liquid-glass and .opencode/skills/macos-liquid-glass in your project.

What does macOS Liquid Glass need to run?

SKILL.md names no scripts, command-line tools or credentials: macOS Liquid Glass is instructions for the agent only.

Does macOS Liquid Glass access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is macOS Liquid Glass safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does macOS Liquid Glass use?

macOS Liquid Glass is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does macOS Liquid Glass use?

About 2.2k tokens (SKILL.md is roughly 8.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to macOS Liquid Glass?

Skills that share tags, products or a category with macOS Liquid Glass: Swiftui Expert Skill (omarshahine/HomeClaw, 176 stars), Appkit Swiftui Bridge (KartikLabhshetwar/better-shot, 2.4k stars), macOS Notch UI (fayazara/Screendrop, 2.2k stars) and Hig Project Context (raintree-technology/hig-doctor, 144 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains macOS Liquid Glass?

robinebers (a GitHub user) maintains it in robinebers/openusage, which has 4,341 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 10, 2026.

Source: robinebers/openusage on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.