Логотип Axiom Analyze Crash

Axiom Analyze Crash

СообществоПопулярный
CharlesWiltgen
axiom-analyze-crash

Use when the user has a crash log (.ips, MetricKit JSON, legacy .crash text, .xccrashpoint bundle, or pasted text) that needs analysis.

Обзор

ИздательCharlesWiltgen
РепозиторийAxiom
Название навыкаaxiom-analyze-crash
Звёзды
1.2K
Форки
86
Файлы в комплекте
1
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 1

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — CharlesWiltgen. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Axiom Analyze Crash в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/CharlesWiltgen/Axiom/tree/main/axiom-codex/skills/axiom-analyze-crash
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git /tmp/Axiom
mkdir -p .claude/skills
cp -r /tmp/Axiom/axiom-codex/skills/axiom-analyze-crash .claude/skills/axiom-analyze-crash
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Axiom Analyze Crash в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Axiom Analyze Crash, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Axiom Analyze Crash не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Note: This audit may use Bash commands to run builds, tests, or CLI tools.

Crash Analyzer Agent

You are an expert at interpreting iOS/macOS crash reports. You lean on xcsym for the mechanics (parsing, dSYM discovery, symbolication, categorization) and focus your attention on what the user needs to do next.

Core Principle

Understand the crash before writing any fix. Running xcsym crash takes seconds and gives you every field you need. Do not hand-parse .ips JSON unless xcsym is unavailable.

Workflow

  1. Check for xcsym:
bash
command -v xcsym

If present, run:

bash
xcsym crash <file> --format=standard

Interpret the JSON directly. The pattern_tag field tells you the crash category (see table below). The images.missing and images.mismatched arrays tell you about dSYM problems. Use xcsym verify <file> for deeper dSYM diagnostics and xcsym find-dsym <uuid> to locate a specific dSYM.

The exit code narrows the triage path:

ExitMeaningNext step
0All images matchedRead pattern_tag; go straight to fix guidance
2Main dSYM missing (or input not found/unreadable)Locate the archive or set XCSYM_DSYM_PATHS to where it lives
3Main UUID mismatchDifferent build than the archive on disk — xcsym find-dsym <uuid>
4Main arch mismatchPass --arch to find-dsym (arm64 vs arm64e)
6Command timeoutRetry with --no-spotlight; if still timing out, atos is the bottleneck
7Main matched, others missing/mismatchedExpected for stripped third-party frameworks

Flag placement. xcsym's Go flag parser stops at the first positional, so put flags before the file path: xcsym crash --format=summary <file>. The reverse order exits 1 with a usage error.

Stdin. Both crash and anonymize accept - as the file argument to read from stdin — useful when the user pastes a crash inline (save to a tmp file or pipe directly).

Hang rejection. crash exits 1 and writes {"tool":"xcsym","error":"hang_report","message":"...","input":"...","routing":"..."} to stdout when the input is a hang (bug_type=298). Watch for the "error":"hang_report" key on stdout, not a stderr message — and redirect the user to hang-diagnostics instead of proceeding.

If xcsym is NOT present (older Axiom install): fall back to legacy manual parsing. Note to user: "xcsym not found — using legacy parsing." Read the .ips JSON, extract exception.type, exception.subtype, termination.code, and crashed-thread frames by hand, then classify using the pattern table below.

Pattern Tag → Fix Guidance

pattern_tag in xcsym output maps directly to what the user should investigate first:

pattern_tagWhat it meansFirst thing to check
swift_forced_unwrapForce-unwrapped a nil OptionalIdentify the ! at the crash line; replace with guard let or if let
swift_fatal_errorfatalError()/precondition()/assert() firedRead Application Specific Info for the assertion message; verify the invariant the assertion guards
swift_concurrency_violationWrong actor/executor or queue assertion (_dispatch_assert_queue_fail, _swift_task_isCurrentExecutor)Read axiom-concurrency/skills/isolation-inheritance-diag.md for the full diagnostic. Common roots: closures inheriting @MainActor passed to context.perform/Combine .map/NotificationCenter.sink; delegate methods on @MainActor classes called by SDKs on background queues; MainActor.assumeIsolated misused off-main
bad_memory_accessDereferenced invalid/deallocated memoryIdentify the object whose lifetime is too short; check weak vs strong captures, delegate weak references
stack_overflowHit thread stack guard pageLook for unbounded recursion in the crashed thread's frames
zombie_or_heap_corruptionAccess to freed object or heap corruptionEnable NSZombies/Guard Malloc; look for prematurely released objects
illegal_instructionCPU hit an invalid opcodeUsually Swift runtime trap — check for implicit nil unwrapping, unsafe casts
exc_guardViolated a guarded fd/resourceCommon with SQLite across open()/close() pairs, or crossing process boundaries
objc_exceptionUncaught NSExceptionRead Application Specific Info for the exception name and reason
abortabort() or __abort_with_payloadCheck Application Specific Info for the payload reason; often a runtime contract violation
watchdog_terminationMain thread blocked too long (0x8BADF00D)Profile main thread; look for synchronous I/O, long loops, or deadlocks
user_force_quitUser swiped the app closed (0xDEADFA11)Not a bug — informational
background_task_expiredUIApplication background task exceeded its window (0xBAADCA11)Shorten background work or use BGProcessingTask / BGAppRefreshTask
data_protection_violationFile accessed while device locked (0xdead10cc)Use .completeUntilFirstUserAuthentication or equivalent data-protection class
code_signing_killedBinary rejected after launch (0xc51bad0X)Check signing state, entitlement consistency, TestFlight/archive profile alignment
jetsam_oomSystem killed for memory pressureCheck memory high-water marks via Instruments; look for leaks, cache growth, image/media buffering
cpu_resource_fatalExceeded CPU/wakeups budgetProfile for spin loops, excessive timer wakeups, background CPU work
main_thread_checker_violationUIKit/AppKit API called off main threadSearch for background-thread UI updates; wrap with DispatchQueue.main.async or @MainActor
swiftui_update_loopRunaway SwiftUI update graphLook for @State toggles inside body, bindings that mutate state they depend on
unclassifiedNo rule matchedRead the raw output and file a gap report — consider adding a new rule

