expo-brownfield

expo-brownfield is a skill for Claude Code, Codex from heyAyushh/stacc. It costs 64 tokens per session (727 once invoked), scanned B, a copy of expo-brownfield, MIT.

A guide to adding Expo and React Native to an existing native iOS or Android app. This incremental approach is called a brownfield integration.

In plain words
What is it for?
Use it when embedding React Native in a Kotlin or Swift app, distributing AAR or XCFramework files, or combining native and React Native codebases.
Why use it?
It helps teams choose between shipping React Native as a prebuilt library and integrating it into the existing native build.

Skill for Claude CodeCodex

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

Good fit Use it when embedding React Native in a Kotlin or Swift app, distributing AAR or XCFramework files, or combining native and React Native codebases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/heyayushh/stacc/expo-brownfield
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 heyAyushh/stacc --skill expo-brownfield
Clone the repo
git clone --depth 1 https://github.com/heyAyushh/stacc

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 expo-brownfield

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/heyayushh/stacc/expo-brownfield"><img src="https://agentmods.dev/badge/skills/heyayushh/stacc/expo-brownfield.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 727 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod 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.00064 $0.00727
Opus 5.5 $0.00026 $0.00291
Sonnet 5.5 $0.00013 $0.00145
Haiku 4.5 $0.00006 $0.00073

Measured 3mo ago against content hash 2229e1d8bee9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

expo-brownfield scanned grade B with 1 finding 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 3mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

The integrated approach additionally requires **CocoaPods** on iOS (`sudo gem install cocoapods`). The isolated approach does **not** require CocoaPods or any RN tooling in the consuming native app.
Origin

This is a copy

89% identical to expo-brownfield — 34 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/expo-brownfield/SKILL.md · 56 lines

How it starts

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

Expo Brownfield

A brownfield app is an existing native iOS or Android app that adopts React Native incrementally, as opposed to a greenfield app that is React Native from day one.

Expo supports two distinct ways to add React Native to a brownfield project:

Approach What ships to the native app When to choose
Isolated Prebuilt AAR / XCFramework Native team doesn't need Node or RN tooling; RN code can live in a separate repo
Integrated React Native sources added to the existing Gradle / CocoaPods build One team owns everything; comfortable with RN tooling; wants a single build

For the full decision matrix, see ./references/comparison.md.

Pick an approach

Use these quick rules — fall through to comparison.md for anything ambiguous.

  • Choose isolated if the iOS/Android team must consume RN as a regular library dependency (AAR or XCFramework), without installing Node, Yarn, or the React Native build toolchain.
  • Choose isolated if RN code and native code live in separate repositories or release on independent cadences.
  • Choose integrated if a single team owns both the native and RN code and is willing to add React Native + Expo to the native project's Gradle and CocoaPods setup.
  • Choose integrated if you want hot reload and JS source maps to work seamlessly inside the existing native build process.

References

  • ./references/brownfield-isolated.md -- Build RN as AAR/XCFramework and consume from the native app (BrownfieldActivity, ReactNativeViewController, ReactNativeView)
  • ./references/brownfield-integrated.md -- Add RN and Expo directly to existing Gradle and CocoaPods builds (ReactActivity, RCTRootView, Podfile)
  • ./references/comparison.md -- Decision criteria, trade-offs, and scenario mapping for choosing an approach
  • ./references/troubleshooting.md -- Metro connection, build, signing, and module-resolution issues common to both approaches

Read the full file on GitHub · 56 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. 3mo ago First seen · 56 lines · 64 tokens per session scan B 2229e1d8bee9

Subscribe to this mod's changes

expo-brownfield is a skill published in the GitHub repository heyAyushh/stacc (3 stars, last pushed 2mo ago), licensed MIT. It adds 64 tokens to every session and 727 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). It is 89% identical to expo-brownfield, differing in 34 lines, and is treated as a copy.

Related

expo-brownfield compared with skills from other repositories

expo-brownfield next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
expo-brownfieldheyAyushh/staccSkill32mo agoMITB64Claude Code, Codex
orca-emulator-androidstablyai/orcaSkill159ktodayMITA102Claude Code, Codex
nitro-ui-native-codepingdotgg/t3codeSkill90ktodayMITA32Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11kyesterdayApache-2.0A56Claude Code
android-multiprofilechromium/chromiumSkill26ktodayBSD-3-ClauseA73Claude Code, Codex
android-tombstone-symbolicationdotnet/skillsSkill6.5ktodayMITA176Claude Code
dogfoodcallstack/agent-deviceSkill5.6ktodayMITA55Claude Code