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.
npx agentmods add skills/gaelic-ghost/socket/core-animation-layer-workflownpx skills add gaelic-ghost/socket --skill core-animation-layer-workflowgit clone --depth 1 https://github.com/gaelic-ghost/socketWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00143 | $0.01802 |
| Opus 5 | $0.00072 | $0.00901 |
| Sonnet 5 | $0.00029 | $0.00360 |
| Haiku 4.5 | $0.00014 | $0.00180 |
Grade A, and why
core-animation-layer-workflow 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Core Animation Layer Workflow
Purpose
Use this skill to decide when Core Animation is the right layer-backed rendering or animation surface, then guide implementation, repair, and validation without confusing layer ownership with SwiftUI, AppKit, or UIKit view ownership.
It is not the default path for ordinary SwiftUI motion, AppKit/UIKit control animation, app architecture, or Xcode execution.
When To Use
- Use this skill when the task mentions Core Animation, QuartzCore,
CALayer,CAAnimation,CABasicAnimation,CAKeyframeAnimation,CAAnimationGroup,CATransaction,CAMediaTiming,presentationLayer,modelLayer, or layer trees. - Use this skill when the task mentions layer-backed AppKit views,
wantsLayer,UIView.layer,layerClass, customCALayersubclasses, shape layers, gradient layers, text layers, tiled layers, emitter layers, replicator layers, or transform layers. - Use this skill when the work needs model-layer versus presentation-layer reasoning, implicit-animation repair, explicit-animation timing, hit-testing during animation, layer-content scaling, or layer-backed performance diagnosis.
- Recommend
swiftui-animation-workflowwhen SwiftUI-native state animation, transitions, phase/keyframe animation, or reduce-motion behavior is enough. - Recommend
appkit-app-architecture-workfloworswiftui-app-architecture-workflowwhen the real issue is ownership, view structure, scene structure, or lifecycle. - Recommend
xcode-build-run-workflowwhen the next step is build, preview, simulator, screenshot, runtime diagnostics, Instruments handoff, or project-file validation.
Single-Path Workflow
- Classify the layer job:
- view backing layer
- custom layer drawing
- implicit property animation
- explicit
CAAnimation - layer tree composition
- model/presentation mismatch
- layer bridge from SwiftUI, AppKit, or UIKit
- performance or rendering artifact diagnosis
- Apply the Apple docs gate:
- read the relevant Apple documentation first
- state the documented behavior being relied on before recommending implementation
- if Apple docs and the current code disagree, stop and surface the conflict
- if no relevant Apple docs can be found, say that explicitly before proceeding
- Decide whether Core Animation is justified:
- stay in SwiftUI, AppKit, or UIKit when their animation helpers cover the behavior clearly
- use Core Animation when the task needs layer tree composition, presentation-layer inspection, custom layer subclasses, specialized layer types, or lower-level timing
- consider SpriteKit, SceneKit, Metal, AVFoundation, or Canvas when the task is really game, 3D, GPU rendering, video, or SwiftUI drawing work
- Choose the layer ownership boundary:
- UIKit view backing layer
- AppKit layer-backed view
- standalone sublayer tree owned by a view/controller/representable
- custom layer class with explicit inputs
- SwiftUI bridge via representable or hosting boundary
- Choose the animation path:
- implicit animation through property changes and transactions
- explicit animation object when timing, repeat, key path, fill behavior, or presentation continuity requires it
- disabled actions when layout or data updates must not animate
- framework-level animation when Core Animation is unnecessary
- Check model and presentation behavior:
- update the model layer to the intended final value
- use presentation layer only for in-flight visual state, hit testing, or diagnostics
- avoid leaving animations that visually finish but snap because the model layer was not updated
- Return one recommendation path with:
- the layer ownership boundary
- chosen layer or animation primitive
- documented behavior relied on
- artifact, timing, or performance risk
- validation or handoff step
What ships with it
4 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.
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.
- 2d ago First seen · 135 lines · 143 tokens per session scan A 7810c8d852e7
core-animation-layer-workflow is a skill published in the GitHub repository gaelic-ghost/socket (7 stars, last pushed 6d ago), licensed Apache-2.0. It adds 143 tokens to every session and 1,802 once invoked, about $0.0007 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.
Other skills, from other repositories
baocut
BaoCut-only operator for the installed bcut CLI and .bcut projects. Implicitly trigger only when the request explicitly names BaoCut or bcut, targets a .bcut project or BaoCut Subtitle Studio, or continues a BaoCut workflow already established in the conversation. Do not trigger solely for generic audio or video…
use-gemini-web
Use the user's logged-in Gemini Web session as an untrusted auxiliary model when its public YouTube audio/visual understanding, public-URL context, or an independent second analysis materially helps Codex answer or verify a request. Use for one or multiple public videos, follow-up questions, cross-checking, or a fresh…
apple-music-player
Play random songs or specific tracks in Music.app from the local Music library. Use when a user asks to play a random song by artist, random track from an album, random track from a playlist, or a specific track by name (optionally with artist).
ffmpeg-video-editor-h265
Generate FFmpeg commands from natural language video editing requests - cut, trim, convert, compress, change aspect ratio, extract audio, and more.
swift-concurrency-pro
Reviews Swift code for concurrency correctness, modern API usage, and common async/await pitfalls. Use when reading, writing, or reviewing Swift concurrency code.
swiftui-pro
Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance. Use when reading, writing, or reviewing SwiftUI projects.