migrating-to-swift-concurrency

migrating-to-swift-concurrency is a skill for Claude Code, Codex from kylehughes/the-unofficial-swift-concurrency-migration-skill. It costs 48 tokens per session (752 once invoked), scanned A, original, MIT.

A guide for Swift Concurrency, the Swift language features used to run work safely at the same time, and for moving projects toward Swift 6.

In plain words
What is it for?
Use it to understand async/await, Sendable, and actor isolation, enable concurrency checking, fix migration problems, and review source-compatibility or library-evolution issues.
Why use it?
It explains data-race safety, where shared data is accessed unsafely, and how to address common compiler errors during migration. It supports adopting these changes gradually.

Skill for Claude CodeCodex

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

Good fit Use it to understand async/await, Sendable, and actor isolation, enable concurrency checking, fix migration problems, and review source-compatibility or library-evolution issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kylehughes/the-unofficial-swift-concurrency-migration-skill/migrating-to-swift-concurrency
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 kylehughes/the-unofficial-swift-concurrency-migration-skill --skill migrating-to-swift-concurrency
Clone the repo
git clone --depth 1 https://github.com/kylehughes/the-unofficial-swift-concurrency-migration-skill

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin migrating-to-swift-concurrency-skill/plugin install migrating-to-swift-concurrency-skill after adding the marketplace above.

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 migrating-to-swift-concurrency

README.md
[![agentmods](https://agentmods.dev/badge/skills/kylehughes/the-unofficial-swift-concurrency-migration-skill/migrating-to-swift-concurrency/github.svg)](https://agentmods.dev/skills/kylehughes/the-unofficial-swift-concurrency-migration-skill/migrating-to-swift-concurrency)
Your own site
<a href="https://agentmods.dev/skills/kylehughes/the-unofficial-swift-concurrency-migration-skill/migrating-to-swift-concurrency"><img src="https://agentmods.dev/badge/skills/kylehughes/the-unofficial-swift-concurrency-migration-skill/migrating-to-swift-concurrency/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 migrating-to-swift-concurrency

Your own site · 80×15
<a href="https://agentmods.dev/skills/kylehughes/the-unofficial-swift-concurrency-migration-skill/migrating-to-swift-concurrency"><img src="https://agentmods.dev/badge/skills/kylehughes/the-unofficial-swift-concurrency-migration-skill/migrating-to-swift-concurrency.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 752 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.00048 $0.00752
Opus 5 $0.00024 $0.00376
Sonnet 5 $0.00010 $0.00150
Haiku 4.5 $0.00005 $0.00075

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

Security

Grade A, and why

migrating-to-swift-concurrency 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.

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.

migrating-to-swift-concurrency/SKILL.md · 50 lines

How it starts

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

Swift Concurrency Migration Guide

The complete content of the Swift Concurrency Migration Guide by Apple. This guide helps you migrate your code to take advantage of Swift's data-race safety guarantees and the Swift 6 language mode.

Documentation

Code Examples

Swift source files demonstrating migration patterns and concurrency concepts:

Read the full file on GitHub · 50 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 · 50 lines · 48 tokens per session scan A 3c6327b09569

Subscribe to this mod's changes

migrating-to-swift-concurrency is a skill published in the GitHub repository kylehughes/the-unofficial-swift-concurrency-migration-skill (56 stars, last pushed 9mo ago), licensed MIT. It adds 48 tokens to every session and 752 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

programming-swift

Provides the complete content of 'The Swift Programming Language (6.4 beta)' book by Apple. Use this skill when you need to verify Swift syntax, look up language features, understand concurrency, resolve compiler errors, or consult the formal language reference.

kylehughes/the-unofficial-swift-programming-language-skill · 55 tokens

programming-swift

Provides the complete content of 'The Swift Programming Language (6.2.1)' book by Apple. Use this skill when you need to verify Swift syntax, look up language features, understand concurrency, resolve compiler errors, or consult the formal language reference.

Shada01245/the-unofficial-swift-programming-language-skill · 56 tokens

generators

Code generator skills that produce production-ready Swift code for common app components. Use when user wants to add logging, analytics, onboarding, review prompts, networking, authentication, paywalls, settings, persistence, error monitoring, CI/CD pipelines, localization, push notifications, deep linking, testing…

rshankras/claude-code-apple-skills · 176 tokens

attributed-string

AttributedString patterns for rich text formatting, alignment, selection, and SwiftUI integration. Use when working with styled text, text editing, or AttributedString APIs.

rshankras/claude-code-apple-skills · 37 tokens

coding-best-practices

Reviews Swift/iOS code for adherence to modern Swift idioms, Apple platform best practices, architecture patterns, and code quality standards. Use when user mentions best practices, code review, clean code, refactoring, or wants to improve code quality.

rshankras/claude-code-apple-skills · 55 tokens

networking-layer

Generates a protocol-based networking layer with async/await, error handling, and swappable implementations. Use when user wants to add API client, networking, or HTTP layer.

rshankras/claude-code-apple-skills · 39 tokens