Tracely-ai: Skill for Claude Code

.agents/skills/swiftui-graphics/SKILL.md

swiftui-graphics is a skill for Claude Code, Codex from Jwuthri/Tracely-ai. It costs 45 tokens per session (3,364 once invoked), scanned A, original, MIT.

A guide to creating advanced visual effects in SwiftUI, Apple's framework for building app interfaces, using drawing tools, view effects, and Metal shaders.

In plain words
What is it for?
Use it to build animated per-pixel effects, custom Canvas drawings, geometry-aware view effects, iOS 26 glass effects, and Metal shader-based visuals.
Why use it?
It helps choose an appropriate technique for effects such as color changes, distortion, custom graphics, glass-like visuals, holograms, and CRT styles.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; installed under .agents/ (shared by several agents).

This is Jwuthri/Tracely-ai's own configuration. It tells Claude Code and Codex how to work on Tracely-ai 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 Tracely-ai configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Foundation: `../swiftui-motion/SKILL.md` covers the basics..

About the project

Tracely is a CI/CD system for AI agents that turns failed production traces into replayable regression tests. Development teams use it to detect and group agent failures, run the resulting cases on pull requests, and block changes that reproduce those failures. The catalogue entries provide skills for operating this trace-based testing and observability workflow.

Jwuthri/Tracely-ai · 1,216 stars · on GitHub · tracely-ai.com

Reuse

Borrowing it

Nothing to install: this file belongs to Jwuthri/Tracely-ai. 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/Jwuthri/Tracely-ai/master/.agents/skills/swiftui-graphics/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Jwuthri/Tracely-ai

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jwuthri/tracely-ai/swiftui-graphics"><img src="https://agentmods.dev/badge/skills/jwuthri/tracely-ai/swiftui-graphics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,364 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00045 $0.03364
Opus 5 $0.00023 $0.01682
Sonnet 5 $0.00009 $0.00673
Haiku 4.5 $0.00005 $0.00336

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

Security

Grade A, and why

swiftui-graphics 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 9d 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

Copies of this mod

2 near-identical copies found in the catalogue:

.agents/skills/swiftui-graphics/SKILL.md · 409 lines

How it starts

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

SwiftUI Graphics

Advanced SwiftUI visuals: Metal shaders, visual effects, Liquid Glass, Canvas. Loaded for advanced thesis (shaders, holographic, liquid-glass, distortion). Foundation: ../swiftui-motion/SKILL.md covers the basics. Concise rules here. Deep-dives in references/.


Decision Tree: Which API?

Need API
Pixel-level color manipulation .colorEffect(ShaderLibrary....)
Pixel position / distortion .distortionEffect(ShaderLibrary....)
Full layer with overlay (mix shader + bg) .layerEffect(ShaderLibrary....)
View modifier with geometry context .visualEffect { content, geometry in }
Custom drawing (paths, gradients) Canvas { context, size in }
iOS 26+ glassmorphism .glassEffect() / GlassEffectContainer
Performance dump Canvas with .opaque(true) then export

Default order of escalation: built-in modifiers -> .visualEffect -> Canvas -> Metal shader. Reach for shaders only when the effect is per-pixel and animated.


Metal Shaders Intro

SwiftUI binds to Metal Shading Language (MSL) via three modifiers shipped in iOS 17: .colorEffect, .distortionEffect, .layerEffect. You author a .metal file in your app target, mark functions with the [[ stitchable ]] attribute, and SwiftUI auto-generates the Swift binding via ShaderLibrary.<functionName>(...). One library per app target. Shaders run on the GPU at native resolution; arguments are passed as .float, .float2, .color, .image from Swift. iOS 17+ only; for older targets, fall back to gradients, blur, or Canvas.

The three slots differ by what data they receive:

  • .colorEffect: gets (position, color), returns transformed color. No neighbor sampling.
  • .distortionEffect: gets (position), returns a new sample position. Pixels move, colors do not change.
  • .layerEffect: gets (position, SwiftUI::Layer layer), returns final color. Can sample anywhere within maxSampleOffset. Most expensive.

Read the full file on GitHub · 409 lines

Files

What ships with it

3 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. 9d ago First seen · 409 lines · 45 tokens per session scan A 73afab1cd83a

Subscribe to this mod's changes

swiftui-graphics is a skill published in the GitHub repository Jwuthri/Tracely-ai (1,216 stars, last pushed 2d ago), licensed MIT. It adds 45 tokens to every session and 3,364 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

eas-workflows

EAS service (paid). Helps understand and write EAS workflow YAML files for Expo projects. Use this skill when the user asks about CI/CD or workflows in an Expo or EAS context, mentions .eas/workflows/, or wants help with EAS build pipelines or deployment automation.

expo/skills · 63 tokens

flutter-cicd

Set up CI/CD pipelines for Flutter apps. Use when configuring automated testing, build, or deployment workflows with GitHub Actions or Fastlane.

HoangNguyen0403/agent-skills-standard · 33 tokens

github-actions

GitHub Actions workflow patterns for React Native iOS simulator and Android emulator cloud builds with downloadable artifacts. Use when setting up CI build pipelines or downloading GitHub Actions artifacts via gh CLI and GitHub API.

callstackincubator/agent-skills · 44 tokens

android-tooling

Configure Android static analysis with Detekt, Ktlint, and Android Lint for CI/CD quality gates. Use for Android-specific lint and quality tooling; defer generic Java Checkstyle, SonarQube, and standalone CI configuration.

HoangNguyen0403/agent-skills-standard · 51 tokens

app-store-deployment

Publishes mobile applications to iOS App Store and Google Play with code signing, versioning, and CI/CD automation. Use when preparing app releases, configuring signing certificates, or setting up automated deployment pipelines.

secondsky/claude-skills · 46 tokens

swift-preflight

Audit a Swift / iOS / macOS repo for Xcode Cloud and TestFlight release blockers before upload - pbxproj drift, static build numbers, missing ciscripts, macOS App Store entitlements/Info.plist, headless-CI keychain tests, ad-hoc signing entitlement rejections, and flaky-UITest release gating. Reports PASS/WARN/FAIL…

charlesjones-dev/claude-code-plugins-dev · 86 tokens