react-native-performance-reviewer

react-native-performance-reviewer is a skill for Claude Code, Codex from conectlens/lenserfight. It costs 209 tokens per session (1,635 once invoked), scanned A, original, MIT.

A review guide for React Native and Expo Go code, which are tools for building mobile apps with JavaScript and React. It checks changes for resource use and behavior on real devices.

In plain words
What is it for?
Use it when changing mobile screens, navigation, state management, storage, network code, notifications, lists, images, video, camera features, animations, or native device integrations.
Why use it?
It helps catch slow screens, memory problems, battery drain, inefficient network use, and failures under heavy conditions before they reach users.

Skill for Claude CodeCodex

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/conectlens/lenserfight/react-native-performance-reviewer
Any agent
npx skills add conectlens/lenserfight --skill react-native-performance-reviewer
Clone the repo
git clone --depth 1 https://github.com/conectlens/lenserfight

Made for: Claude Code, Codex.

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 react-native-performance-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/conectlens/lenserfight/react-native-performance-reviewer.svg)](https://agentmods.dev/skills/conectlens/lenserfight/react-native-performance-reviewer)
Your own site
<a href="https://agentmods.dev/skills/conectlens/lenserfight/react-native-performance-reviewer"><img src="https://agentmods.dev/badge/skills/conectlens/lenserfight/react-native-performance-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 209 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,635 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.1 $0.00209 $0.01635
Opus 5 $0.00105 $0.00817
Sonnet 5 $0.00042 $0.00327
Haiku 4.5 $0.00021 $0.00163

Measured 5d ago against content hash aad4a40d951f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

react-native-performance-reviewer 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 5d 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.

.agents/skills/react-native-performance-reviewer/SKILL.md · 138 lines

How it starts

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

React Native / Expo Go Performance Reviewer

When to activate

Any code touch on:

  • apps/mobile/** — components, screens, hooks, navigation
  • libs/* libraries bundled by Metro (Expo/Hermes)
  • Expo modules, SDK APIs, or native bridge call sites
  • AsyncStorage, SecureStore, MMKV, or SQLite usage
  • Push notification handlers or background fetch tasks
  • State management (Zustand, Redux, Jotai, Context)
  • Network layers, query clients (React Query, SWR, Apollo)
  • FlatList, SectionList, FlashList, ScrollView, VirtualizedList
  • Image components, video players, camera flows
  • Reanimated, Animated API, or gesture handlers

Review workflow

  1. Load references/PERFORMANCE_CHECKLIST.md and apply all sections relevant to the changed files.
  2. Inspect the diff for the detection rules below.
  3. Produce a severity-ordered finding list using the output format below.
  4. Use assets/review-report-template.md for the full structured report.

Severity classification

Severity Meaning
critical Causes crashes, ANRs, OOM kills, or severe jank on mid-range devices under normal load
high Visible jank, memory growth, or excessive battery drain on mid-range devices at moderate usage
medium Degrades experience on low-end devices or under stress (50+ concurrent users)
low Minor inefficiency, acceptable now but risky at scale
info Observation with no current risk

Core detection rules

Rendering

  • Flag components lacking React.memo, useCallback, or useMemo where props are objects, arrays, or functions created inline.
  • Flag useEffect with no dependency array or an array including unstable references (new object/array each render).
  • Flag Context providers whose value is a new object literal on every render — re-renders all consumers.
  • Flag navigation screens that re-render on every tab switch due to missing React.memo or useFocusEffect misuse.

Memory & lifecycle

  • Flag subscriptions, event listeners, timers, and Animated listeners not cleaned up in useEffect return.
  • Flag state that accumulates over a session without a bound (unbounded log arrays, growing caches, stacked screens never popped).
  • Flag useRef storing a value that updates every render (effectively a re-render vector).

Read the full file on GitHub · 138 lines

Files

What ships with it

2 files 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. 5d ago First seen · 138 lines · 209 tokens per session scan A aad4a40d951f

Subscribe to this mod's changes

react-native-performance-reviewer is a skill published in the GitHub repository conectlens/lenserfight (19 stars, last pushed 26d ago), licensed MIT. It adds 209 tokens to every session and 1,635 once invoked, about $0.0010 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.