ciel-swift-and-ios-standards

ciel-swift-and-ios-standards is a skill for Claude Code, Codex from jxoesneon/Ciel. It costs 31 tokens per session (558 once invoked), scanned A, original, Apache-2.0.

A set of Swift and iOS development rules covering safe concurrent code, actor-based local storage, and Apple’s Liquid Glass interface style. Actors are Swift’s way to control access to shared data from different tasks.

In plain words
What is it for?
Structuring Swift concurrency, protecting shared and global state, building an in-memory cache with atomic disk writes, and applying Liquid Glass containers and interaction states.
Why use it?
It helps avoid data races, corrupted local files, and inconsistent interface styling in modern iOS applications.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Structuring Swift concurrency, protecting shared and global state, building an in-memory cache with atomic disk writes, and applying Liquid Glass containers and interaction states.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jxoesneon/ciel/ciel-swift-and-ios-standards
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 jxoesneon/Ciel --skill ciel-swift-and-ios-standards
Clone the repo
git clone --depth 1 https://github.com/jxoesneon/Ciel

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 ciel-swift-and-ios-standards

README.md
[![agentmods](https://agentmods.dev/badge/skills/jxoesneon/ciel/ciel-swift-and-ios-standards/github.svg)](https://agentmods.dev/skills/jxoesneon/ciel/ciel-swift-and-ios-standards)
Your own site
<a href="https://agentmods.dev/skills/jxoesneon/ciel/ciel-swift-and-ios-standards"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/ciel-swift-and-ios-standards/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 ciel-swift-and-ios-standards

Your own site · 80×15
<a href="https://agentmods.dev/skills/jxoesneon/ciel/ciel-swift-and-ios-standards"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/ciel-swift-and-ios-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 558 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.00031 $0.00558
Opus 5 $0.00015 $0.00279
Sonnet 5 $0.00006 $0.00112
Haiku 4.5 $0.00003 $0.00056

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

Security

Grade A, and why

ciel-swift-and-ios-standards 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.

skills/ciel-swift-and-ios-standards/SKILL.md · 52 lines

What it actually says

CIEL ADAPTATION: Swift & iOS Standards (The Apple Layer)

This skill formalizes modern Swift development. it prioritizes data-race safety and the Liquid Glass design language.

Approachable Concurrency (Swift 6.2+)

  1. Single-Threaded Default: Start on MainActor. Async functions stay on the calling actor by default.
  2. Isolated Conformances: Conforming MainActor types to protocols safely without @Sendable workarounds.
  3. Explicit Parallelism: Use @concurrent ONLY for CPU-intensive background tasks (e.g., image processing).
  4. Static State: Protect all global/static variables with MainActor or actor isolation.

Actor-Based Persistence

  • Repository: Use actor for serialized access to local data.
  • In-Memory Cache: Maintain a dictionary for O(1) lookups; persist to disk atomically on write.
  • Hard Gate: ALWAYS use .atomic writes to prevent file corruption.
  • Initialization: Load cache synchronously in init to avoid async lifecycle complexity.

Liquid Glass Design (iOS 26+)

  • Container First: Wrap multiple glass elements in a GlassEffectContainer for performance and morphing.
  • Interactivity: Use .interactive() only on touch/pointer targets.
  • Transitions: Use @Namespace + glassEffectID for smooth morphing on view hierarchy changes.

Anti-Patterns

  • Implicit Offloading: Assuming async functions run in the background (they stay on the caller in 6.2).
  • DispatchQueue Overuse: Using legacy queues instead of actors for new thread-safe state.
  • Opaque Glass: Placing opaque backgrounds behind glass elements (destroys the translucency effect).
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 · 52 lines · 31 tokens per session scan A 0faf3cf5fe52

Subscribe to this mod's changes

ciel-swift-and-ios-standards is a skill published in the GitHub repository jxoesneon/Ciel (1 stars, last pushed 5d ago), licensed Apache-2.0. It adds 31 tokens to every session and 558 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-09-03.