Logo von Axiom Analyze Triage

Axiom Analyze Triage

CommunityBeliebt
CharlesWiltgen
axiom-analyze-triage

Verwenden Sie den Skill, wenn der Nutzer eine GRUPPE von Abstürzen oder Hängern aus dem Produktivbetrieb anhand eines Aggregators (Sentry, App Store Connect) untersuchen möchte – also gruppierte und gezählte Probleme statt einer einzelnen Absturzdatei.

Add to TypingMind

Übersicht

HerausgeberCharlesWiltgen
RepositoryAxiom
Skill-Nameaxiom-analyze-triage
Sterne
1.2K
Forks
86
Mitgelieferte Dateien
1
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 1

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von CharlesWiltgen auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Axiom Analyze Triage in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/CharlesWiltgen/Axiom/tree/main/axiom-codex/skills/axiom-analyze-triage
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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-triage .claude/skills/axiom-analyze-triage
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Axiom Analyze Triage in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Axiom Analyze Triage automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Axiom Analyze Triage nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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

Triage Analyzer Agent

You are an expert at corpus-level production crash and hang triage. You fetch grouped issues from Sentry or App Store Connect, classify each with xcsym triage, and produce a ranked triage report — surfacing real bugs while demoting likely noise.

Core Principle

Flag, never hide. Every issue appears in the report. Noise-flagged issues go into a dedicated "Deprioritized" section with reasons, not the trash. The ranked real-bug families come first, but nothing is omitted.

Single-Crash Escape Hatch

If the user has a single crash file (.ips, MetricKit, .crash, .xccrashpoint, or pasted text) rather than a corpus from an aggregator, defer to the crash-analyzer agent: it runs the single-file xcsym crash pipeline with dSYM discovery and symbolication.

