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.
npx skills add osama-raddad/FireCrasher --skill detect-native-crashes-and-anrsgit clone --depth 1 https://github.com/osama-raddad/FireCrasherWrote 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.
[](https://agentmods.dev/skills/osama-raddad/firecrasher/detect-native-crashes-and-anrs)<a href="https://agentmods.dev/skills/osama-raddad/firecrasher/detect-native-crashes-and-anrs"><img src="https://agentmods.dev/badge/skills/osama-raddad/firecrasher/detect-native-crashes-and-anrs/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.
<a href="https://agentmods.dev/skills/osama-raddad/firecrasher/detect-native-crashes-and-anrs"><img src="https://agentmods.dev/badge/skills/osama-raddad/firecrasher/detect-native-crashes-and-anrs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.00639 |
| Opus 5 | $0.00032 | $0.00319 |
| Sonnet 5 | $0.00013 | $0.00128 |
| Haiku 4.5 | $0.00006 | $0.00064 |
Grade A, and why
detect-native-crashes-and-anrs 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Detect crashes the handler can't catch
FireCrasher's onCrash only sees JVM exceptions on threads it controls. Native
crashes, ANRs, and low-memory kills terminate the process before any in-process
handler runs — they are invisible to it.
On API 30+, Android records these in ApplicationExitInfo. FireCrasher
surfaces that record on the next launch so you can report it. All of these
return empty/null below API 30, so no version guard is needed in your code.
Option A: the callback (recommended)
Configure onPreviousProcessExit. FireCrasher calls it from install when the
system has a record of the app dying abnormally last time:
installFireCrasher {
onCrash { recover() }
onPreviousProcessExit { exitInfo ->
// Only invoked on API 30+; the guard is for lint, which can't see
// that guarantee through the lambda.
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
// The record may predate the last launch — check freshness if it matters.
val recent = System.currentTimeMillis() - exitInfo.timestamp < 60_000
FirebaseCrashlytics.getInstance().log(
"previous exit: reason=${exitInfo.reason} desc=${exitInfo.description} recent=$recent"
)
}
}
}
exitInfo.reason values worth branching on include REASON_CRASH,
REASON_CRASH_NATIVE, REASON_ANR, and REASON_LOW_MEMORY.
Option B: query directly
Ask for the records from any Context whenever you need them:
// The most recent crash / native crash / ANR, or null.
val lastCrash: ApplicationExitInfo? = lastAbnormalExit()
// Full history, newest first (default up to 16).
val history: List<ApplicationExitInfo> = historicalExitReasons(maxCount = 16)
(From Java: ExitInfoKt.lastAbnormalExit(context) and
ExitInfoKt.historicalExitReasons(context, 16).)
Notes
- De-duplicate. The same
ApplicationExitInforecord persists across launches. Track the last-seenexitInfo.timestamp(e.g. in SharedPreferences) so you don't report the same death on every launch. - An ANR record can carry a trace via
exitInfo.traceInputStream— attach it to your report when present. - Below API 30 these APIs no-op; combine this with
report-crashesfor the JVM exceptions FireCrasher can catch to get full coverage.
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.
- 11d ago First seen · 66 lines · 63 tokens per session scan A 138f29303c7c
detect-native-crashes-and-anrs is a skill published in the GitHub repository osama-raddad/FireCrasher (148 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 63 tokens to every session and 639 once invoked, about $0.0003 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-30.
Other skills, from other repositories
argent-metro-debugger
Debug a JS runtime via CDP using argent debugger tools. Primary path is React Native via Metro (iOS / Android / Vega); a subset of the tools (debugger-connect, debugger-status, debugger-evaluate, debugger-log-registry) also drive a Chromium (CDP) app's renderer (an Electron app, or any Chromium browser exposing CDP)…
argent-react-native-optimization
Optimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical issues. Entry-point for all performance work. Use when the app feels slow, user asks to optimize, fix re-renders, reduce jank, or improve startup. Delegates to argent-react-native-profiler for measurement.
argent-native-profiler
Native profiling for CPU hotspots, UI hangs, memory issues. iOS via xctrace; Android via Perfetto. Use when diagnosing native-level performance issues.
compose-performance
Use when investigating Jetpack Compose recomposition cost, compiler stability reports, skippability, unstable parameters, frame-rate State reads, cross-phase snapshot back-writing, or @ReadOnlyComposable contracts.
Debroid CLI Debugger
Orchestrate headless Android debugging via JDWP. ACTIVATE this skill whenever asked to debug an Android application, set line or exception breakpoints, inspect runtime variables or Jetpack Compose state, step through execution, evaluate live expressions, watch fields, or diagnose runtime crashes.
maui-performance
Fix measurable MAUI performance issues. USE FOR: maui profile startup, Release/physical-device measurements, janky CollectionView, compiled bindings, oversized images, MauiImage BaseSize, thumbnail decoding, trim/NativeAOT regressions, IL2026, source-generated serializers, linker validation. DO NOT USE FOR: generic UI…