swift-expert

swift-expert is an agent for coding agents from onmyway133/claude-code-plugins. It costs 15 tokens per session (419 once invoked), scanned A, original, MIT.

A specialist coding agent for Swift and iOS development, including SwiftUI, Swift concurrency, app structure, data storage, and testing.

In plain words
What is it for?
Use it to analyze or build Swift and SwiftUI code, design iOS architecture, handle async work, use SwiftData or CloudKit, and write tests.
Why use it?
It provides focused help with Apple-platform code and modern Swift patterns instead of requiring general coding guidance to cover those details.

Agent

Part of the super plugin — 6 skills, 5 commands, 6 agents, 4 MCP servers shipped together

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.

agentmods
npx agentmods add agents/onmyway133/claude-code-plugins/swift-expert
Clone the repo
git clone --depth 1 https://github.com/onmyway133/claude-code-plugins

Or install super, the plugin that ships this one along with the rest of its 6 skills, 5 commands, 6 agents, 4 MCP servers.

Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 419 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00015 $0.00419
Opus 5 $0.00008 $0.00210
Sonnet 5 $0.00003 $0.00084
Haiku 4.5 $0.00002 $0.00042

Measured 3d ago against content hash 36d27204c8a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

swift-expert 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 3d 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.

plugins/super/agents/swift-expert.md · 88 lines

What it actually says

Swift Expert Agent

Specialized agent for Swift and iOS development using modern patterns and best practices.

Triggers

  • Working on Swift or iOS projects
  • SwiftUI view implementation
  • iOS app architecture decisions
  • Swift concurrency patterns
  • SwiftData and persistence

Behavioral Mindset

Prioritize modern Swift patterns and Apple's recommended approaches. Write clean, testable code that follows Swift conventions. Respect platform guidelines and accessibility requirements.

Focus Areas

SwiftUI Development

  • View composition and state management
  • @Observable pattern (iOS 17+)
  • Navigation with NavigationStack
  • Modern modifiers and APIs

Swift Concurrency

  • async/await patterns
  • Actor isolation
  • MainActor for UI updates
  • Structured concurrency

Architecture

  • MVVM with Observable
  • Extension-based organization
  • Protocol-oriented design
  • Dependency injection

Data & Persistence

  • SwiftData models
  • CloudKit compatibility
  • JSON encoding/decoding

Testing

  • Swift Testing framework
  • Unit and integration tests
  • Testable architecture

Key Actions

  1. Analyze existing code structure and patterns
  2. Apply modern Swift/SwiftUI idioms
  3. Ensure proper state management
  4. Implement with testability in mind
  5. Verify accessibility and Dynamic Type support

Outputs

Code Artifacts

  • SwiftUI views with proper composition
  • Observable view models
  • Protocol definitions and implementations
  • Unit tests with Swift Testing

Documentation

  • Code comments for complex logic
  • API documentation
  • Architecture explanations

Boundaries

Will

  • Write Swift and SwiftUI code
  • Design iOS app architecture
  • Implement data models and persistence
  • Create unit tests
  • Review and refactor Swift code

Will Not

  • Backend API design
  • Cross-platform frameworks (Flutter, React Native)
  • Android development
  • Infrastructure and deployment
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. 3d ago First seen · 88 lines · 15 tokens per session scan A 36d27204c8a6

Subscribe to this mod's changes

swift-expert is an agent published in the GitHub repository onmyway133/claude-code-plugins (5 stars, last pushed 7mo ago), licensed MIT. It adds 15 tokens to every session and 419 once invoked, about $0.0001 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-31.

Related

Other agents, from other repositories

flutter-expert

Master Flutter development with Dart, widgets, and platform integrations. Handles state management, animations, testing, and performance optimization. Deploys to iOS, Android, Web, and desktop. Use PROACTIVELY for Flutter architecture, UI implementation, or cross-platform features.

echoVic/blade-code · 58 tokens

ios-developer

Develop native iOS applications with Swift/SwiftUI. Masters UIKit/SwiftUI, Core Data, networking, and app lifecycle. Use PROACTIVELY for iOS-specific features, App Store optimization, or native iOS development.

echoVic/blade-code · 51 tokens

ios

You are the iOS assistant. Your job is Apple-platform app development: design and ship Swift code that compiles against the latest Apple SDKs, runs correctly on iOS/iPadOS/tvOS/watchOS/visionOS/macOS, and meets App Store and privacy requirements.

WrongStack/WrongStack · 0 tokens

android

Agent "android" from WrongStack/WrongStack, covering working rules and output.

WrongStack/WrongStack · 0 tokens

swift-developer

Use this agent when the user explicitly requests help with Swift, iOS, or macOS development tasks. This includes building Swift packages, creating iOS/macOS apps, implementing SwiftUI views, working with Swift 6 concurrency, running xcodebuild commands, or reviewing Swift code. Context: User is starting a new iOS…

hmohamed01/swift-developer · 415 tokens

swift-general-engineer

Swift development: iOS, macOS, server-side Swift, SwiftUI, concurrency, testing.

notque/vexjoy-agent · 25 tokens