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.
npx skills add lukedj78/dev-flow --skill rn-expo-routergit clone --depth 1 https://github.com/lukedj78/dev-flowWrote 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.
[](https://agentmods.dev/skills/lukedj78/dev-flow/rn-expo-router)<a href="https://agentmods.dev/skills/lukedj78/dev-flow/rn-expo-router"><img src="https://agentmods.dev/badge/skills/lukedj78/dev-flow/rn-expo-router.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00128 | $0.00610 |
| Opus 5 | $0.00064 | $0.00305 |
| Sonnet 5 | $0.00026 | $0.00122 |
| Haiku 4.5 | $0.00013 | $0.00061 |
Grade A, and why
rn-expo-router 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 8d 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.
What it actually says
rn-expo-router — guardrail for navigation in Expo + RN
For the current Expo API and per-version details, verify against the Expo docs / MCP
mcp.expo.dev/expo/skills(see rn-fundamentals → Source of truth).
The 4 rules (non-negotiable)
- Expo Router only. Never
importfrom@react-navigation/*directly — Expo Router wraps and owns it. - File-based: routes live in
app/. The filename IS the URL._layout.tsxfiles define the layout for their directory. - Typed routes ON. In
app.json:"expo": { "experiments": { "typedRoutes": true } }. UseHreftype for navigation, never raw strings. - Layouts contain navigators. Screen files contain only the screen UI. Tab bar / stack header config goes in
_layout.tsx.
Quick decision tree
- "Tabs / Stack / Drawer — which?" →
references/decision-tree.md - "How do I structure routes for an auth-gated section?" →
references/patterns.md(Auth groups) - "Deep linking from notification or URL?" →
references/deep-linking-setup.md - "Show me a real layout" →
references/examples/
Common anti-patterns (NEVER do)
- ❌
import { useNavigation } from '@react-navigation/native'→ useuseRouter()fromexpo-router. - ❌
router.push('/profile/123')as raw string → typed routes:router.push({ pathname: '/profile/[id]', params: { id: '123' } }). - ❌ Defining a
<Tabs.Screen>in a screen file — it goes in the parent_layout.tsx. - ❌ Hardcoded route strings scattered everywhere → use typed routes (
expo-router/typed-routesprovides static checking).
Sources
- Course: codewithbeto.dev/rnCourse — lesson 11 "Navigation Basics" (free) + 1 free Expo Router lesson.
- Official: https://docs.expo.dev/router/introduction/
- Official: https://docs.expo.dev/router/reference/typed-routes/
What ships with it
8 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.
- references/concepts.md 2.6 KB
- references/decision-tree.md 1.5 KB
- references/deep-linking-setup.md 1.6 KB
- references/examples/.gitkeep 0 B
- references/examples/layout-with-tabs.tsx 1021 B
- references/examples/modal-route.tsx 1.2 KB
- references/examples/typed-search-params.tsx 1.0 KB
- references/patterns.md 2.4 KB
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.
- 8d ago First seen · 36 lines · 128 tokens per session scan A 07c56e047a38
rn-expo-router is a skill published in the GitHub repository lukedj78/dev-flow (6 stars, last pushed 2d ago), licensed MIT. It adds 128 tokens to every session and 610 once invoked, about $0.0006 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-31.
Other skills, from other repositories
writing-react-native-storybook-stories
Create and edit React Native Storybook stories using Component Story Format (CSF). Use when writing .stories.tsx files, adding stories to React Native components, configuring Storybook addons (controls, actions, backgrounds, notes), setting up argTypes, decorators, parameters, or working with portable stories for…
setup-react-native-storybook
Set up Storybook for React Native in Expo, React Native CLI, or Re.Pack projects. Use when adding Storybook to a project, configuring metro.config.js with withStorybook, creating .rnstorybook configuration files, setting up Storybook routes in Expo Router, configuring getStorybookUI, or adding the StorybookPlugin to a…
uniwind
Uniwind — Tailwind CSS v4 styling for React Native. Use when adding, building, or debugging components in a React Native project that uses Uniwind classNames. Covers setup, Metro config, global.css, theming, className props, accent- color props, platform/data/state/responsive variants, CSS variables, custom utilities…
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…
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…
rn-best-practices
This skill should be used when writing or reviewing React Native / Expo code — before writing list rendering, animations, data fetching, component APIs, navigation, or image/media UI — and when asked to "review best practices", "check performance", "optimize renders", "review list rendering", "check animation…