liquid-glass-motion

liquid-glass-motion is a skill for Claude Code from YordiLorenzo/liquid-glass-skills. It costs 252 tokens per session (1,292 once invoked), scanned A, original, MIT.

A guide to motion for Liquid Glass interfaces in SwiftUI, Apple's framework for building app screens. It covers glass effects, morphing elements, spacing, transitions, and shader-based visuals on newer Apple operating systems.

In plain words
What is it for?
Use it when animating Liquid Glass components, connecting elements during morphs, choosing glass transitions, or checking SDK availability and performance.
Why use it?
It helps avoid incorrect or incompatible animation code when building glass interfaces across specific Apple SDK versions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Part of the liquid-glass plugin — 3 skills shipped together

Good fit Use it when animating Liquid Glass components, connecting elements during morphs, choosing glass transitions, or checking SDK availability and performance.

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

Made for: Claude Code.

Or install liquid-glass, the plugin that ships this one along with the rest of its 3 skills.

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-motion

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yordilorenzo/liquid-glass-skills/liquid-glass-motion"><img src="https://agentmods.dev/badge/skills/yordilorenzo/liquid-glass-skills/liquid-glass-motion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 252 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,292 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.00252 $0.01292
Opus 5 $0.00126 $0.00646
Sonnet 5 $0.00050 $0.00258
Haiku 4.5 $0.00025 $0.00129

Measured 12d ago against content hash f2ec5a727e63, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

liquid-glass-motion 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 12d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/analyze_trace.py, scripts/instruments_parser/__init__.py, scripts/instruments_parser/causes.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

liquid-glass-motion/SKILL.md · 89 lines

How it starts

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

Liquid Glass — motion, animation, and shaders

Companion to the liquid-glass skill (~/.claude/skills/liquid-glass/). Same tag system: [verified] / [apple] / [multi] / [single] / [version-pinned] — see that skill's SKILL.md. Composed 2026-08 and verified against Apple documentation and SDK interfaces.

Operating rules

  1. Before generating code, ALWAYS read the availability firewall in the companion liquid-glass skill (installed alongside this one): references/availability-and-sdk27.md. Motion code trips the same SDK-27 breakages (.if ban, @ContentBuilder, renames).
  2. Load references on demand via the router — one topic, one file.
  3. The motion model: Liquid Glass and its motion were designed together. Glass does not fade — it materializes by modulating lensing; when glass grows, its material gets thicker (deeper shadow, stronger lensing). Size change is a material change, which is why morphs must be the system animation, never hand-faked.
  4. Verify motion claims against references/ before repeating them — circulating write-ups get several of these facts wrong; the corrected facts live in these files.
  5. Profiling evidence beats reasoning: record an Instruments trace with xctrace before optimizing, and never trust the iOS Simulator for the SwiftUI instrument — see references/performance-and-instrumentation.md.

Hard rules (the short list)

  1. Never animate glass with .opacity / fades — use glassEffectTransition (.materialize is the sanctioned fade-like option). [multi]
  2. Morphing silently no-ops unless ALL four hold: same GlassEffectContainer; glassEffectID per element in one shared @Namespace; the change is view insertion/removal (not a value change); the state change is inside withAnimation. Plus geometry: nearest edges within the container's spacing. [multi]
  3. The interactive "squish" is one boolean — .interactive(). No public spring/damping/ stiffness knobs exist; do not promise tunable jelly. [multi]
  4. Gate every glass animation on accessibilityReduceMotion — the default morph is a kinetic effect, and reduce-motion users have experienced it as flickering. The system does NOT gate your withAnimation for you. [multi]
  5. One animation source per property — never mix implicit .animation, withAnimation, and scroll-driven updates on the same property. Implicit later in the view tree silently wins over explicit. [multi]
  6. The animation context must live OUTSIDE a conditional — an .animation() inside the if is destroyed with the view and removal never animates. [multi]
  7. Prefer renderer-side motion for scroll: scrollTransition / visualEffect(in:) over observable scroll-offset plumbing. [apple]
  8. Animate transforms first (scale/offset/rotation), frames second, identity changes last. [multi]

Read the full file on GitHub · 89 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. 12d ago First seen · 89 lines · 252 tokens per session scan A f2ec5a727e63

Subscribe to this mod's changes

liquid-glass-motion is a skill published in the GitHub repository YordiLorenzo/liquid-glass-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 252 tokens to every session and 1,292 once invoked, about $0.0013 per session on Opus 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-08-31.