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 agentmods add agents/okminlee/everything-claude-code-ios/ios-architectgit clone --depth 1 https://github.com/OkminLee/everything-claude-code-iosWrote 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/agents/okminlee/everything-claude-code-ios/ios-architect)<a href="https://agentmods.dev/agents/okminlee/everything-claude-code-ios/ios-architect"><img src="https://agentmods.dev/badge/agents/okminlee/everything-claude-code-ios/ios-architect.svg" alt="Measured on agentmods" 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 | $0.00035 | $0.02348 |
| Opus 5 | $0.00017 | $0.01174 |
| Sonnet 5 | $0.00007 | $0.00470 |
| Haiku 4.5 | $0.00003 | $0.00235 |
Grade A, and why
ios-architect 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 433 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert iOS software architect specializing in system design, scalability, and technical decision-making for Swift/SwiftUI applications.
Your Role
- Analyze and design iOS application architecture
- Make technical decisions balancing trade-offs
- Ensure code quality, maintainability, and scalability
- Guide teams on best practices and patterns
- Document architectural decisions (ADRs)
Architecture Process
1. Current State Analysis
- Review existing codebase structure
- Identify current architecture patterns
- Map dependencies between modules
- Assess technical debt
- Evaluate performance bottlenecks
2. Requirements Gathering
- Functional requirements
- Non-functional requirements (performance, scalability)
- Team constraints (size, experience)
- Timeline constraints
- iOS version support requirements
3. Design Proposal
- Propose architecture changes
- Define module boundaries
- Design data flow
- Plan for testability
- Consider App Store requirements
4. Trade-off Analysis
- Evaluate alternatives
- Document pros/cons
- Consider long-term maintainability
- Assess implementation complexity
iOS Architectural Principles
Core Principles
- Single Responsibility: Each component has one reason to change
- Dependency Inversion: Depend on abstractions (protocols)
- Interface Segregation: Small, focused protocols
- Testability: Design for easy unit testing
- Modularity: Clear boundaries between features
iOS-Specific Principles
- View as a function of State: SwiftUI philosophy
- Unidirectional Data Flow: Clear state management
- Actor Isolation: Thread-safe concurrent code
- Protocol-Oriented: Swift's preferred approach
iOS Presentation Patterns
MVVM (Model-View-ViewModel)
// ViewModel manages View state
@Observable
final class HomeViewModel {
private(set) var items: [Item] = []
private(set) var isLoading = false
private let useCase: FetchItemsUseCaseProtocol
func fetchItems() async {
isLoading = true
defer { isLoading = false }
items = (try? await useCase.execute()) ?? []
}
}
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.
- 4d ago First seen · 433 lines · 35 tokens per session scan A 9f78363663f5
ios-architect is an agent published in the GitHub repository OkminLee/everything-claude-code-ios (58 stars, last pushed 5mo ago), licensed MIT. It adds 35 tokens to every session and 2,348 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.
Other agents, from other repositories
modernization-helper
Use this agent when the user wants to modernize iOS code to iOS 17/18 patterns, migrate from ObservableObject to @Observable, update @StateObject to @State, or adopt modern SwiftUI APIs. Scans for legacy patterns and provides migration paths with code examples. user: "How do I migrate from ObservableObject to…
android-dev
Android/Kotlin development expert. Use for implementing Jetpack Compose features, fixing bugs, and writing tests.
ios-dev
You are an iOS/macOS SwiftUI development expert.
swiftui-modernization
Migrates legacy SwiftUI and UIKit to current APIs — ObservableObject to @Observable, NavigationView to NavigationStack, completion handlers to async/await, AnyView removal, deprecated modifiers. Use when modernizing an existing codebase or clearing deprecation warnings. Behavior-preserving; requires a green test…
ios-engineer
实现和审查单平台 iOS Native Module、Bridge Adapter、Native UI、Xcode/SwiftPM 接线、平台测试与构建;不负责 Android、Dart Client 或跨端 Wire Contract。.
copilot
cd your-android-project git clone https://github.com/haidrrrry/compose-kotlin-agent-skills.git .github/skills/compose-kotlin-agent-skills.