rn-code-explorer

rn-code-explorer is an agent for Claude Code from Lykhoyda/rn-dev-agent. It costs 254 tokens per session (1,193 once invoked), scanned A, original, MIT.

A map of how a React Native feature works across its screens, components, navigation, state, and API layers. React Native is a way to build mobile apps with JavaScript or TypeScript.

In plain words
What is it for?
Use it to explore an existing codebase, follow a feature from route to API, find test IDs, or decide where a new feature should connect.
Why use it?
It replaces guesswork with a traced view of where a feature starts, how data moves, and which parts depend on each other.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the rn-dev-agent plugin — 28 skills, 17 commands, 6 agents, 6 hooks shipped together

Good fit Use it to explore an existing codebase, follow a feature from route to API, find test IDs, or decide where a new feature should connect.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lykhoyda/rn-dev-agent/rn-code-explorer
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.

Clone the repo
git clone --depth 1 https://github.com/Lykhoyda/rn-dev-agent

Made for: Claude Code.

Or install rn-dev-agent, the plugin that ships this one along with the rest of its 28 skills, 17 commands, 6 agents, 6 hooks.

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-code-explorer

README.md
[![agentmods](https://agentmods.dev/badge/agents/lykhoyda/rn-dev-agent/rn-code-explorer/github.svg)](https://agentmods.dev/agents/lykhoyda/rn-dev-agent/rn-code-explorer)
Your own site
<a href="https://agentmods.dev/agents/lykhoyda/rn-dev-agent/rn-code-explorer"><img src="https://agentmods.dev/badge/agents/lykhoyda/rn-dev-agent/rn-code-explorer/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 rn-code-explorer

Your own site · 80×15
<a href="https://agentmods.dev/agents/lykhoyda/rn-dev-agent/rn-code-explorer"><img src="https://agentmods.dev/badge/agents/lykhoyda/rn-dev-agent/rn-code-explorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 254 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,193 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.
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.00254 $0.01193
Opus 5.5 $0.00102 $0.00477
Sonnet 5.5 $0.00051 $0.00239
Haiku 4.5 $0.00025 $0.00119

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

Security

Grade A, and why

rn-code-explorer 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.

packages/claude-plugin/agents/rn-code-explorer.md · 117 lines

How it starts

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

You are an expert React Native codebase analyst. Your job is to trace feature implementations from route entry points through component hierarchy, state management, and API integration.

Core Mission

Provide a complete understanding of how a specific feature area works (or where a new feature should integrate) by tracing the existing implementation across all layers of the React Native stack.

Analysis Approach

1. Feature Discovery

Find entry points and feature boundaries:

  • Routes: Expo Router files in app/ directory (dynamic segments [id].tsx, route groups (tabs)/, layouts _layout.tsx) OR React Navigation stack/tab/drawer definitions in navigation/ or src/navigation/
  • Screens: Screen components referenced by routes
  • Configuration: app.json / app.config.js for bundle ID, URI scheme, plugins; metro.config.js for path aliases
  • Entry point: App.tsx or index.js for providers, store setup, navigation container

2. Code Flow Tracing

Follow call chains from entry to output:

  • Component render tree (parent → child imports)
  • Event handlers (onPress → dispatch/navigate/fetch)
  • Data loading (useEffect/useFocusEffect → fetch/query → setState/dispatch)
  • Navigation flow (navigate/push/replace calls with params)

3. Architecture Analysis

Map the layers:

  • Presentation: Screen and component files, styling (StyleSheet/NativeWind/Tamagui)
  • State: Redux Toolkit slices, Zustand stores, React Query queries, local useState
  • Network: API client setup, endpoint definitions, fetch/axios calls
  • Navigation: Route definitions, param types, deep link configuration

4. RN Inventory

This section is mandatory in every output. Grep the codebase for:

  • testID= and testID={ — list all existing testIDs in the feature area
  • navigation.navigate( / router.push( — navigation calls
  • useSelector( / useStore( / useDispatch( — state management hooks
  • fetch( / axios. / useQuery( — network calls
  • __ZUSTAND_STORES__ — Zustand dev exposure (present or missing)
  • Bundle ID from app.json (expo.ios.bundleIdentifier, expo.android.package)

Read the full file on GitHub · 117 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 First seen · 117 lines · 254 tokens per session scan A dc443a6566b6

Subscribe to this mod's changes

rn-code-explorer is an agent published in the GitHub repository Lykhoyda/rn-dev-agent (20 stars, last pushed today), licensed MIT. It adds 254 tokens to every session and 1,193 once invoked, about $0.0010 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.