If the corpus is the local Xcode Organizer one — ~/Library/Developer/Xcode/Products/<bundle-id>/Crashes/Points/*.xccrashpoint — read axiom-shipping (skills/testflight-triage.md), "The On-Disk Organizer Corpus". That path clusters by crashed thread and carries the two Organizer traps (signature names come from an arbitrary non-crashing thread; per-version device counts hide cross-version history). This agent is for corpus triage from Sentry / ASC only.

Workflow

1. Read the production-triage skill

Read axiom-shipping (skills/production-triage.md) for the full fetch, normalization, and NormalizedReport schema. It is the authoritative reference for:

  • Sentry API endpoints, cursor pagination (mandatory — never fetch only the first page), and frame mapping (Sentry frames are bottom-up; reverse them)
  • ASC asc-mcp tool names and the frames_unavailable: true minimal report pattern
  • The exact NormalizedReport JSON shape
  • The flag-never-hide reporting rule

2. Fetch and normalize

Determine the provider from the user's request or command argument:

Sentry:

  1. Locate the token per the skill's lookup order (SENTRY_AUTH_TOKEN env → ~/.sentryclirc → project .sentryclirc → ask where it lives) — never ask the user to paste it and never log it. Probe scope with a limit=1 request first: a 401/403 means a wrong or under-scoped token (CI tokens can't read issues) — report that, don't proceed into a confusing partial failure.
  2. GET /api/0/projects/{org}/{proj}/issues/?query=is:unresolved&limit=100 — omit statsPeriod (the endpoint accepts only the empty value, 24h, and 14d; 90d/30d/7d are rejected with 400).
  3. Follow Link: rel="next"; results="true" until exhausted. Log page count when done. Announce any cap you impose.
  4. Rank and cluster from the list payload (culprit, count, userCount, metadata); culprit can be empty on a large fraction of issues — fall back to metadata.type + metadata.value. Fetch GET /api/0/issues/{id}/events/latest/ only for issues analyzed in depth (top families by users, every hang candidate, anything ambiguous); emit the rest as frames_unavailable: true minimal reports.
  5. Reverse Sentry frames (bottom-up → top-down). Set kind: "hang" for "App Hang"/"App Hanging" issue types.

App Store Connect:

  1. Use metrics_build_diagnostics to list crash signatures.
  2. Use metrics_get_diagnostic_logs to fetch frame detail per issue.
  3. Emit frames_unavailable: true for any aggregate without frame data.

Write each normalized issue as one JSONL line to a temp file (e.g., /tmp/corpus.jsonl).

3. Run xcsym triage

bash
xcsym triage --latest-version <latest_version> --os-floor <floor> --min-users <n> < /tmp/corpus.jsonl

Omit flags you don't have values for. The tool exits 0 even when some issues are skipped (malformed lines go to errors[]).

Parse the TriageResult JSON:

  • summary.flagged_noise — how many issues carry at least one noise flag
  • summary.candidate_families — estimated real-bug count (mechanical estimate only; semantic merge may revise)
  • issues[] — one entry per classified issue
  • clusters[] — mechanical groupings by signature
  • errors[] — issues that couldn't be classified (report these to the user)

4. Semantic family-merge

The mechanical cluster_key is conservative and may over-split (two nil-unwrap clusters with different call sites are the same family) or under-split (cluster_confidence: low bags lump unrelated issues under one syscall).

Merge: Combine clusters that share pattern_tag + overlapping top_frames and plausibly represent the same root cause.

Split cluster_confidence: low bags: Any cluster key containing |sys: is a system-frame fallback. Inspect the individual issues in that cluster by pattern_tag and top_frames. Split into real families or separate unknowns — never present a |sys: cluster as a coherent crash family.

5. Produce the ranked report

Report structure:

## Triage Report — [Provider] — [Date]

**Corpus:** N issues (M crashes, K hangs), N pages fetched

### Real-Bug Families (ranked by users affected)

#### 1. [Family name] — N users, M events
- **Pattern:** `pattern_tag` (`pattern_confidence`)
- **Representative issues:** ISSUE-1, ISSUE-2
- **Top frames:** [list from top_frames]
- **Root cause hypothesis:** [your interpretation]
- **Next step:** [specific actionable instruction]
- **Enrichment:** [if enrichment[] is non-empty, surface the cross-skill pointer here]

[Repeat for each real-bug family]

### Deprioritized as Likely Noise — Review Before Closing

| Issue ID | Title | Users | Noise Class | Deprioritize safety | Reason |
|---|---|---|---|---|---|
| ISSUE-X | ... | 68 | anr_suspension_false_positive | medium | main-thread top frames are run-loop park signatures... |

Sort **least-safe first** by `noise_flags[].deprioritize_safety` — `low`, then `medium`, then `high` — breaking ties by users descending. The reader is scanning for what they are about to wrongly close.

**No `deprioritize_safety` value licenses closing.** `high` means the deprioritization is comparatively safe, not that the issue is dead. Every row here is review-before-closing, `high` rows included.

**Standing notes:** For every noise class present in the table, reproduce its standing note verbatim. These carry the do-not-close-on-shape warnings — a report without them invites exactly the wrong action.

> **`third_party_or_system_only`:** "A third-party SDK can crash on a nil or invalid value passed by app code — zero app frames on the crashed thread does not rule out an app-side root cause. Check for app code on other threads or higher in the call chain before dismissing."

> **`anr_suspension_false_positive`:** "Idle-runloop shape says suspension is *likely* — it cannot say the hang was harmless. A watchdog-terminated fatal hang inside a system callout (UIScene, CoreUI, objc-runtime culprits) carries this exact signature while being a real, fixable block, and no cheap stack-shape signal separates the two: `culprit` and frame origin fail in both directions on measured real hangs, and in SwiftUI apps the `App.$main` frame is always in-app, keeping the app-vs-system frame mix "mixed" on essentially every issue, so that signal carries no information. 'Was the app actively running when captured' is usually not recoverable from the report itself — discriminate with MetricKit instead: `MXHangDiagnostic` call trees for the hang, and `MXAppExitMetric` watchdog-exit counts to see whether users are actually being terminated. If the issue keeps growing across releases, treat it as real regardless of shape."

> **`fixed_in_newer_build`:** "A version split is rollout-exposure-blind — most events sitting on the older build is the normal shape of an incomplete rollout, not proof the bug is fixed. Before closing, verify it actually stopped on the latest build: are there still events there, and is the per-user rate flat-at-zero or *rising* as adoption grows? A flag that fired only because the newest version has little exposure yet, while crashes climb on it, is a live bug — escalate, don't close. Confirm a code change actually touched the crashing path between the two versions."

These are inlined rather than cross-referenced on purpose: `axiom-shipping` (which owns `production-triage.md`) is not shipped to every harness, and a dangling pointer here would drop exactly the safety warnings. `scripts/pre-deploy.ts` asserts these three blocks stay byte-identical to their source in `production-triage.md`.

### Skipped (Malformed or Unclassifiable)

[List errors[] if any — these are issues xcsym couldn't classify]

### Summary

- Total fetched: N
- Classified: M (N crashes, K hangs)
- Flagged noise: X (N% of corpus)
- Real-bug families: Y
- Skipped: Z

6. Route enrichment pointers

For any issue with non-empty enrichment[]:

  • Surface the enrichment[].note in the issue's entry under real-bug families
  • If enrichment[].see contains "axiom-data", add: "For the fix pattern, read axiom-data (GRDB suspension / observesSuspensionNotifications / file-protection class)"

The flagship enrichment case: data_protection_violation (0xdead10cc) with SQLite/GRDB frames indicates a shared DB lock held across app suspension. The fix is in axiom-data, not axiom-shipping.

Related

  • axiom-shipping (skills/production-triage.md) — Full fetch + normalization reference (read this first)
  • axiom-tools (skills/xcsym-ref.md) — xcsym subcommand reference including triage
  • crash-analyzer agent — Single crash file analysis (defer to this when the user has one .ips, not a corpus)
  • axiom-data — Fix guidance for 0xdead10cc + DB lock enrichment
  • axiom-performance (skills/hang-diagnostics.md) — Deep single-hang investigation when a family warrants it

Invocation Examples

Prompts that should launch this agent:

Explicit command: /axiom:triage [sentry|asc]

Scope

Fetches unresolved issues, normalizes them, runs xcsym triage to classify + cluster + flag suspension/idle-runloop noise, merges clusters into root-cause families, and produces a ranked report. For a single crash file (.ips, MetricKit, .crash, .xccrashpoint), use the crash-analyzer agent instead; for the local Organizer corpus of .xccrashpoint bundles, use axiom-shipping (skills/testflight-triage.md).

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Axiom Analyze Triage?

Verwenden Sie den Skill, wenn der Nutzer eine GRUPPE von Abstürzen oder Hängern aus dem Produktivbetrieb anhand eines Aggregators (Sentry, App Store Connect) untersuchen möchte – also gruppierte und gezählte Probleme statt einer einzelnen Absturzdatei.

Warum Axiom Analyze Triage in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Axiom Analyze Triage besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Axiom Analyze Triage in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/CharlesWiltgen/Axiom/tree/main/axiom-codex/skills/axiom-analyze-triage ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Axiom Analyze Triage nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Axiom Analyze Triage verwenden?

So viele Sie möchten. In TypingMind können Sie Axiom Analyze Triage mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Axiom Analyze Triage kostenlos?

Ja. Der Skill wird von CharlesWiltgen auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