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 Benknightdark/neo-skills --skill neo-swiftgit clone --depth 1 https://github.com/Benknightdark/neo-skillsWrote 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/benknightdark/neo-skills/neo-swift)<a href="https://agentmods.dev/skills/benknightdark/neo-skills/neo-swift"><img src="https://agentmods.dev/badge/skills/benknightdark/neo-skills/neo-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/benknightdark/neo-skills/neo-swift"><img src="https://agentmods.dev/badge/skills/benknightdark/neo-skills/neo-swift.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00063 | $0.00958 |
| Opus 5.5 | $0.00025 | $0.00383 |
| Sonnet 5.5 | $0.00013 | $0.00192 |
| Haiku 4.5 | $0.00006 | $0.00096 |
Grade B, and why
neo-swift scanned grade B with 1 finding 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.
Strips warnings and disclaimersmediumAnti-refusal
Omitting safety caveats hides risk from the user and is a common jailbreak preamble.
- Ensure code compiles without warnings in the target Swift version. How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Modern Swift (5.0+) Expert Skill
Trigger On
- The user asks to write, debug, refactor, or review Swift code.
- The project directory contains
*.swift,Package.swift, or*.xcodeproj. - Development involves iOS (SwiftUI/UIKit), macOS, or Server-side Swift (Vapor).
- Code modernization is needed (e.g., migrating to Structured Concurrency or Swift 6 language mode).
Workflow
- Perceive (Version Awareness):
- Identify the Swift version (e.g., check
Package.swiftor build settings). - Determine the platform (SwiftUI vs UIKit, Server vs App).
- Assess dependency management (Swift Package Manager, CocoaPods).
- Identify the Swift version (e.g., check
- Reason (Planning Phase):
- Evaluate the use of modern syntax (e.g.,
async/await,Result,@propertyWrapper). - Decide on memory management strategies (ARC,
weak/unowned). - For UI tasks, prioritize SwiftUI for modern apps or UIKit for legacy support.
- Evaluate the use of modern syntax (e.g.,
- Act (Execution Phase):
- Write swifty, concise code following Apple's API Design Guidelines.
- Implement type-safe and protocol-oriented solutions.
- Leverage Structured Concurrency (
Task,async let) for asynchronous operations.
- Validate (Standard Validation):
- Check for memory leaks (retain cycles) using capture lists.
- Verify Swift 6 concurrency safety (data race detection).
- Ensure naming conventions follow the standard
lowercamelCasefor members andPascalCasefor types.
Feature Roadmap (Swift 5.0 - 6+)
Swift 5.0 - 5.4 (Foundation)
- Result Type: Standardized error handling.
- Property Wrappers: Encapsulating property logic (e.g.,
@Published). - Opaque Types: Hiding implementation details (
some View). - Result Builders: DSL support for SwiftUI.
Swift 5.5 - 5.10 (Modern Concurrency)
- Async/Await: Linear asynchronous code.
- Actors: Thread-safe state isolation.
- Distributed Actors: Communicating across processes.
- Non-copyable Types: Explicit control over object ownership.
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.
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 First seen · 84 lines · 63 tokens per session scan B 52de40f01875
neo-swift is a skill published in the GitHub repository Benknightdark/neo-skills (7 stars, last pushed 2d ago), licensed MIT. It adds 63 tokens to every session and 958 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
swift
Use when writing Swift for iOS, macOS, or server-side. Covers value semantics, optionals, protocol-oriented design, structured concurrency with async/await and actors, and SwiftUI state management. Trigger on "migrate this completion handler to async/await", "sendable warnings under strict concurrency", "retain cycle…
kmp-mvi-setup
Interactive skill for scaffolding a complete Kotlin Multiplatform (KMP) project using MVI architecture. Covers State/Event/Effect pattern, Compose Multiplatform, DI, type-safe navigation, and image loading. Asks user for preferences before generating any code.
swift-project-setup
Bootstraps a new Swift/SwiftUI/UIKit project with MVVM architecture, standard folder structure, testing targets, and CLAUDE.md configuration. Use when user says "create a new project", "setup a new app", "start a new iOS project", "scaffold a Swift project", "initialize an Xcode project", or "new SwiftUI app".
wear-compose-m3
Guidance for Wear OS Compose Material3 (Wear Compose Material 3 / Wear Compose Material3) watch and wearable apps. Covers creating, updating, and migrating projects (Material 2.5 and Horologist migration) using androidx.wear.compose.material3, androidx.wear.compose.foundation, and androidx.wear.compose.navigation3…
kotlin-specialist
Provides idiomatic Kotlin implementation patterns including coroutine concurrency, Flow stream handling, multiplatform architecture, Compose UI construction, Ktor server setup, and type-safe DSL design. Use when building Kotlin applications requiring coroutines, multiplatform development, or Android with Compose.…
swift-expert
Builds iOS/macOS/watchOS/tvOS applications, implements SwiftUI views and state management, designs protocol-oriented architectures, handles async/await concurrency, implements actors for thread safety, and debugs Swift-specific issues. Use when building iOS/macOS applications with Swift 5.9+, SwiftUI, or async/await…