mobiai-ios-architecture

mobiai-ios-architecture is a skill for Claude Code from ArisGuimera/MobiAI-Core. It costs 36 tokens per session (1,294 once invoked), scanned A, original, MIT.

A guide to understanding and changing the structure of an iOS app, including common patterns such as MVVM, SwiftUI, UIKit, and The Composable Architecture.

In plain words
What is it for?
Use it to inspect project structure, identify the user-interface and state-management approach, and plan features or refactoring that fit existing patterns.
Why use it?
It helps you find where a change belongs in an unfamiliar codebase and follow the app's existing design instead of adding code in the wrong place.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the ios plugin — 4 skills shipped together

Good fit Use it to inspect project structure, identify the user-interface and state-management approach, and plan features or refactoring that fit existing patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arisguimera/mobiai-core/mobiai-ios-architecture
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.

Any agent
npx skills add ArisGuimera/MobiAI-Core --skill mobiai-ios-architecture
Clone the repo
git clone --depth 1 https://github.com/ArisGuimera/MobiAI-Core

Made for: Claude Code.

Or install ios, the plugin that ships this one along with the rest of its 4 skills.

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 mobiai-ios-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/arisguimera/mobiai-core/mobiai-ios-architecture/github.svg)](https://agentmods.dev/skills/arisguimera/mobiai-core/mobiai-ios-architecture)
Your own site
<a href="https://agentmods.dev/skills/arisguimera/mobiai-core/mobiai-ios-architecture"><img src="https://agentmods.dev/badge/skills/arisguimera/mobiai-core/mobiai-ios-architecture/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 mobiai-ios-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/arisguimera/mobiai-core/mobiai-ios-architecture"><img src="https://agentmods.dev/badge/skills/arisguimera/mobiai-core/mobiai-ios-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,294 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.01294
Opus 5.5 $0.00014 $0.00518
Sonnet 5.5 $0.00007 $0.00259
Haiku 4.5 $0.00004 $0.00129

Measured 3mo ago against content hash be391eddc039, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mobiai-ios-architecture 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 3mo 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.

skills/ios/skills/mobiai-ios-architecture/SKILL.md · 224 lines

How it starts

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

iOS Architecture

Community contribution welcome! Help improve this skill with your architecture insights, patterns, and real-world examples.

Common architecture patterns in iOS apps.

When to Use

  • Navigating an unfamiliar iOS codebase
  • Understanding where to make changes
  • Writing code that follows existing patterns

Detecting the Architecture

# Check for SwiftUI vs UIKit
grep -r "import SwiftUI" --include="*.swift" -l | wc -l
grep -r "import UIKit" --include="*.swift" -l | wc -l

# Check for architecture indicators
grep -r "ViewModel\|UseCase\|Repository\|Interactor\|Presenter\|Store\|Reducer" --include="*.swift" -l | head -20

# Check for Combine usage
grep -r "import Combine\|@Published\|AnyPublisher" --include="*.swift" -l | wc -l

# Check for TCA (The Composable Architecture)
grep -r "import ComposableArchitecture\|ReducerOf\|Store<" --include="*.swift" -l | head -10

MVVM + SwiftUI (Most Common Modern Pattern)

Structure

Feature/
  Views/
    MyView.swift              # SwiftUI View
    MyDetailView.swift
  ViewModels/
    MyViewModel.swift         # ObservableObject with @Published
  Models/
    MyModel.swift             # Data models
  Services/
    MyService.swift           # API/data access

Patterns

// ViewModel
@MainActor
class MyViewModel: ObservableObject {
    @Published var items: [Item] = []
    @Published var isLoading = false
    @Published var error: Error?

    private let repository: ItemRepository

    init(repository: ItemRepository) {
        self.repository = repository
    }

    func loadItems() async {
        isLoading = true
        defer { isLoading = false }
        do {
            items = try await repository.fetchItems()
        } catch {
            self.error = error
        }
    }
}

// View
struct MyView: View {
    @StateObject private var viewModel = MyViewModel(repository: .live)

    var body: some View {
        List(viewModel.items) { item in
            Text(item.name)
        }
        .task { await viewModel.loadItems() }
    }
}

Read the full file on GitHub · 224 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. 3mo ago First seen · 224 lines · 36 tokens per session scan A be391eddc039

Subscribe to this mod's changes

mobiai-ios-architecture is a skill published in the GitHub repository ArisGuimera/MobiAI-Core (496 stars, last pushed 2d ago), licensed MIT. It adds 36 tokens to every session and 1,294 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-08-30.

Related

mobiai-ios-architecture compared with skills from other repositories

mobiai-ios-architecture next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mobiai-ios-architectureArisGuimera/MobiAI-CoreSkill4962d agoMITA36Claude Code
orca-emulator-androidstablyai/orcaSkill150ktodayMITA102Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11k9d agoApache-2.0A56Claude Code
android-tombstone-symbolicationdotnet/skillsSkill6.4ktodayMITA176Claude Code
dogfoodcallstack/agent-deviceSkill5.6ktodayMITA55Claude Code
winapp-mauimicrosoft/winappCliSkill1.4ktodayMITA68Claude Code
flutter-devMiniMax-AI/skillsSkill14k22d agoMITA83Claude Code