using-rn-dev-agent

An entry guide for the rn-dev-agent, a development add-on for building and testing React Native apps. React Native is a way to create mobile apps with JavaScript and native phone components.

In plain words
What is it for?
Use it at the beginning of React Native work, such as building a feature, testing an app, fixing a crash, or getting help with the development workflow.
Why use it?
It helps choose the appropriate command, agent, or tool for a development request instead of starting with the wrong part of the add-on.

Skill for Claude CodeCodex

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

Made for: Claude Code, Codex.

Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,383 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00092 $0.05383
Opus 5 $0.00046 $0.02691
Sonnet 5 $0.00018 $0.01077
Haiku 4.5 $0.00009 $0.00538

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

Security

Grade A, and why

using-rn-dev-agent 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 2d 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/skills/using-rn-dev-agent/SKILL.md · 370 lines

How it starts

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

Using rn-dev-agent

The React Native development plugin for Claude Code and Codex. 5 agents, 16 commands, 11 skills, and an MCP tool suite for live app work.

This skill is your front door. Before starting any RN work, use the decision tree below to route the user's intent to the right tool.


Host Surface Map

  • Claude Code local development points at the repository root with claude --plugin-dir /path/to/rn-dev-agent; the root .claude-plugin/marketplace.json resolves the package at packages/claude-plugin/. The Claude package owns slash commands in commands/, Claude subagents in agents/, hooks in hooks/, skills in skills/, and the cdp MCP server.
  • Codex local development points at /path/to/rn-dev-agent/packages/codex-plugin. Codex loads .codex-plugin/plugin.json, package-local shared skills in skills/, and the same cdp MCP server from .mcp.json. Claude slash commands, subagents, and hooks are not native Codex surfaces; treat commands/*.md and agents/*.md as playbooks to execute inline. No plugin hooks in Codex is expected.
  • Keep the MCP server key named cdp in both manifests. Older sessions and docs assume this stable key.

Codex translation rule: when this skill routes to /rn-dev-agent:<command>, load the matching skill or command Markdown and run the underlying steps directly. For action inventory, the slash command wraps:

node <plugin-root>/rn-dev-agent-core/dist/learned-actions.js --json --filter "<keyword>"

(<plugin-root> = ${CLAUDE_PLUGIN_ROOT} on Claude, the Codex package root on Codex — the bundled runtime lives INSIDE the installed package.)

For action replay, prefer the MCP tool cdp_run_action after the same pre-flight checks documented in commands/run-action.md.


Decision Tree

What is the user asking for?
│
├── INVENTORY of reusable actions ("what's already automated for this?")
│   └─► /rn-dev-agent:list-learned-actions [keyword]
│       (Scans feedback memories + .rn-agent/actions/ + .rn-agent/skeleton.yaml.
│        ALWAYS run this BEFORE any device_* sequence — replay an
│        existing flow instead of recomposing primitives manually.
│        See feedback_execute_artifacts_before_manual.md.)
│
├── REPLAY a learned action (Maestro flow)
│   └─► /rn-dev-agent:run-action <name> [-e KEY=VALUE …] [--platform ios|android]
│       (Counterpart to list-learned-actions: list discovers, run executes.
│        Pre-flights mutates flag, appId match, parameter coverage. Use to
│        skip a 7-min manual walk when a 23-sec flow already exists.)
│
├── CREATE a new reusable action ("save this flow", "make this replayable")
│   └─► Load the creating-actions skill
│       (Inventory-dedup first, ground selectors in evidence, ASCII flow
│        diagram, M7 header, validate, then replay to promote. Covers both
│        the recorder path and direct YAML authoring.)
│
├── BUILD a new feature / "add X to the app"
│   └─► /rn-dev-agent:rn-feature-dev <description>
│       (8-phase pipeline — see rn-feature-development skill)
│
├── TEST an existing feature
│   └─► /rn-dev-agent:test-feature <description>
│       (Runs rn-tester protocol INLINE in parent session — MCP tools required.
│        Step 0 is automatic artifact-first scan via list-learned-actions.)
│
├── BUILD + TEST (app not yet installed)
│   └─► /rn-dev-agent:build-and-test <description>
│       (Builds app via Expo/EAS, installs, starts Metro, then runs tester protocol inline)
│
├── Something is BROKEN on the current screen
│   └─► /rn-dev-agent:debug-screen
│       (Runs rn-debugger protocol INLINE in parent session — MCP tools required)
│
├── Plugin tools not working / environment broken
│   └─► /rn-dev-agent:setup
│       (13-check environment diagnostic with auto-retry + manual fallback,
│        then CLAUDE.md/nav-ref/store-exposure injection)
│
├── DIAGNOSE the environment (read-only, no changes)
│   └─► /rn-dev-agent:doctor
│       (Same 13-check diagnostic as setup Phase 1 — reports, never modifies)
│
├── Need PROOF for a PR ("record a demo", "capture proof", "PR video")
│   └─► Load the capturing-proof skill (or run /rn-dev-agent:proof-capture <feature-slug>)
│       (Rehearsal-gated video + screenshots + generated PR body)
│
├── FREEZE a verified action into a locked regression test
│   └─► /rn-dev-agent:lock-e2e <action-name>
│       (Strict no-repair run via cdp_lock_e2e_test, freezes to .rn-agent/e2e/;
│        the frozen suite runs via cdp_run_e2e_suite. For login, this is the
│        formal PR proof on the exact candidate; cdp_login_prologue is not.)
│
├── Watch tool activity live in a browser ("observability UI")
│   └─► /rn-dev-agent:observe
│       (Shows the observe web UI URL; stop/restart the server)
│
├── Audit project rules sync (Vercel rules)
│   └─► /rn-dev-agent:check-vercel-rules
│
├── REPORT a plugin bug / send feedback
│   └─► Load `sending-feedback` (or run /rn-dev-agent:send-feedback in Claude)
│       (Sanitized environment context → GitHub issue, user-confirmed)
│
├── Understand an existing feature (read, don't write)
│   └─► Spawn rn-code-explorer via Task tool (read-only, safe to spawn)
│       (Maps screens, state, navigation, testIDs, patterns)
│
├── Design architecture before implementing
│   └─► Spawn rn-code-architect via Task tool (read-only, safe to spawn)
│       (Fable-powered blueprint with testID placement + proof flow)
│
├── Review code before merging
│   └─► Spawn rn-code-reviewer via Task tool (read-only, safe to spawn)
│       (Confidence-filtered review, RN conventions + best practices)
│
├── About to start a real device journey (build / test / proof, end to end)
│   └─► /rn-dev-agent:run-workflow [journey-description]
│       (Loads the rn-workflow skill: declared package manager + deps,
│        read-only inventory, typed session recovery, one exclusive device,
│        managed integration/Metro, only the requested proof, reverse cleanup)
│
├── Just check if environment is ready
│   └─► /rn-dev-agent:check-env
│       (Quick cdp_status check, no setup attempt)
│
└── Extract the navigation graph
    └─► /rn-dev-agent:nav-graph
        (Maps all screens and navigators)

Read the full file on GitHub · 370 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. 2d ago First seen · 370 lines · 92 tokens per session scan A 3fe5f8ec7378

Subscribe to this mod's changes

using-rn-dev-agent is a skill published in the GitHub repository Lykhoyda/rn-dev-agent (11 stars, last pushed 2d ago), licensed MIT. It adds 92 tokens to every session and 5,383 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

skill-packager

Authors Agent Skills v1.0 packages (SKILL.md plus references/scripts), runs packageskill to produce a standards-compliant zip, and uses installskill to add skills from HTTPS, registry, workspace, or an uploaded archive. Use when the user wants to turn documentation, workflows, or code into a portable skill, export a…

vixues/LeAgent · 87 tokens

document-processor

Guidance for processing documents, extracting content, and transforming structured information. Use when the user asks to process, parse, extract, or transform document content such as PDFs, Word files, or spreadsheets.

vixues/LeAgent · 44 tokens

workflow-helper

Guidance for creating, managing and executing workflow automations that chain multiple tools and agents together. Use when the user asks about building, listing, running or composing workflows and automated task pipelines.

vixues/LeAgent · 41 tokens

attendance-signin-sheet

Generate printable attendance / 签到表 spreadsheets from name lists. Use when the user asks for 签到表, attendance sheet, meeting sign-in table, or similar printable roster tables (not full payroll attendance scoring unless asked).

vixues/LeAgent · 51 tokens

data-analyzer

Guidance for analyzing structured data, generating statistics and producing data-driven insights. Use when the user asks to analyze data, compute statistics, find patterns, or generate analytical reports.

vixues/LeAgent · 39 tokens

procurement-audit

Review procurement contracts and purchase packages against uploaded compliance rules (招标/采购制度). Use for 采购审核, contract compliance checklists, or procurement statistics rollups.

vixues/LeAgent · 39 tokens