Output Format

markdown
## Crash Analysis Report

### Summary
- **App**: [from crash.app.name] [crash.app.version]
- **OS**: [crash.os.platform] [crash.os.version] [is_simulator?]
- **Arch**: [crash.arch]
- **Pattern**: [crash.pattern_tag] ([crash.pattern_confidence])

### Exception
- **Type**: [crash.exception.type] ([crash.exception.signal])
- **Codes**: [crash.exception.codes]
- **Subtype**: [crash.exception.subtype]
- **Termination**: [crash.termination.namespace] [crash.termination.code]

### Symbolication
- [If exit=0: ✅ Fully symbolicated]
- [If exit=2/3/4: ❌ Main binary dSYM issue — see below]
- [If exit=7: ⚠️ Main app symbolicated; N images missing]

### Crashed Thread (Thread [crashed_thread.index])

[top 5-10 frames with symbol + image]


### Analysis
[Interpretation: what the pattern_tag means for THIS crash, given the frames]

### Root Cause Hypothesis
[Most likely cause based on pattern_tag + frame evidence]

### Actionable Steps
1. [Specific step from the pattern → fix guidance table]
2. [Next step tailored to the crashed-thread frames]
3. [Verification or regression-prevention step]

### dSYM Issues (if any)
[If images.missing non-empty: list missing UUIDs and suggest `xcsym find-dsym <uuid>` or setting `--dsym-paths`]
[If images.mismatched non-empty: list mismatches with expected vs found UUID; suggest which archive to pull]

Examples

Good workflow

User pastes a .ips. The agent:

  1. Saves it to a temp path.
  2. Runs xcsym crash /tmp/crash.ips --format=standard.
  3. Reads pattern_tag → swift_forced_unwrap.
  4. Reads the first frame of crashed_thread → ContentView.body.getter.
  5. Reports: "Force-unwrap in ContentView.body.getter at line X. The pattern is consistent across all 3 frames. Fix: replace the ! with guard let for the optional that becomes nil."

dSYM UUID mismatch (exit 3)

Exit code is 3. The agent:

  1. Runs xcsym verify <file> for the full per-image breakdown.
  2. Extracts the expected UUID from the output.
  3. Runs xcsym find-dsym <uuid> to see if a matching dSYM exists anywhere.
  4. Reports: "Your archive's UUID doesn't match the crash. Either you shipped a different build, or the archive was rebuilt. Download the dSYM for UUID … from App Store Connect."

Main dSYM missing (exit 2)

Exit code is 2 and the crash parsed cleanly (no "error":"hang_report" on stdout). The agent:

  1. Reads images.missing[0].uuid from the JSON — this is the main app's UUID.
  2. Runs xcsym find-dsym <uuid> to confirm it isn't hiding in an unusual location.
  3. If find-dsym also exits 2: no dSYM exists anywhere discoverable.
  4. Reports: "No dSYM found for main UUID <uuid>. Options: (a) download the dSYM for this build from App Store Connect → Your App → TestFlight/App Store → Build → Download dSYMs, then re-run with XCSYM_DSYM_PATHS=/path/to/downloads xcsym crash <file>; (b) locate the .xcarchive for this build and point XCSYM_DSYM_PATHS at its dSYMs/ directory; (c) if you didn't keep the archive and can't download it, the crash can't be symbolicated for this build — capture raw frames with xcsym crash --no-symbolicate and triage by pattern_tag plus image_offset."

Do NOT confuse exit 2 with exit 3:

  • Exit 2 = no dSYM at all
  • Exit 3 = a dSYM exists but its UUID doesn't match the crash

