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 skills add kylehughes/the-unofficial-swift-programming-language-skill --skill programming-swiftgit clone --depth 1 https://github.com/kylehughes/the-unofficial-swift-programming-language-skillWrote 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.
[](https://agentmods.dev/skills/kylehughes/the-unofficial-swift-programming-language-skill/programming-swift)<a href="https://agentmods.dev/skills/kylehughes/the-unofficial-swift-programming-language-skill/programming-swift"><img src="https://agentmods.dev/badge/skills/kylehughes/the-unofficial-swift-programming-language-skill/programming-swift/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.
<a href="https://agentmods.dev/skills/kylehughes/the-unofficial-swift-programming-language-skill/programming-swift"><img src="https://agentmods.dev/badge/skills/kylehughes/the-unofficial-swift-programming-language-skill/programming-swift.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.01417 |
| Opus 5.5 | $0.00022 | $0.00567 |
| Sonnet 5.5 | $0.00011 | $0.00283 |
| Haiku 4.5 | $0.00005 | $0.00142 |
Grade A, and why
programming-swift 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 1mo 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- programming-swift — 97% identical, 5 lines differ
How it starts
The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
The Swift Programming Language
The entire content of The Swift Programming Language (6.4) book by Apple. This is a comprehensive language reference and guide to the Swift programming language.
Documentation Structure
Getting Started (GuidedTour)
- About Swift (GuidedTour/AboutSwift.md): Understand the high-level goals of the language.
- Version Compatibility (GuidedTour/Compatibility.md): Learn what functionality is available in older language modes.
- A Swift Tour (GuidedTour/GuidedTour.md): Explore the features and syntax of Swift.
Language Guide
- The Basics (LanguageGuide/TheBasics.md): Work with common kinds of data and write basic syntax.
- Basic Operators (LanguageGuide/BasicOperators.md): Perform operations like assignment, arithmetic, and comparison.
- Strings and Characters (LanguageGuide/StringsAndCharacters.md): Store and manipulate text.
- Collection Types (LanguageGuide/CollectionTypes.md): Organize data using arrays, sets, and dictionaries.
- Control Flow (LanguageGuide/ControlFlow.md): Structure code with branches, loops, and early exits.
- Functions (LanguageGuide/Functions.md): Define and call functions, label their arguments, and use their return values.
- Closures (LanguageGuide/Closures.md): Group code that executes together, without creating a named function.
- Enumerations (LanguageGuide/Enumerations.md): Model custom types that define a list of possible values.
- Structures and Classes (LanguageGuide/ClassesAndStructures.md): Model custom types that encapsulate data.
- Properties (LanguageGuide/Properties.md): Access stored and computed values that are part of an instance or type.
- Methods (LanguageGuide/Methods.md): Define and call functions that are part of an instance or type.
- Subscripts (LanguageGuide/Subscripts.md): Access the elements of a collection.
- Inheritance (LanguageGuide/Inheritance.md): Subclass to add or override functionality.
- Initialization (LanguageGuide/Initialization.md): Set the initial values for a type's stored properties and perform one-time setup.
- Deinitialization (LanguageGuide/Deinitialization.md): Release resources that require custom cleanup.
- Optional Chaining (LanguageGuide/OptionalChaining.md): Access members of an optional value without unwrapping.
- Error Handling (LanguageGuide/ErrorHandling.md): Respond to and recover from errors.
- Concurrency (LanguageGuide/Concurrency.md): Perform asynchronous operations.
- Macros (LanguageGuide/Macros.md): Use macros to generate code at compile time.
- Type Casting (LanguageGuide/TypeCasting.md): Determine a value's runtime type and give it more specific type information.
- Nested Types (LanguageGuide/NestedTypes.md): Define types inside the scope of another type.
- Extensions (LanguageGuide/Extensions.md): Add functionality to an existing type.
- Protocols (LanguageGuide/Protocols.md): Define requirements that conforming types must implement.
- Generics (LanguageGuide/Generics.md): Write code that works for multiple types and specify requirements for those types.
- Opaque and Boxed Protocol Types (LanguageGuide/OpaqueTypes.md): Hide implementation details about a value's type.
- Automatic Reference Counting (LanguageGuide/AutomaticReferenceCounting.md): Model the lifetime of objects and their relationships.
- Memory Safety (LanguageGuide/MemorySafety.md): Structure your code to avoid conflicts when accessing memory.
- Access Control (LanguageGuide/AccessControl.md): Manage the visibility of code by declaration, file, and module.
- Advanced Operators (LanguageGuide/AdvancedOperators.md): Define custom operators, perform bitwise operations, and use builder syntax.
What ships with it
42 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.
- GuidedTour/AboutSwift.md 2.2 KB
- GuidedTour/Compatibility.md 2.0 KB
- GuidedTour/GuidedTour.md 60 KB
- LanguageGuide/AccessControl.md 55 KB
- LanguageGuide/AdvancedOperators.md 48 KB
- LanguageGuide/AutomaticReferenceCounting.md 46 KB
- LanguageGuide/BasicOperators.md 31 KB
- LanguageGuide/ClassesAndStructures.md 22 KB
- LanguageGuide/Closures.md 42 KB
- LanguageGuide/CollectionTypes.md 44 KB
- LanguageGuide/Concurrency.md 55 KB
- LanguageGuide/ControlFlow.md 72 KB
- LanguageGuide/Deinitialization.md 8.4 KB
- LanguageGuide/Enumerations.md 24 KB
- LanguageGuide/ErrorHandling.md 30 KB
- LanguageGuide/Extensions.md 18 KB
- LanguageGuide/Functions.md 39 KB
- LanguageGuide/Generics.md 63 KB
- LanguageGuide/Inheritance.md 18 KB
- LanguageGuide/Initialization.md 90 KB
- LanguageGuide/Macros.md 26 KB
- LanguageGuide/MemorySafety.md 22 KB
- LanguageGuide/Methods.md 20 KB
- LanguageGuide/NestedTypes.md 6.8 KB
- LanguageGuide/OpaqueTypes.md 29 KB
- LanguageGuide/OptionalChaining.md 27 KB
- LanguageGuide/Properties.md 62 KB
- LanguageGuide/Protocols.md 80 KB
- LanguageGuide/StringsAndCharacters.md 51 KB
- LanguageGuide/Subscripts.md 13 KB
- LanguageGuide/TheBasics.md 70 KB
- LanguageGuide/TypeCasting.md 17 KB
- LICENSE.txt 11 KB
- ReferenceManual/AboutTheLanguageReference.md 2.7 KB
- ReferenceManual/Attributes.md 90 KB
- ReferenceManual/Declarations.md 143 KB
- ReferenceManual/Expressions.md 97 KB
- ReferenceManual/GenericParametersAndArguments.md 13 KB
- ReferenceManual/LexicalStructure.md 46 KB
- ReferenceManual/Patterns.md 14 KB
- ReferenceManual/Statements.md 50 KB
- ReferenceManual/Types.md 46 KB
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.
- 1mo ago Changed · -1 tokens per session 789a90f6c769
- 1mo ago First seen · 73 lines · 55 tokens per session scan A dfdbb695889a
programming-swift is a skill published in the GitHub repository kylehughes/the-unofficial-swift-programming-language-skill (46 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 1,417 once invoked, about $0.0002 per session on Opus 5.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.
Other skills, from other repositories
swift-expert
Expert-level Swift development for iOS, macOS with SwiftUI, Combine, and modern Swift 5.9+. Use when the user mentions iOS, macOS, SwiftUI, Combine, async await, or Apple platforms, or when the task involves Modern Swift Features, Basics and Optionals, Functions and Closures, or Structs and Classes.
swift-coding-standards
Master Swift coding standards with Apple's guidelines, protocol-oriented design, and modern concurrency patterns.
swiftui-max
Expert SwiftUI guidance for building UI on iOS, iPadOS, macOS, watchOS, tvOS, and visionOS. Use whenever writing, reviewing, refactoring, or debugging ANY SwiftUI code — views, view modifiers, layout, navigation (NavigationStack/SplitView, deep links), lists and scrolling, animation and transitions, state management…
swift-language
Comprehensive modern Swift (6.x) language expertise — concurrency, generics, ownership/performance, macros, API design, error handling, SwiftPM, C/C++/ObjC interop, cross-platform (Linux/Android/embedded/server), and Swift Testing. Use this skill whenever writing, reviewing, refactoring, or debugging ANY Swift code …
apple-dev-conductor
Orchestrator for the swift-tothemax plugin — routes any Apple-platform development task (building an iOS/macOS app, adding a feature, preparing a release, fixing a rejection) to the right combination of skills in the correct order. Use this skill FIRST whenever a task spans more than one facet of Apple development …
ios-expert
Expert in iOS development with SwiftUI, UIKit, Combine, and Apple ecosystem integration. Use when the user mentions mobile, Swift, SwiftUI, UIKit, Apple platforms, or Xcode, or when the task involves iOS App Architecture, SwiftUI Fundamentals, UIKit Essentials, or Combine Framework.