apple-pim: Skill for Claude Code

.claude/skills/swiftui-liquid-glass/SKILL.md

swiftui-liquid-glass is a skill for Claude Code, Codex from omarshahine/apple-pim. It costs 62 tokens per session (866 once invoked), scanned A, a copy of swiftui-liquid-glass, MIT.

A development guide for building or reviewing SwiftUI interfaces with Apple’s Liquid Glass design system in iOS 26 and later. SwiftUI is Apple’s framework for creating app screens with code, while Liquid Glass provides translucent, interactive interface surfaces.

In plain words
What is it for?
Use it to add Liquid Glass to SwiftUI screens, improve existing glass-styled components, or check whether their implementation follows Apple’s design guidance.
Why use it?
It helps apply the newer design system consistently, including correct modifier order, grouping, interaction, performance, and support for older iOS versions.

Skill for Claude CodeCodex

Written for Claude Code and Codex: installed under .claude/, but also agents/openai.yaml present.

This is omarshahine/apple-pim's own configuration. It tells Claude Code and Codex how to work on apple-pim itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything apple-pim configures →

Part of the apple-pim plugin — 16 skills, 7 commands shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to omarshahine/apple-pim. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/omarshahine/apple-pim/main/.claude/skills/swiftui-liquid-glass/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/omarshahine/apple-pim

Made for: Claude Code, Codex.

Or install apple-pim, the plugin that ships this one along with the rest of its 16 skills, 7 commands.

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/omarshahine/apple-pim/swiftui-liquid-glass/github.svg)](https://agentmods.dev/skills/omarshahine/apple-pim/swiftui-liquid-glass)
Your own site
<a href="https://agentmods.dev/skills/omarshahine/apple-pim/swiftui-liquid-glass"><img src="https://agentmods.dev/badge/skills/omarshahine/apple-pim/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/omarshahine/apple-pim/swiftui-liquid-glass"><img src="https://agentmods.dev/badge/skills/omarshahine/apple-pim/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 866 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 88% 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.00062 $0.00866
Opus 5 $0.00031 $0.00433
Sonnet 5 $0.00012 $0.00173
Haiku 4.5 $0.00006 $0.00087

Measured 11d ago against content hash 4894cc1b529a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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

88% identical to swiftui-liquid-glass — 6 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.

.claude/skills/swiftui-liquid-glass/SKILL.md · 91 lines

How it starts

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

SwiftUI Liquid Glass

Overview

Use this skill to build or review SwiftUI features that fully align with the iOS 26+ Liquid Glass API. Prioritize native APIs (glassEffect, GlassEffectContainer, glass button styles) and Apple design guidance. Keep usage consistent, interactive where needed, and performance aware.

Workflow Decision Tree

Choose the path that matches the request:

1) Review an existing feature

  • Inspect where Liquid Glass should be used and where it should not.
  • Verify correct modifier order, shape usage, and container placement.
  • Check for iOS 26+ availability handling and sensible fallbacks.

2) Improve a feature using Liquid Glass

  • Identify target components for glass treatment (surfaces, chips, buttons, cards).
  • Refactor to use GlassEffectContainer where multiple glass elements appear.
  • Introduce interactive glass only for tappable or focusable elements.

3) Implement a new feature using Liquid Glass

  • Design the glass surfaces and interactions first (shape, prominence, grouping).
  • Add glass modifiers after layout/appearance modifiers.
  • Add morphing transitions only when the 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 for a cohesive look.
  • Gate with #available(iOS 26, *) and provide a non-glass fallback.

Review Checklist

  • Availability: #available(iOS 26, *) present with fallback UI.
  • Composition: Multiple glass views wrapped in GlassEffectContainer.
  • Modifier order: glassEffect applied after layout/appearance modifiers.
  • Interactivity: interactive() only where user interaction exists.
  • Transitions: glassEffectID used with @Namespace for morphing.
  • Consistency: Shapes, tinting, and spacing align across the feature.

Read the full file on GitHub · 91 lines

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. 11d ago First seen · 91 lines · 62 tokens per session scan A 4894cc1b529a

Subscribe to this mod's changes

swiftui-liquid-glass is a skill published in the GitHub repository omarshahine/apple-pim (54 stars, last pushed 4d ago), licensed MIT. It adds 62 tokens to every session and 866 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to swiftui-liquid-glass, differing in 6 lines, and is treated as a copy.

Related

Other skills, from other repositories

hz-unity-meta-quest-ui

Configures Unity UI for Meta Quest and Horizon OS VR development — world-space canvases, TextMesh Pro setup, comfortable sizing, viewing distances, and interaction readiness.

meta-quest/agentic-tools · 41 tokens

troubleshoot-tcc

A troubleshooting guide for macOS permissions that control access to Calendar and Reminders.

PsychQuant/che-ical-mcp · 119 tokens

archive-event

Archive a meeting or event into Calendar from a narrative source — a meeting notice, an announcement, a message thread — deriving the time from the thread's authoritative correction, recording the source in the event notes, and labelling any value the source did not state. Use when the user hands over a notice…

PsychQuant/che-ical-mcp · 0 tokens

build-swiftui-interface

Use when a coding agent must design, scaffold, implement, or verify an iOS or macOS SwiftUI interface with Apple-platform state, accessibility, availability, testing, and Xcode evidence.

memi-design/memi · 45 tokens

calendar-management

Guide for effective use of che-ical-mcp for macOS Calendar & Reminders management. Use when user asks about calendar events, reminders, scheduling, or time management.

PsychQuant/che-ical-mcp · 38 tokens

rem-cli

Create, list, update, complete, tag, and search macOS Reminders via the rem CLI. Use when the user wants to manage Apple Reminders from the terminal, automate reminder workflows, reference reminders in shell scripts, or schedule anything on macOS.

BRO3886/rem · 55 tokens