react-native-brownfield-migration

react-native-brownfield-migration is a skill for Codex from callstackincubator/agent-skills. It costs 70 tokens per session (1,866 once invoked), scanned A, original, MIT.

A guide for gradually adding React Native screens or features to an existing native iOS or Android app, known as a brownfield migration.

In plain words
What is it for?
Use it to set up the integration, package React Native artifacts, connect them to native hosts, and add features one screen at a time.
Why use it?
It gives teams a staged path for adopting React Native without replacing the whole native application at once.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to set up the integration, package React Native artifacts, connect them to native hosts, and add features one screen at a time.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/callstackincubator/agent-skills/react-native-brownfield-migration
About the project

Callstack Agent Skills is a collection of instructions that gives AI coding assistants practical knowledge for building React Native applications. Developers use it for app development, performance, navigation, testing, CI, device automation, and migrations to React Native. The catalogue entries are the project's skills, rules, and instructions for compatible coding assistants.

callstackincubator/agent-skills · 1,723 stars · on GitHub

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 callstackincubator/agent-skills --skill react-native-brownfield-migration
Clone the repo
git clone --depth 1 https://github.com/callstackincubator/agent-skills

Made for: 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-brownfield-migration

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/callstackincubator/agent-skills/react-native-brownfield-migration"><img src="https://agentmods.dev/badge/skills/callstackincubator/agent-skills/react-native-brownfield-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,866 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
  • Socket pass 9 Oct 2026
  • Snyk pass 9 Oct 2026
  • 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.00070 $0.01866
Opus 5.5 $0.00028 $0.00746
Sonnet 5.5 $0.00014 $0.00373
Haiku 4.5 $0.00007 $0.00187

Measured 1mo ago against content hash 0bd0e037da12, 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-brownfield-migration 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.

skills/react-native-brownfield-migration/SKILL.md · 130 lines

How it starts

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

Migrating to React Native

Use this skill only after the decision to adopt brownfield migration has been made. When the user is still choosing between brownfield, greenfield, a checkpoint-based path, defer, or no migration, use assess-react-native-migration first.

Overview

Prescriptive workflow for incremental adoption of React Native in existing native apps using @callstack/react-native-brownfield, from initial setup through phased host integration.

  • Expo track
  • Bare React Native track

Use one track per task unless the user explicitly asks for migration or comparison.

Migration Strategy

Use this strategy for brownfield migration planning and execution:

  1. Assess app state and select Expo or bare path.
  2. Perform initial setup with @callstack/react-native-brownfield.
  3. Package RN artifacts (XCFramework/AAR) from the RN source app.
  4. Integrate one RN surface into the host app and validate startup/runtime.
  5. Repeat integration by feature/screen for incremental rollout.

Agent Guardrails (Global)

Apply these rules across all reference files:

  1. Select one path first (Expo or bare) and do not mix steps.
  2. Use placeholders from the docs (<framework_target_name>, <android_module_name>, <registered_module_name>) and resolve from project files.
  3. Validate each packaging command before moving to host integration.
  4. Run npx brownfield <command> --help before relying on any flag table in these references; help output wins.
  5. Write stable project settings once into brownfield.config.* instead of repeating flags — see [cli-and-config.md][cli-and-config].
  6. Prefer official docs for long platform snippets and CLI option details.
  7. Keep host apps isolated from direct React Native APIs when possible (facade approach).
  8. For startup/runtime verification, use agent-device to open the host app, navigate to the RN surface, capture snapshots/screenshots, and collect device evidence. If it is missing and verification needs it, install it through the environment's approved/trusted path or ask the user to install or enable it.

Read the full file on GitHub · 130 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. 1mo ago Changed · +11 lines 0bd0e037da12
  2. 3mo ago First seen · 119 lines · 70 tokens per session scan A a01b34e0e03a

Subscribe to this mod's changes

react-native-brownfield-migration is a skill published in the GitHub repository callstackincubator/agent-skills (1,723 stars, last pushed 1mo ago), licensed MIT. It adds 70 tokens to every session and 1,866 once invoked, about $0.0003 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

react-native-brownfield-migration compared with skills from other repositories

react-native-brownfield-migration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
react-native-brownfield-migrationcallstackincubator/agent-skillsSkill1.7k1mo agoMITA70Codex
agent-spec-mobile-react-nativeruvnet/rufloSkill83ktodayMITA22Claude Code
react-native-devMiniMax-AI/skillsSkill14k20d agoMITA102Claude Code
expo-native-uiexpo/skillsSkill4.3k2d agoMITA63Claude Code, Codex
react-native-testingcallstack/react-native-testing-librarySkill3.4k9d agoMITA134Claude Code, Codex
truesheet-usagelodev09/react-native-true-sheetSkill2.1ktodayMITA171Claude Code, Codex
expo-brownfieldexpo/skillsSkill4.3k2d agoMITA70Claude Code, Codex