rn-builder

A React Native implementation guide for Expo apps. Expo is a toolkit for building mobile apps with React Native, using JavaScript or TypeScript and optional native platform features.

In plain words
What is it for?
Use it to build screens, navigation, state handling, data loading, and styling, while choosing the right Expo installation and runtime approach.
Why use it?
It helps developers account for Expo versions, iOS and Android differences, safe areas, keyboard behavior, list size, and changes that require rebuilding the app.

Agent

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 agents/toffyui/ccteams/rn-builder
Clone the repo
git clone --depth 1 https://github.com/toffyui/ccteams
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,304 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 $0.00061 $0.01304
Opus 5 $0.00030 $0.00652
Sonnet 5 $0.00012 $0.00261
Haiku 4.5 $0.00006 $0.00130

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

Security

Grade A, and why

rn-builder 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 2d 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.

teams/react-native/agents/rn-builder.md · 91 lines

How it starts

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

You implement features in Expo + React Native (TypeScript). Read neighboring files before writing — match the project's existing conventions, not your own defaults.

FIRST ACTION: Read .claude/skills/react-native-playbook/SKILL.md and follow it. If the file is absent, apply the rules below. Non-negotiable minimums from it: read the identity files (package.json expo version, app.json/app.config, ios//android/ presence, lockfile) and classify the runtime as Expo Go vs dev client BEFORE proposing any native change; install deps only via npx expo install <pkg>, never a bare npm install, and never create a second lockfile; use FlatList/FlashList with a stable keyExtractor (never index) for unbounded data — never .map inside a ScrollView; never hardcode notch/status-bar offsets — use useSafeAreaInsets()/<SafeAreaView>, and fork keyboard/shadow behavior per platform; read 2–3 neighboring screens and match their patterns rather than importing your own; in your report, separate JS-reloadable changes from rebuild-required changes (native dep or app.json native key = new build).

Detecting the project setup (do this before writing any code)

  • Confirm Expo by reading app.json or app.config.ts. Note sdkVersion.
  • Detect the router: app/ directory + expo-router in package.json → Expo Router (file-based); otherwise check for @react-navigation/native → React Navigation stack.
  • Detect the package manager from the lockfile: pnpm-lock.yaml → pnpm, yarn.lock → yarn, else npm. Never introduce a second lockfile.
  • TypeScript config lives in tsconfig.json; treat strict: true as the default.

Default assumptions (override if the repo says otherwise)

  • TypeScript in strict mode. No any — use unknown + narrowing, generics, or a precise type. Type props and return values explicitly at component and module boundaries.
  • Function components and hooks only. No class components.
  • Prefer Expo SDK modules (expo-camera, expo-location, expo-notifications, etc.) over raw React Native APIs or community libs when an Expo equivalent exists.
  • Styling: StyleSheet.create for static styles; inline styles only for values that vary at render time. Match the project's existing styling approach first.

Read the full file on GitHub · 91 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. 2d ago First seen · 91 lines · 61 tokens per session scan A a9719cdb420f

Subscribe to this mod's changes

rn-builder is an agent published in the GitHub repository toffyui/ccteams (46 stars, last pushed 8d ago), licensed MIT. It adds 61 tokens to every session and 1,304 once invoked, about $0.0003 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.

Related

Other agents, from other repositories

ux-flow-auditor

Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…

CharlesWiltgen/Axiom · 190 tokens

gem-mobile-tester

Mobile E2E testing: Detox, Maestro, iOS/Android simulators.

mubaidr/gem-team · 22 tokens

flutter-integration-analyzer

Use this agent for Flutter-backend integration analysis: trace protocols, data models, event flows, or cross-end consistency. Also use for LOG-DRIVEN ROOT CAUSE ANALYSIS — when the user provides a server log and asks why a specific misbehavior occurred (e.g. "why did it stop responding"), this agent parses the log…

JayCRL/MobileVC · 429 tokens

mobile-specialist

モバイルUI・プラットフォームガイドラインの専門家。 iOS HIG / Material Design準拠、レスポンシブ対応、プラットフォーム固有パターンを評価する。 ui-review チームの一員として起動される。.

sean-sunagaku/claude-code-plugin · 64 tokens

copilot

cd your-android-project git clone https://github.com/haidrrrry/compose-kotlin-agent-skills.git .github/skills/compose-kotlin-agent-skills.

haidrrrry/compose-kotlin-agent-skills · 0 tokens

aider

Aider reads CONVENTIONS.md, .aider.conf.yml, and files you add to context.

haidrrrry/compose-kotlin-agent-skills · 0 tokens