react-native-mobile

react-native-mobile is a skill for Claude Code, Codex from kouroshez/coding-os. It costs 72 tokens per session (1,336 once invoked), scanned A, original, Apache-2.0.

A set of rules for building React Native mobile screens and components with Expo and TypeScript. It covers navigation, asynchronous states, offline syncing, animations, and accessibility for VoiceOver and TalkBack.

In plain words
What is it for?
Use it when creating or changing mobile screens, hooks, API calls, navigation, offline queues, animations, or accessibility behavior.
Why use it?
It helps keep mobile code consistent and avoids common problems such as broken offline updates, unsafe animations, confusing loading states, and inaccessible controls.

Skill for Claude CodeCodex

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

Good fit Use it when creating or changing mobile screens, hooks, API calls, navigation, offline queues, animations, or accessibility behavior.

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

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-mobile

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kouroshez/coding-os/react-native-mobile"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/react-native-mobile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,336 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.00072 $0.01336
Opus 5 $0.00036 $0.00668
Sonnet 5 $0.00014 $0.00267
Haiku 4.5 $0.00007 $0.00134

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

Security

Grade A, and why

react-native-mobile 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/new_screen.py), 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.

src/templates/react-native/skills/react-native-mobile/SKILL.md · 120 lines

How it starts

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

This skill enforces React Native + Expo conventions for the src/mobile/ subtree. It depends_on: [clean-code, frontend-fundamentals, a11y] — universal code quality, three-state async UI, and accessibility checks load transitively. This skill adds ONLY mobile-specific concerns on top.

Anatomy reference: references/anatomy.md. Read that file BEFORE writing any new screen / component / hook.

Pre-Code Checklist

Before writing or modifying any .ts / .tsx file under src/mobile/:

  • Read references/anatomy.md — file map and entity recipes.
  • If touching a screen: read docs/playbooks/mobile-app.md.
  • If touching offline / sync: read docs/engineering/offline-first.md.
  • If touching animation: confirm worklet vs JS thread split.
  • If touching API calls: read docs/api-contracts/error-format.md.

1. Architecture defaults

  • Navigation: React Navigation v7 (stack + tabs). Every route lives under src/mobile/app/(tabs)/<route> or src/mobile/app/<route> if outside the tab bar.
  • State: prefer hooks-local state. Cross-screen state goes through src/mobile/store/ (Zustand by default; swap is a stack-wide decision, not per-feature).
  • Styling: StyleSheet API for static styles, NativeWind / Tailwind RN for utility-first when configured. NEVER inline style={{ }} for repeated tokens.
  • Theming: read tokens from src/shared/contracts/design-tokens.ts — never hard-code colors / spacing.

2. Three-state async UI (mandatory)

Every screen that fetches data MUST handle three states explicitly:

if (loading) return <Skeleton />;
if (error)   return <ErrorView onRetry={retry} message={mapError(error)} />;
if (!data)   return <EmptyState />;
return <Content data={data} />;

If only happy path renders → fail in PR review.

3. Hermes + Reanimated worklet rules

  • Functions executed on the UI thread MUST be marked with 'worklet':

    const onScroll = useAnimatedScrollHandler({
      onScroll: (event) => {
        'worklet';
        scrollY.value = event.contentOffset.y;
      },
    });
    

Read the full file on GitHub · 120 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. 5d ago First seen · 120 lines · 72 tokens per session scan A da0debeaf2de

Subscribe to this mod's changes

react-native-mobile is a skill published in the GitHub repository kouroshez/coding-os (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 72 tokens to every session and 1,336 once invoked, about $0.0004 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-09-03.

Related

Other skills, from other repositories

react-native

React Native mobile patterns, platform-specific code.

alinaqi/maggy · 11 tokens

app-ui-design

Mobile app UI design expert for iOS and Android. Use when designing app interfaces, creating design systems, ensuring accessibility, or following platform guidelines. Covers Material Design 3, Human Interface Guidelines, color theory, typography, and 2025 trends.

majiayu000/spellbook · 54 tokens

apple-ecosystem-expert

Expert guide for Apple Ecosystem development. Covers iOS support, Safari WebKit compatibility, PWAs (Progressive Web Apps) for iOS, and Human Interface Guidelines (HIG) for web and native apps / Panduan ahli pengembangan ekosistem Apple (iOS & Web).

roedyrustam/vibes-plug · 66 tokens

react-native

Build production React Native apps with Expo SDK 53+, Expo Router (file-based navigation), New Architecture (Fabric + TurboModules), FlashList, Reanimated 4, Zustand for state, Hermes, EAS Build, and App Store/Play Store deployment.

EliasOulkadi/shokunin · 55 tokens

expo-config-plugin

Writing Expo config plugins, withInfoPlist, withAndroidManifest, withDangerousMod, mod compose, plugin testing, and registration in app.config.ts. Triggers on config plugin, with-plugin, withInfoPlist, withAndroidManifest, withDangerousMod, withEntitlementsPlist, withGradleProperties, mod, native config, expo plugin…

fatihkan/badi · 85 tokens

expo-router

File-based routing with Expo Router, dynamic routes, layout hierarchy, deep linking, and navigation patterns. Triggers on expo-router, file-based routing, app dizini, layout.tsx, [id].tsx, deep linking, expo-linking, tab navigation, stack navigation, drawer, prefetch, parallel routes, redirects, navigation, useRouter…

fatihkan/badi · 80 tokens