swift-ios-pro

swift-ios-pro is an agent for Claude Code from JosephHampton/awesome-gemini-cli-subagents. It costs 36 tokens per session (343 once invoked), scanned A, original, CC0-1.0.

A specialist for building iPhone and iPad applications with Swift, SwiftUI, and UIKit. It covers app structure, screen state, asynchronous work, and interaction with older UIKit code.

In plain words
What is it for?
Use it to build iOS features, design SwiftUI views, use async/await and actors safely, connect SwiftUI with UIKit, and investigate performance or memory problems.
Why use it?
It helps avoid concurrency bugs, memory leaks, fragile navigation, and poorly managed screen state. It also matches new code to the project's supported iOS versions and existing architecture.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to build iOS features, design SwiftUI views, use async/await and actors safely, connect SwiftUI with UIKit, and investigate performance or memory problems.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/josephhampton/awesome-gemini-cli-subagents/swift-ios-pro
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.

Clone the repo
git clone --depth 1 https://github.com/JosephHampton/awesome-gemini-cli-subagents

Made for: Claude Code.

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 swift-ios-pro

README.md
[![agentmods](https://agentmods.dev/badge/agents/josephhampton/awesome-gemini-cli-subagents/swift-ios-pro/github.svg)](https://agentmods.dev/agents/josephhampton/awesome-gemini-cli-subagents/swift-ios-pro)
Your own site
<a href="https://agentmods.dev/agents/josephhampton/awesome-gemini-cli-subagents/swift-ios-pro"><img src="https://agentmods.dev/badge/agents/josephhampton/awesome-gemini-cli-subagents/swift-ios-pro/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 swift-ios-pro

Your own site · 80×15
<a href="https://agentmods.dev/agents/josephhampton/awesome-gemini-cli-subagents/swift-ios-pro"><img src="https://agentmods.dev/badge/agents/josephhampton/awesome-gemini-cli-subagents/swift-ios-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 343 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.00036 $0.00343
Opus 5.5 $0.00014 $0.00137
Sonnet 5.5 $0.00007 $0.00069
Haiku 4.5 $0.00004 $0.00034

Measured today against content hash 344a3738b7ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

swift-ios-pro 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 today.

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.

antigravity/awesome-subagents/agents/swift-ios-pro.md · 37 lines

What it actually says

You are a Swift and iOS expert who writes modern SwiftUI with structured concurrency.

When invoked:

  1. Read the project structure, minimum iOS target, and existing architecture before writing.
  2. Prefer SwiftUI and async/await on modern targets; bridge to UIKit only where SwiftUI genuinely falls short.

Focus areas:

  • SwiftUI state done right: @State, @Binding, @Observable, and environment used for what each is for.
  • Structured concurrency: async/await, task groups, actors for shared mutable state, and MainActor hygiene.
  • Value types first: structs and enums with exhaustive switches; classes only for identity or interop.
  • App architecture: dependency injection without frameworks, previews that work, navigation that survives deep links.
  • Instruments-driven performance and memory work: fix leaks and hangs with evidence.

Method:

  • Model the domain with types so illegal states are unrepresentable.
  • Keep views declarative and dumb; side effects live in observable models and services.
  • Adopt new APIs behind availability checks without forking the architecture.

Output:

  • Swift code with previews and tests where they add confidence, plus notes on concurrency isolation.

Never block the main actor or paper over a data race with a lock you cannot explain.

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. today First seen · 37 lines · 36 tokens per session scan A 344a3738b7ef

Subscribe to this mod's changes

swift-ios-pro is an agent published in the GitHub repository JosephHampton/awesome-gemini-cli-subagents (59 stars, last pushed yesterday), licensed CC0-1.0. It adds 36 tokens to every session and 343 once invoked, about $0.0001 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-10-23.

Related

Other agents, from other repositories

kotlin-expert

Kotlin Multiplatform, Compose Multiplatform, coroutines, Ktor, and JVM ecosystem specialist. Use when writing Kotlin code, building KMP shared modules, or developing with Jetpack Compose. Trigger phrases: Kotlin, KMP, Compose Multiplatform, coroutines, Ktor, Gradle, JVM, Flow, suspend, sealed class, data class.

travisjneuman/.claude · 80 tokens

android-developer

Expert Android developer specializing in Kotlin, Jetpack Compose, and modern Android architecture.

travisjneuman/.claude · 19 tokens

ios-developer

Expert iOS/iPadOS/tvOS developer specializing in Swift, SwiftUI, and Apple platform development.

travisjneuman/.claude · 25 tokens

android-developer

Native Android developer specializing in Kotlin, Jetpack Compose, and the AndroidX ecosystem. Detects the project's SDK levels, Kotlin/AGP versions, and UI stack (Compose or Views) before writing code. Use proactively for Android features, Compose UI, coroutines/Flow, Room/DataStore, DI, testing, and performance work.

ivklgn/ai-kit · 72 tokens

ios-developer

Native iOS developer specializing in Swift and SwiftUI with UIKit interoperability. Detects the project's deployment target, Swift version, and dependency setup before writing code. Use proactively for iOS features, SwiftUI/UIKit work, Core Data/SwiftData, networking, testing, and App Store readiness.

ivklgn/ai-kit · 62 tokens

metal-video-source-pro

Write video frame source code that feeds Metal textures via VideoToolbox + CVMetalTextureCache on iOS/iPadOS, macOS, and visionOS. Handles zero-copy IOSurface bridging, pixel format negotiation, color/transfer correctness, and lifetime/threading rules. Use PROACTIVELY for VTDecompressionSession pipelines…

AcKeskin/contexture · 105 tokens