lenserfight: Skill for Claude Code

.agents/skills/react-native-performance-reviewer/SKILL.md

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

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Gemini CLI.

This is conectlens/lenserfight's own configuration. It tells Claude Code and Codex how to work on lenserfight itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything lenserfight configures →

Reuse

Borrowing it

Nothing to install: this file belongs to conectlens/lenserfight. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/conectlens/lenserfight/main/.agents/skills/react-native-performance-reviewer/SKILL.md
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/github.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/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 react-native-performance-reviewer

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.5 $0.00084 $0.00654
Sonnet 5.5 $0.00042 $0.00327
Haiku 4.5 $0.00021 $0.00163

Measured 1mo ago against content hash aad4a40d951f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

.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. 1mo 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 (18 stars, last pushed 1mo ago), licensed MIT. It adds 209 tokens to every session and 1,635 once invoked, about $0.0008 per session on Opus 5.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.

Related

Other skills, from other repositories

find-security-vulnerabilities-in-code

Find security vulnerabilities in a codebase or repository with Strix — a white-box AI security review that reads your source, reasons about the actual data flow and authorization model, then exploits what it finds in a live sandbox so every reported issue has a working proof-of-concept instead of a noisy…

usestrix/strix · 129 tokens

code-review

Perform comprehensive code reviews focusing on best practices, security vulnerabilities, performance optimization, and maintainability.

kyegomez/swarms · 21 tokens

ci-security-scanning-with-strix

Add security scanning to CI/CD with Strix — GitHub Actions, GitLab CI, or any pipeline — so every pull request gets a diff-scoped AI pentest that blocks vulnerable code before it merges, with results as PR comments and SARIF uploaded to code scanning. Covers both the self-hosted open-source CLI (runs in your runner)…

usestrix/strix · 140 tokens

otto-pr-review-loop

Run Polly and OCR on a PR until all findings settle.

omnigent-ai/omnigent · 17 tokens

swarms

Build agents and multi-agent systems with the Swarms framework — the Agent class, tools, autonomous loops, memory, and the 15+ multi-agent architectures (SequentialWorkflow, ConcurrentWorkflow, GraphWorkflow, HierarchicalSwarm, SwarmRouter, and more). Use whenever writing, reviewing, or debugging code that imports…

kyegomez/swarms · 73 tokens

adk-go-self-review

Review an ADK Go change the way a maintainer will — a fresh-context pass over the whole diff, five lenses (correctness and tests, scope, simplicity, style, adk-python parity), and the mutation check that proves your tests pin the change. Use before opening a PR, before any later push that changes code, and when asked…

google/adk-go · 87 tokens