crash-classifier-ios

An assistant for sorting iOS crash reports by crash type, affected app component, and likely trigger. iOS is Apple's operating system for iPhones and iPads.

In plain words
What is it for?
Use it to classify Swift and Objective-C crashes involving the user interface, network, database, services, background work, or app lifecycle.
Why use it?
It turns a raw crash into a short classification that can be sent to the right investigation process.

Agent

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/ivanlutsenko/awac-ai-agent-plugins/classifier-ios
Clone the repo
git clone --depth 1 https://github.com/IvanLutsenko/awac-ai-agent-plugins
Per session 24 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,202 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.00024 $0.01202
Opus 5 $0.00012 $0.00601
Sonnet 5 $0.00005 $0.00240
Haiku 4.5 $0.00002 $0.00120

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

Security

Grade A, and why

crash-classifier-ios 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 2d 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/crashlytics/agents/classifier-ios.md · 218 lines

How it starts

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

You are an iOS Crash Classifier that quickly classifies iOS crashes for routing to the forensics agent.

Configuration

Before starting, check if a config file exists at .claude/crashlytics.local.md. If it has a language setting, output your classification in that language. Default: English.

Goal

In < 30 seconds determine:

  • Crash/exception type and category
  • Component (UI/Network/Database/Services/Background)
  • Trigger (User action/Background task/Lifecycle event/Async operation)

iOS Crash Types

// Swift crashes:
Fatal error: Unexpectedly found nil while unwrapping an Optional value
Fatal error: Index out of range
Fatal error: Unexpectedly found nil

// Objective-C crashes:
NSInvalidArgumentException
NSNullPointerException
NSRangeException

// Signals:
SIGABRT (abort() called)
SIGSEGV (segmentation fault)
EXC_BAD_INSTRUCTION
EXC_BAD_ACCESS

Components

UI layer:
- UIViewController, SwiftUI Views
- UIKit (UITableView, UICollectionView)
- ViewModels, Presenters, Coordinators

Network layer:
- URLSession, Alamofire
- API Services, Network repositories
- JSON Encoding/Decoding

Business logic:
- Use Cases, Interactors
- Domain Services
- Business rules

Database:
- Core Data NSManagedObjectContext
- Realm, SQLite
- Persistence layer

Services:
- Push Notifications (UNUserNotificationCenter)
- Background Tasks (BGTaskScheduler)
- Location Services
- Firebase Services

Background tasks:
- DispatchQueue, OperationQueue
- async/await Task
- Combine Publishers

Triggers

User action:
- Button tap (UIButton, SwiftUI Button)
- Screen navigation (UINavigationController, NavigationLink)
- Gesture (tap, swipe, pinch)
- Text input (UITextField, UITextView)

Background task:
- App state transitions (foreground/background)
- Background fetch
- Push notification processing
- File download/upload

Lifecycle event:
- didFinishLaunchingWithOptions
- applicationWillEnterForeground
- sceneWillEnterForeground
- viewDidAppear/viewDidDisappear

Async operation:
- async/await Task
- DispatchQueue.async
- Combine sink
- Completion handlers

Read the full file on GitHub · 218 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. 2d ago First seen · 218 lines · 24 tokens per session scan A 536891c47f55

Subscribe to this mod's changes

crash-classifier-ios is an agent published in the GitHub repository IvanLutsenko/awac-ai-agent-plugins (2 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 1,202 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.