hermes-crashes

hermes-crashes is a skill for Claude Code, Codex from AnilBurcu/claude-code-react-native. It costs 67 tokens per session (1,076 once invoked), scanned A, original, MIT.

A reference for understanding Hermes crashes and unreadable production stack traces in React Native apps. Hermes is the JavaScript engine that runs the app’s JavaScript code.

In plain words
What is it for?
Use it for crashes mentioning index.android.bundle, libhermes, SIGSEGV, Sentry stack traces, symbolication, or source maps.
Why use it?
It separates JavaScript errors, native crashes, and freezes, then explains how to map bundled stack locations back to source code.

Skill for Claude CodeCodex

Part of the rn plugin — 18 skills, 4 agents shipped together

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 skills/anilburcu/claude-code-react-native/hermes-crashes
Any agent
npx skills add AnilBurcu/claude-code-react-native --skill hermes-crashes
Clone the repo
git clone --depth 1 https://github.com/AnilBurcu/claude-code-react-native

Made for: Claude Code, Codex.

Or install rn, the plugin that ships this one along with the rest of its 18 skills, 4 agents.

Wrote 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.

agentmods badge for hermes-crashes

README.md
[![agentmods](https://agentmods.dev/badge/skills/anilburcu/claude-code-react-native/hermes-crashes.svg)](https://agentmods.dev/skills/anilburcu/claude-code-react-native/hermes-crashes)
Your own site
<a href="https://agentmods.dev/skills/anilburcu/claude-code-react-native/hermes-crashes"><img src="https://agentmods.dev/badge/skills/anilburcu/claude-code-react-native/hermes-crashes.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,076 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.00067 $0.01076
Opus 5 $0.00034 $0.00538
Sonnet 5 $0.00013 $0.00215
Haiku 4.5 $0.00007 $0.00108

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

Security

Grade A, and why

hermes-crashes 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 3d 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/rn/skills/hermes-crashes/SKILL.md · 61 lines

How it starts

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

Making production crashes readable

First, classify the crash

Three families, three completely different investigations:

  1. JS error: a thrown Error, a rejected promise, a render error. Stack frames point into the JS bundle (index.android.bundle, main.jsbundle). Fix in JS.
  2. Native crash: SIGSEGV, SIGABRT, EXC_BAD_ACCESS, frames in libhermes.so or platform frameworks. The JS code may be the trigger but the defect is in a native module or in JSI usage.
  3. ANR / watchdog kill: no crash at all, the main thread was blocked. Investigate what ran long, not what threw.

Misclassifying wastes days. A SIGSEGV cannot be fixed by editing JavaScript, and an unhandled rejection will never appear in a tombstone.

Decoding "address at index.android.bundle:1:589926"

That address is an offset into Hermes bytecode, not a line and column in your source. The decoder is metro-symbolicate plus the source map that was generated for that exact build:

# paste the raw stack into a file, then:
npx metro-symbolicate path/to/index.android.bundle.map < stack.txt

Rules that make this work:

  • The map must come from the same build as the crashing bundle. A map from a rebuild of "the same commit" often still matches, but treat any nonsense output as a map mismatch.
  • Expo/EAS builds can emit source maps during the build; keep them as build artifacts. If you have no map for a release, that release's crashes stay unreadable forever, so archiving maps per release is part of the release process, not an optimization.

Sentry (or any crash reporter) symbolication checklist

When events show minified frames instead of source:

  1. Current tooling matches bundle and map through Debug IDs injected into both at build time; the usual failure is that the upload step ran locally but not in the release lane. Confirm the CI job actually uploaded artifacts for the build that is crashing.
  2. On older release-plus-dist setups, maps must be uploaded per release AND distribution. A dist mismatch fails silently and looks exactly like "sourcemaps don't work".
  3. Same for the release name: what the app reports at runtime must equal what the maps were uploaded under. Log both once and compare character by character.

Read the full file on GitHub · 61 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 61 lines · 67 tokens per session scan A 75ffe0cb7639

Subscribe to this mod's changes

hermes-crashes is a skill published in the GitHub repository AnilBurcu/claude-code-react-native (3 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 1,076 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-31.

Related

Other skills, from other repositories

expo-56

Authoritative, version-pinned reference for Expo SDK 56 and SDK 57 — both postdate your training, so defer to this skill over memory for anything Expo. SDK 57 is the current release (2026-07-08, React Native 0.86); SDK 56 is the previous, still-supported release (React Native 0.85). Use it whenever the user is…

mahdi-salmanzade/expo56-skill · 391 tokens

optimising-expo-react-native-performance

Diagnose, improve, and prevent performance regressions in Expo-based React Native apps using release-build profiling, KPI budgets, and targeted fixes across startup, rendering, lists, images, memory, and networking.

tristanmanchester/agent-skills · 49 tokens

expo

Use when shipping a React Native app with Expo — EAS Build/Submit/Update, eas.json profiles and channels, config plugins, prebuild/CNG, runtime-version policy, OTA updates that never land, SDK upgrades, the New Architecture. NOT RN UI, navigation or native-module authoring (that is react-native), NOT a Dart app (that…

ericrisco/rsc-harness · 79 tokens

uniwind

Uniwind — Tailwind CSS v4 styling for React Native. Use when adding, building, or debugging components in a React Native project that uses Uniwind classNames. Covers setup, Metro config, global.css, theming, className props, accent- color props, platform/data/state/responsive variants, CSS variables, custom utilities…

uni-stack/uniwind · 130 tokens

writing-react-native-storybook-stories

Create and edit React Native Storybook stories using Component Story Format (CSF). Use when writing .stories.tsx files, adding stories to React Native components, configuring Storybook addons (controls, actions, backgrounds, notes), setting up argTypes, decorators, parameters, or working with portable stories for…

storybookjs/react-native · 83 tokens

setup-react-native-storybook

Set up Storybook for React Native in Expo, React Native CLI, or Re.Pack projects. Use when adding Storybook to a project, configuring metro.config.js with withStorybook, creating .rnstorybook configuration files, setting up Storybook routes in Expo Router, configuring getStorybookUI, or adding the StorybookPlugin to a…

storybookjs/react-native · 102 tokens