everything-claude-code-mobile: Agent for Claude Code

.opencode/agents/ios-reviewer.md

ios-reviewer is an agent for Claude Code, OpenCode from ahmed3elshaer/everything-claude-code-mobile. It costs 46 tokens per session (1,425 once invoked), scanned A, original, MIT.

An iOS code-review agent for Swift and SwiftUI, Apple’s framework for building app interfaces in Swift. It checks code quality, state handling, concurrency, Combine, and Apple development practices.

In plain words
What is it for?
Use it after changing iOS code, especially Swift or SwiftUI files, to review naming, optionals, access control, view design, previews, and asynchronous work.
Why use it?
It catches common problems such as unsafe optional handling, incorrect SwiftUI state ownership, side effects in views, and unclear code structure.

Agent for Claude CodeOpenCode

Written for Claude Code and OpenCode: shipped in a Claude Code plugin, but also installed under .opencode/. Also seen: model in frontmatter; mentions subagents.

This is ahmed3elshaer/everything-claude-code-mobile's own configuration. It tells Claude Code and OpenCode how to work on everything-claude-code-mobile itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything everything-claude-code-mobile configures →

Part of the everything-claude-code-mobile plugin — 46 skills, 35 commands, 27 agents, 2 hooks, 3 MCP servers shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to ahmed3elshaer/everything-claude-code-mobile. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ahmed3elshaer/everything-claude-code-mobile/main/.opencode/agents/ios-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/ahmed3elshaer/everything-claude-code-mobile

Made for: Claude Code, OpenCode.

Or install everything-claude-code-mobile, the plugin that ships this one along with the rest of its 46 skills, 35 commands, 27 agents, 2 hooks, 3 MCP servers.

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 ios-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/ahmed3elshaer/everything-claude-code-mobile/ios-reviewer/github.svg)](https://agentmods.dev/agents/ahmed3elshaer/everything-claude-code-mobile/ios-reviewer)
Your own site
<a href="https://agentmods.dev/agents/ahmed3elshaer/everything-claude-code-mobile/ios-reviewer"><img src="https://agentmods.dev/badge/agents/ahmed3elshaer/everything-claude-code-mobile/ios-reviewer/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 ios-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/ahmed3elshaer/everything-claude-code-mobile/ios-reviewer"><img src="https://agentmods.dev/badge/agents/ahmed3elshaer/everything-claude-code-mobile/ios-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,425 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.00046 $0.01425
Opus 5 $0.00023 $0.00713
Sonnet 5 $0.00009 $0.00285
Haiku 4.5 $0.00005 $0.00143

Measured 9d ago against content hash 6b746e395197, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ios-reviewer 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 9d 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.

.opencode/agents/ios-reviewer.md · 187 lines

How it starts

The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.

iOS Code Reviewer

You are a senior iOS engineer ensuring high standards of Swift code quality, SwiftUI patterns, and adherence to Apple's best practices.

When Invoked

  1. Run git diff to see recent changes
  2. Focus on modified Swift/SwiftUI files
  3. Begin review immediately

Core Review Checklist

Swift Style (CRITICAL)

  • ✅ Naming: camelCase for variables, PascalCase for types
  • ✅ Optionals: Proper unwrapping with guard let, if let, ??
  • ✅ Force unwraps: Minimize ! usage
  • ✅ Structs over classes except for reference semantics
  • ✅ Immutability: let over var
  • ✅ Type inference: Use where types are clear
  • ✅ Extensions for organization
  • ✅ Access control: Explicit private, fileprivate, internal

SwiftUI Patterns (CRITICAL)

  • ✅ View structure: Single responsibility, composability
  • ✅ State management: @State, @Binding, @ObservedObject, @StateObject, @EnvironmentObject
  • ✅ Property wrappers: Correct usage (@StateObject for ownership, @ObservedObject for observation)
  • ✅ View modifiers: Chainable, reusable
  • ✅ Previews: Multiple previews for different states/devices
  • ✅ No side effects in body: Use .onAppear, .task, .onChange
  • ✅ Identifiable: Proper conformance for lists
  • ✅ Custom modifiers for reusable view logic

Concurrency (HIGH)

  • async/await over completion handlers
  • MainActor for UI updates
  • Task for cancellation-aware work
  • ✅ Structured concurrency: async let, TaskGroup
  • ✅ Actor isolation for shared mutable state
  • @MainActor for UI-related classes
  • ✅ No DispatchQueue.main.async (use await MainActor.run)
  • ✅ Proper cancellation handling

Combine (MEDIUM)

  • @Published properties in ObservableObject
  • ✅ Operators: map, filter, flatMap, combineLatest
  • sink vs assign correctly
  • AnyCancellable storage to prevent cancellation
  • ✅ Error handling: catch, replaceError
  • eraseToAnyPublisher() for type abstraction

Core Data (MEDIUM)

  • ✅ Background context for data operations
  • NSPersistentContainer setup
  • @FetchRequest or @Query (SwiftData) for views
  • ✅ Proper predicate construction
  • ✅ Batch operations for performance
  • ✅ No main thread blocking

Read the full file on GitHub · 187 lines

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. 9d ago First seen · 187 lines · 46 tokens per session scan A 6b746e395197

Subscribe to this mod's changes

ios-reviewer is an agent published in the GitHub repository ahmed3elshaer/everything-claude-code-mobile (66 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 1,425 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.

Related

Other agents, from other repositories

instrumentation-reviewer

Reviews code changes for observability quality — anti-patterns, missing context, naming conventions.

nexus-labs-automation/mobile-observability · 22 tokens

Native SwiftUI Reviewer

Reviews native SwiftUI code for iOS 14+ API compliance, accessibility, performance, design, and TTBaseUIKit token compliance. Does NOT check for TTBaseSUI components.

tqtuan1201/TTBaseUIKit · 43 tokens

SwiftUI Code Reviewer

Reviews SwiftUI code for TTBaseSUI compliance, token usage, and TTBaseUIKit best practices.

tqtuan1201/TTBaseUIKit · 25 tokens

UIKit Code Reviewer

Reviews UIKit code for TTBaseUIKit compliance, MVVM correctness, API patterns, and iOS best practices.

tqtuan1201/TTBaseUIKit · 25 tokens

mobile-pr-code-quality-reviewer

Use this agent to review a mobile PR diff (Android/Kotlin, iOS/Swift, or KMP) for code smells, dead/unused code, duplication, and software-engineering excellence (SOLID, naming, PR scope, documentation) — plus the platform's architecture/framework checklist (Compose/SwiftUI, DI, security, performance, accessibility…

Abdallah-Abdelazim/mobile-pr-review-plugin · 134 tokens

mobile-pr-bug-hunter

Use this agent to hunt for correctness bugs in a mobile PR diff (Android/Kotlin, iOS/Swift, or KMP) — forgotten call sites, unhandled unhappy paths, wrong logic, non-exhaustive branching, silent regressions, contract mismatches, resource-lifecycle leaks, and concurrency correctness. Feed it the PR intent, full diff…

Abdallah-Abdelazim/mobile-pr-review-plugin · 131 tokens