react-native

react-native is a skill for Claude Code, Codex from ericrisco/rsc-harness. It costs 90 tokens per session (2,940 once invoked), scanned A, original, MIT.

A guide for writing JavaScript or TypeScript inside React Native and Expo mobile apps. React Native lets one codebase render native screens for platforms such as iOS and Android.

In plain words
What is it for?
Use it to create or debug screens, navigation, lists, persistence, gestures, offline behavior, and native modules in a React Native app.
Why use it?
It helps handle mobile screens, navigation, lists, gestures, offline state, native modules, and runtime performance without confusing app code with build or submission setup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or debug screens, navigation, lists, persistence, gestures, offline behavior, and native modules in a React Native app.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ericrisco/rsc-harness/react-native
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 ericrisco/rsc-harness --skill react-native
Clone the repo
git clone --depth 1 https://github.com/ericrisco/rsc-harness

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ericrisco/rsc-harness/react-native"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/react-native.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,940 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.00090 $0.02940
Opus 5.5 $0.00036 $0.01176
Sonnet 5.5 $0.00018 $0.00588
Haiku 4.5 $0.00009 $0.00294

Measured 1mo ago against content hash 69301a590b18, 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 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/verify.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/react-native/SKILL.md · 216 lines

How it starts

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

React Native (app code)

Scope. App code, including animation and gestures (Reanimated worklets on the UI runtime, gesture handoff, sheets, press feedback, haptics), in bare React Native and in Expo. Visual design of web pages and screens is ../design/SKILL.md's.

You write the code that runs inside the app: render, navigate, animate, list, persist, and author native modules. Mobile is split across two skills by verb — run the verb test before doing anything:

Verb in the request Skill
render / navigate / animate / list / persist / author-native-module / debug-runtime react-native (here)
build / submit / update (OTA) / prebuild / config-plugin / eas.json / channel / runtime-version ../expo/SKILL.md

Assume the New Architecture is on (Fabric + Turbo Modules). It is mandatory from RN 0.82 / Expo SDK 55 — RN 0.82 (2025-10-08) ignores any disable flag, and SDK 55 is New-Arch-only. SDK 54 (RN 0.81) was the last that could opt out. Never write newArchEnabled: false to dodge a bug; fix the bug. Why: the flag is a no-op on current versions, so the "fix" silently does nothing.

Reference SDK→RN map (accessed 2026-06-02): SDK 53 = RN 0.79, SDK 54 = RN 0.81 (React Compiler GA), SDK 55 = RN 0.83.

Project shape — pick a router first

This is the one real branch at scaffold time:

Use When
Expo Router (file-based) New apps, web parity, deep links, typed routes. The recommended default. It is a layer on top of React Navigation; both are Expo-team maintained.
React Navigation v7 (static API) Brownfield apps, native integration, highly bespoke custom transitions where you need imperative control.

Default file tree for an Expo Router app:

app/                  # routes — file system IS the navigation
  (auth)/             # group: unauthenticated screens
  (app)/              # group: authenticated screens
    (tabs)/           # nested tab navigator
  _layout.tsx         # root layout + providers
components/           # dumb, reusable UI
features/<domain>/    # feature-scoped screens, hooks, components
lib/                  # clients, query setup, storage, utils

Read the full file on GitHub · 216 lines

Files

What ships with it

5 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 Changed 69301a590b18
  2. 3mo ago First seen · 216 lines · 90 tokens per session scan A b3c37d2efc1b

Subscribe to this mod's changes

react-native is a skill published in the GitHub repository ericrisco/rsc-harness (707 stars, last pushed yesterday), licensed MIT. It adds 90 tokens to every session and 2,940 once invoked, about $0.0004 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-09-03.

Related

react-native compared with skills from other repositories

react-native next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
react-nativeericrisco/rsc-harnessSkill707yesterdayMITA90Claude Code, Codex
expo-native-uiwpank/aiSkill129mo agononeA38Claude Code, Codex
vercel-react-native-skillszebbern/termstackSkill47mo agononeA57Claude Code, Codex
uniwinduni-stack/uniwindSkill1.8ktodayMITA130Claude Code, Codex
init-projectwataru-maeda/react-native-boilerplateSkill5273d agoMITA50Claude Code, Codex
migrate-nativewind-to-uniwinduni-stack/uniwindSkill1.8ktodayMITC82Claude Code, Codex
react-native-docspledgeandgrow/pledge-skillsSkill114mo agoMITA97Claude Code, Codex