rn-upgrade

rn-upgrade is a skill for Claude Code, Codex from lukedj78/dev-flow. It costs 226 tokens per session (3,203 once invoked), scanned C, original, MIT.

An upgrade assistant for existing Expo and React Native mobile apps. Expo is a toolkit for building React Native apps; the assistant updates the Expo SDK and aligns related packages.

In plain words
What is it for?
Use it to move an existing app to a newer Expo SDK, fix dependency drift, run Expo diagnostics, and rebuild native projects when needed.
Why use it?
It handles dependency alignment, diagnostics, cache cleanup, and the required native rebuild for projects that manage native code directly.

Skill for Claude CodeCodex

Part of the dev-flow plugin — 45 skills shipped together

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 skills/lukedj78/dev-flow/rn-upgrade
Any agent
npx skills add lukedj78/dev-flow --skill rn-upgrade
Clone the repo
git clone --depth 1 https://github.com/lukedj78/dev-flow

Made for: Claude Code, Codex.

Or install dev-flow, the plugin that ships this one along with the rest of its 45 skills.

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 rn-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/lukedj78/dev-flow/rn-upgrade.svg)](https://agentmods.dev/skills/lukedj78/dev-flow/rn-upgrade)
Your own site
<a href="https://agentmods.dev/skills/lukedj78/dev-flow/rn-upgrade"><img src="https://agentmods.dev/badge/skills/lukedj78/dev-flow/rn-upgrade.svg" alt="Measured on agentmods" height="20"></a>
Per session 226 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,203 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00226 $0.03203
Opus 5 $0.00113 $0.01602
Sonnet 5 $0.00045 $0.00641
Haiku 4.5 $0.00023 $0.00320

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

Security

Grade C, and why

rn-upgrade scanned grade C with 2 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 4d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf node_modules .expo

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

⚠️ **Not `docs.expo.dev/changelog` — that 404s**, and this skill pointed at it in five places until 2026-08-26. A source-of-truth link is worth a `curl -o /dev/null -w '%{http_code}'` now and then; a dead one sends the r
rn-upgrade/SKILL.md · 187 lines

How it starts

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

rn-upgrade — upgrade an Expo + RN project to a newer SDK

Contract

See references/contracts.md (vendored from dev-flow). Key facts:

  • Reads <project-root>/.workflow/meta.json#stack.framework — must be "expo-rn".
  • Requires meta.json#phase ≥ "scaffolded" (there must be a real app to upgrade — this skill never scaffolds).
  • This is a maintenance operation, not a pipeline step: it does not advance phase. It only appends a history entry recording the SDK versions before/after.
  • Idempotent in spirit: re-running on an already-upgraded project is a no-op after Step 1 detects expo is already at the target version (still worth running expo-doctor to catch drift).

When this skill applies

  • Phase is scaffolded or later (an Expo app already exists at the project root).
  • User asks to move to a newer Expo SDK / React Native version, or reports npx expo-doctor failures, or dependency drift after manual npm install.
  • Orchestrator note: dev-flow does not route here automatically as part of the phase pipeline — this is invoked ad hoc, whenever the user wants to upgrade an already-running project.

Knowledge dependencies (read these first)

  • rn-fundamentals/SKILL.md — the 4 non-negotiables (Expo managed, latest SDK, TypeScript, npm) this skill is restoring/advancing.
  • rn-bootstrap/references/stack-defaults.md — the pinned baseline versions used at scaffold time; the diff target for this upgrade.
  • rn-eas-build-submit-update/references/eas-json.mdruntimeVersion policy must be re-verified after an SDK bump (a new SDK usually means a new runtime version, which affects EAS Update compatibility).
  • rn-module-add/SKILL.md + rn-backend/references/* — if a wired module depends on a module being deprecated (e.g. expo-av used for audio/video in a wired feature), the breaking-changes step touches that code.

Source of truth — read this before trusting any command below

Expo SDKs ship roughly every quarter and change command surface, deprecations, and config shape release to release. This skill's workflow shape is stable; the exact command flags and package names are not. Before executing anything marked [VERIFY]:

Read the full file on GitHub · 187 lines

Files

What ships with it

4 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. 4d ago First seen · 187 lines · 226 tokens per session scan C 8fdf54a51105

Subscribe to this mod's changes

rn-upgrade is a skill published in the GitHub repository lukedj78/dev-flow (5 stars, last pushed 6d ago), licensed MIT. It adds 226 tokens to every session and 3,203 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

build-teaql-app

Build or change a TeaQL application in Java, Rust, Go, Swift, Python, C#/.NET, or TypeScript, including Kotlin/JVM applications that consume Java-generated libraries. Mandatory order: first draft and save a complete KSML model, then verify the client and evaluate that saved model, repair it through repeated evaluation…

teaql/teaql-agent-kit · 112 tokens

upgrading-react-native-storybook

Incrementally upgrade React Native Storybook across the supported migration paths. Use when upgrading @storybook/react-native projects from 5.3.x to 6.5.x, 6.5.x to 7.6.x, 7.6.x to 8.3.x, 8.x to 9.x, or 9.x to 10.x. Detect the currently installed Storybook version, choose only the next migration step, update…

storybookjs/react-native · 151 tokens

platform-specialist

Doc-driven platform integration expert. Converts a web app to LINE MINI App (LIFF SDK), PWA (Next.js 16), and Capacitor (iOS/Android). Expo & Tauri are secondary/legacy. ปรัชญาหลัก: ดึง docs จริงล่าสุดก่อนเขียนโค้ดเสมอ — ไม่ freeze snippet ที่จะ rot. Triggers: "LINE MINI App", "LIFF", "LINE OA", "convert to app"…

wasintoh/toh-framework · 161 tokens

wire-sdk

앱인토스 SDK(권한·저장소·공유·Safe Area 등)를 화면에 붙인다.

TOKTOKHAN-DEV/agent-company · 2 tokens

migrate-nativewind-to-uniwind

Migrate a React Native project from NativeWind to Uniwind. Use when the user wants to replace NativeWind with Uniwind, upgrade from NativeWind, switch to Uniwind, or mentions NativeWind-to-Uniwind migration. Handles package removal, config migration, Tailwind 4 upgrade, cssInterop removal, theme conversion, and all…

uni-stack/uniwind · 82 tokens

run-preflight

심사 사전점검을 돌리고 사람이 확인할 항목을 정리한다.

TOKTOKHAN-DEV/agent-company · 3 tokens