/core:mobiai-analyze-crashfrom core
Analyzes crash reports (stack traces, logs, screenshots) from any source to identify root causes and fixes in mobile codebases. Supports Android, iOS, KMP, Flutter, and React Native.
Ships in core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Analyze a crash that the user provides, find the root cause in the codebase, and fix it.
The user may give you the crash in any format:
From whatever the user gave you, identify the key information:
NullPointerException, EXC_BAD_ACCESS, RangeError, SIGSEGVIf the information is incomplete, ask the user for more context. But don't block on it — work with what you have.
Identify the category to guide your investigation:
| Type | Common Signals | Where to Look |
|---|---|---|
| Null reference | NullPointerException, EXC_BAD_ACCESS, forced unwrap nil | Trace where the null value originates — usually an upstream initialization issue |
| Concurrency | ConcurrentModificationException, data race, random EXC_BAD_ACCESS | Shared mutable state, missing synchronization, wrong thread |
| Index out of bounds | IndexOutOfBoundsException, ArrayIndexOutOfBoundsException | Array/list access without bounds checking, empty collections |
| Lifecycle | IllegalStateException, "view not attached", "no activity" | Fragment/Activity lifecycle, accessing UI after destroy |
| Memory | OutOfMemoryError, jetsam kill | Leaks, large bitmap allocations, unbounded caches |
| Network | SocketTimeoutException, SSLException | Missing error handling in network layer |
| Database | SQLiteException, Core Data error | Schema migrations, thread safety, constraint violations |
| Type casting | ClassCastException, Swift as! failure | Wrong type assumptions, generics, serialization |
For root cause investigation, follow the mobiai-mobile-debugging skill methodology: no guessing, trace data backward, form hypotheses based on evidence.
Starting from the crash location:
Find the crashing code — use the file and line from the stack trace:
Grep for the class name or method name from the stack trace
Read the file at the crash location
Trace backwards — the crash site is usually not the root cause. Follow the data flow upstream:
Check recent changes — the crash may have been introduced recently:
git log --oneline -10 -- <crashing-file>
git blame <crashing-file>
Understand the full context — read surrounding code, the class structure, how the component is used.
Based on confidence and complexity:
mobiai-fix-issue skill workflow: edit the code, verify it compiles, run tests.Apply a minimal fix:
mobiai-write-tests skill to add a regression testFATAL EXCEPTION in logcat — app process crashedProcess: <package> lines identify which app crashedEXC_BAD_ACCESS — memory access violation (nil dereference, dangling pointer)EXC_BREAKPOINT — fatalError(), preconditionFailure(), Swift runtime checksatos or Xcode Organizer~/Library/Logs/DiagnosticReports/FlutterError — widget build errors, assertion failuresadb logcat | grep ReactNativeJScommonMain (shared) or platform-specific (androidMain/iosMain)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub arisguimera/mobiai-core --plugin core22 skills in this plugin
/mobiai-brainUse when the user asks about past decisions, workarounds, bugfixes, testing patterns or integrations specific to *this* project, OR before proposing non-trivial architecture/integration changes. MobiAI Brain is per-project living memory at <repo>/.mobiai/brain/. Loads context the user already captured so suggestions respect real project conventions instead of generic best practices./mobiai-crashlyticsUse when the user shares a Firebase Crashlytics crash link, crash ID, or asks to investigate a Crashlytics issue in depth./mobiai-create-prYOU MUST use this before ANY git push, branch push to remote, merge, or PR creation — regardless of phrasing or language. Covers all irreversible integration actions (committing, pushing, opening a PR, shipping finished work). Also triggers proactively after a fix when the user signals completion (still ask before pushing). Works with any git hosting provider./mobiai-fix-issueYou MUST use this before starting any bug fix from a ticket or issue, OR when re-opening a ticket whose previous fix attempt didn't work (user shares a commit SHA and says 'no anda' / 'didn't fix it' / 'still broken'). Fetch, understand, investigate root cause, apply the fix with tests, and verify. For small line-level fixes, runs autonomously end-to-end and gates only before push. For complex changes, gates at each phase boundary./mobiai-graphUse when the user asks about code impact, call graph, callers/callees, semantic exploration of the mobile codebase, or 'where is X used'. Routes the agent to query MobiAI Graph (mobiai graph search/callers/context) instead of grep/read. Pre-flight checks that .mobiai/graph/index.json exists; if not, suggests `mobiai graph init` without running it./mobiai-mobile-brainstormingYou MUST use this before any creative mobile work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.2 plugins ship this exact skill · first indexed Jul 20, 2026
Other plugins' skills for the same job