rn-performance

rn-performance is a skill for Claude Code from AnilBurcu/claude-code-react-native. It costs 0 tokens per session (905 once invoked), scanned A, original, MIT.

A reference for diagnosing and fixing slow React Native apps, including sluggish lists, uneven animations, slow startup, repeated screen updates, and inefficient images.

In plain words
What is it for?
Use it to profile release builds, improve long lists, reduce unnecessary updates, optimize images, and investigate startup or animation problems.
Why use it?
It helps identify whether the JavaScript thread, screen-rendering thread, or network and storage work is causing the slowdown before choosing a fix.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

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

Good fit Use it to profile release builds, improve long lists, reduce unnecessary updates, optimize images, and investigate startup or animation problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anilburcu/claude-code-react-native/rn-performance
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.

Any agent
npx skills add AnilBurcu/claude-code-react-native --skill rn-performance
Clone the repo
git clone --depth 1 https://github.com/AnilBurcu/claude-code-react-native

Made for: Claude Code.

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 rn-performance

README.md
[![agentmods](https://agentmods.dev/badge/skills/anilburcu/claude-code-react-native/rn-performance/github.svg)](https://agentmods.dev/skills/anilburcu/claude-code-react-native/rn-performance)
Your own site
<a href="https://agentmods.dev/skills/anilburcu/claude-code-react-native/rn-performance"><img src="https://agentmods.dev/badge/skills/anilburcu/claude-code-react-native/rn-performance/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.

agentmods 80×15 button for rn-performance

Your own site · 80×15
<a href="https://agentmods.dev/skills/anilburcu/claude-code-react-native/rn-performance"><img src="https://agentmods.dev/badge/skills/anilburcu/claude-code-react-native/rn-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 905 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00905
Opus 5.5 $0.00000 $0.00362
Sonnet 5.5 $0.00000 $0.00181
Haiku 4.5 $0.00000 $0.00090

Measured 1mo ago against content hash bf603a16d3a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rn-performance 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 1mo 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/rn-performance/SKILL.md · 52 lines

How it starts

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

Performance triage

Two rules before touching code

  1. Profile release builds. Dev mode runs a different engine configuration with dev-only checks; its performance characteristics are fiction. npx expo run:ios --configuration Release or npx expo run:android --variant release before believing any measurement.
  2. Name the thread. Everything slow is one of: JS thread saturated, UI thread saturated, or waiting on IO. The fix lives on the thread that is busy, and the profiler tells you which one it is; guessing does not.

Lists

  • Long scrollable content belongs in FlashList (or at minimum FlatList), never a ScrollView with .map(). ScrollView mounts everything immediately; past a few dozen items that is the entire problem.
  • renderItem must be a stable component reference, not an inline closure creating new component trees per render. Extract it, memo it, and keep item props primitive where possible.
  • keyExtractor must return stable ids. Index keys plus insertions equals recycled rows showing the wrong content and pointless re-renders.
  • Images inside rows: fixed dimensions, a recycling-aware image component, and correctly sized source assets. Decoding a 4000px image into a 80px avatar slot burns CPU and memory for nothing.
  • Measure list health with the blank-area metric while scrolling fast, and by watching JS FPS in the perf monitor, not by feel on a simulator. Simulators lie in both directions.

Re-renders

  • Subscribe narrowly. With zustand and friends, select the smallest slice (useStore(s => s.count)), never the whole store object. With context, split fast-changing values out of the provider that wraps the world.
  • memo the expensive leaves (list rows, chart bodies, anything with heavy trees), then make sure their props are actually stable, because memo with a fresh object or closure prop every render is a no-op with extra steps.
  • useCallback and useMemo are for identity stability where a memoized child or an effect depends on it, not decoration for every function in the file.
  • To find offenders, use the React DevTools profiler and look for wide flame bars re-rendering on interactions that should be local. One misplaced subscription at the screen root regularly accounts for the whole problem.

Read the full file on GitHub · 52 lines

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. 1mo ago Changed · -59 tokens per session bf603a16d3a9
  2. 1mo ago First seen · 52 lines · 59 tokens per session scan A ce90fa472964

Subscribe to this mod's changes

rn-performance is a skill published in the GitHub repository AnilBurcu/claude-code-react-native (3 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 905 tokens. 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

audit-ppmplugin

Statically audit a built .ppmplugin before wrap testing. Checks archive layout, manifest compatibility, bundle consistency, Android DEX integrity and SDK leakage, iOS framework structure, native source-to-receiver alignment, and the PCF composite-key/sendAsync transport contract. Reports CRITICAL, WARNING, and INFO…

microsoft/power-platform-skills · 112 tokens

generate-ppmplugin-manifest

Validate, reconcile to the chosen target(s), and stage the manifest.json for a .ppmplugin bundle. In the normal flow the committed ./manifest.json already exists (authored by /generate-native-extension), so this stage reads it, runs the plugin's upload-compatibility checks locally as a pre-flight gate (name regex…

microsoft/power-platform-skills · 194 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

touch-audit

Mobile audit — app size, startup time, crash reporting, store compliance, accessibility, offline behavior. Use when asked for "mobile review", "app store readiness", "mobile performance", or "crash analysis".

tonone-ai/tonone · 47 tokens

performance-profiling

Instruments integration and performance analysis workflows for iOS apps. Use when profiling CPU usage, memory allocation, network activity, or energy consumption. Covers Time Profiler, Allocations, Leaks, Network instruments, and performance optimization strategies.

conorluddy/xclaude-plugin · 52 tokens