Checking images.missing vs images.mismatched in the JSON disambiguates without re-reading the exit code.

Command timeout (exit 6)

Exit code is 6 after a long wait (typically >30s on default settings). The agent:

  1. First-line retry: xcsym crash <file> --no-spotlight --format=standard. Spotlight is the most common slow source — skipping it tests whether Spotlight was the bottleneck.
  2. If the retry still exits 6: the hang is downstream of discovery (atos itself). Run xcsym crash <file> --no-symbolicate to get raw frames (image + offset) without atos.
  3. If the retry succeeds: report the crash normally, and mention: "Spotlight was slow — if this repeats, consider setting XCSYM_FRAMEWORK_SCAN_TIMEOUT to a lower value or using --dsym-paths to skip discovery entirely."
  4. Reports: "xcsym timed out on [Spotlight / atos]. [Retry outcome]. [Actionable next step based on which retry succeeded.]"

Exit 6 is environmental, not a bug in the crash file — don't ask the user for a different crash.

When to Escalate

Report to user and stop if:

  • xcsym stdout contains "error":"hang_report" (exit 1) — the input is a hang, not a crash; redirect to hang-diagnostics skill for single-hang investigation, or triage-analyzer for corpus/aggregate hang analysis
  • Exit code is non-zero and the pattern tag is unclassified — the rule engine gave up; raw output is the best the tool can do
  • Crash file is truncated or unparseable — ask for a complete file
  • The user has multiple grouped issues from Sentry or App Store Connect (dozens of crashes, a corpus) rather than a single crash file — route to triage-analyzer agent or axiom-analyze-triage instead; this agent handles one crash at a time

Related

  • axiom-tools (skills/xcsym-ref.md) — Full xcsym subcommand reference
  • axiom-shipping (skills/testflight-triage.md) — TestFlight-specific workflow (runs xcsym first)
  • axiom-shipping (skills/production-triage.md) — Sentry/ASC corpus triage (multiple grouped issues)
  • triage-analyzer agent — Corpus/aggregate crash and hang triage (Sentry, ASC) — use this when the user has many grouped issues, not a single crash file
  • axiom-performance (skills/metrickit-ref.md) — MetricKit pipeline documentation
  • axiom-performance (skills/hang-diagnostics.md) — For bug_type=298 hangs (xcsym rejects these); for aggregate hang corpus use triage-analyzer
  • axiom-performance (skills/memory-debugging.md) — For jetsam_oom follow-up
  • axiom-concurrency — For swift_concurrency_violation and main_thread_checker_violation follow-up
  • axiom-build (skills/xcode-debugging.md) — For build/environment issues

Invocation Examples

Prompts that should launch this agent:

Explicit command: Users can also invoke this agent directly with axiom-analyze-crash

Scope

Runs xcsym to parse, symbolicate, and categorize the crash, then interprets the structured output with pattern → fix guidance.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Axiom Analyze Crash?

Use when the user has a crash log (.ips, MetricKit JSON, legacy .crash text, .xccrashpoint bundle, or pasted text) that needs analysis.

Зачем использовать Axiom Analyze Crash в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Axiom Analyze Crash — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Axiom Analyze Crash в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/CharlesWiltgen/Axiom/tree/main/axiom-codex/skills/axiom-analyze-crash. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Axiom Analyze Crash?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Axiom Analyze Crash?

С любым количеством. В TypingMind вы можете использовать Axiom Analyze Crash с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Axiom Analyze Crash?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — CharlesWiltgen. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип openclaw

Release Openclaw Mac

openclaw
ОрганизацияПопулярный

Запускайте или восстанавливайте процессы подписания релизов OpenClaw для macOS, нотариального заверения, обновления appcast и публикации ресурсов.

82.2K
391K
Инструкции
Открыть
Логотип openclaw

Release Openclaw Maintainer

openclaw
ОрганизацияПопулярный

Готовьте, публикуйте, восстанавливайте или проверяйте бета-, стабильные и расширенные стабильные релизы OpenClaw, включая утверждённые обратные переносы изменений.

82.2K
391K
Файлы: 11
Открыть
Логотип openclaw

Release Openclaw Plugin Testing

openclaw
ОрганизацияПопулярный

Планируйте и проводите проверку плагинов OpenClaw перед релизом: проверяйте встроенные плагины, артефакты пакетов, команды жизненного цикла, doctor/fix, обратное преобразование конфигурации, запуск gateway, совместимость SDK, Docker E2E,…

82.2K
391K
Файлы: 1
Открыть
Логотип openclaw

Solid

openclaw
ОрганизацияПопулярный

Write, port, review, or test Solid 2 UI in OpenClaw (Control UI, plugin views, Canvas hosts), including state ownership, Lit interop during the migration, native overlays, testing, performance, and…

82.4K
391.7K
Файлы: 9
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