Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add Lykhoyda/rn-dev-agent/plugin install rn-dev-agentWrote 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/commands/lykhoyda/rn-dev-agent/doctor)<a href="https://agentmods.dev/commands/lykhoyda/rn-dev-agent/doctor"><img src="https://agentmods.dev/badge/commands/lykhoyda/rn-dev-agent/doctor/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.
<a href="https://agentmods.dev/commands/lykhoyda/rn-dev-agent/doctor"><img src="https://agentmods.dev/badge/commands/lykhoyda/rn-dev-agent/doctor.svg" alt="Reviewed on agentmods" width="80" 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.00072 | $0.01806 |
| Opus 5.5 | $0.00029 | $0.00722 |
| Sonnet 5.5 | $0.00014 | $0.00361 |
| Haiku 4.5 | $0.00007 | $0.00181 |
Grade A, and why
doctor 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Run the environment-diagnostic checklist from the rn-setup skill. Walk all 18 prerequisite checks (Node.js version, CDP bridge dependencies, rn-fast-runner build (iOS), rn-android-runner build/install (Android), maestro-runner, learned-action compatibility, iOS simulator, Android emulator, Metro dev server, CDP connection, injected __RN_AGENT helpers, ffmpeg, idb (screen-mirror fast path), physical-device prerequisites, plugin version freshness, Vercel rules sync freshness, CDP auto-reconnect mode, linked-worktree action inheritance) and surface install commands for any missing dependencies.
iOS device automation is owned by the in-tree rn-fast-runner XCTest project (D1219, PR #164); Android device automation is owned by the in-tree rn-android-runner (UiAutomator instrumentation). These in-tree runners are the sole device backend — there is no external CLI to install. Mark rn-android-runner as N/A on iOS-only setups and rn-fast-runner as N/A on Android-only / non-macOS setups. If a device tool fails with RUNNER_PROTOCOL_MISMATCH, the installed/prebuilt runner artifact predates the plugin's wire protocol: on iOS delete packages/rn-fast-runner/build/DerivedData and re-open the device session (or re-run xcodebuild build-for-testing); on Android re-run ./gradlew :app:assembleDebug :app:assembleDebugAndroidTest and adb install -r both APKs.
This command is read-only. It diagnoses the current environment and recommends fixes. It does NOT modify any files in the user's project, inject documentation, or instrument source code.
Present results as an 18-row table. Follow the detailed probes and remediation
rules in rn-setup; do not infer runner provenance, helper availability, or
auto-reconnect configuration from passive cdp_status.
For iOS replay compatibility, also run the packaged maestro-runner-pin.js diagnose --json
report. State the proof-domain split: exact React testIDs use react-tree; native/system
selectors use xctest-native. A runtime-version heuristic is diagnostic context only and
never proof of blindness. Report NATIVE_SURFACE_BLIND only when the replay includes the
bounded same-screen native-selector evidence; otherwise preserve the ordinary selector miss.
The supported next action is the central native WDA smoke on a WDA-healthy runtime.
For learned-action compatibility, resolve the RN app root and run the packaged maestro-runner-pin.js diagnose-actions --root <app> --json. Print one table row with scanned, compatible, and the enginePin / regexSelector / unreadable counts plus those action ids. A pinned-ok runner with any of those refusals is FAIL (or YELLOW when the only findings are unreadable), never silent GREEN. Inherited symlink corpora may be scanned. Never run migrate-actions, rewrite an action, print a YAML body, or print a private inherit source path from doctor.
For linked-worktree action inheritance, resolve the RN app root and run the packaged worktree-inheritance.js plan --host claude --app-root <app> --json. Report .rn-agent/actions as tracked, inherited, missing, explicit-legacy-repair-needed, unsafe, or refused. Also report hook status. Never apply, repair, install a hook, print a private source path, or inspect an action body from doctor.
For idb, require both a healthy idb --help and idb_companion; an active
install PID is INSTALLING. A client on PATH whose idb --help fails is BROKEN,
not MISSING — report it as installed but not responding, naming the Python 3.14
interpreter incompatibility as the probable cause rather than a certainty (the
probe cannot separate a crash from a timeout or EACCES), and give the pinned
repair command, never a bare pipx install fb-idb. On a machine with no
supported interpreter, prefix that command with brew install [email protected] &&.
Otherwise report MISSING and the documented install command. This row is YELLOW
because mirroring has a screenshot fallback.
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.
- 2mo ago Changed · +2 lines · +4 tokens per session 6b54daf055ff
- 2mo ago Changed 963f969354ba
- 2mo ago Changed · +2 lines 905d20dddffa
- 2mo ago Changed · +3 lines c91702d366f1
- 3mo ago First seen · 69 lines · 68 tokens per session scan A 16c6d47a02b1
doctor is a command published in the GitHub repository Lykhoyda/rn-dev-agent (20 stars, last pushed 1mo ago), licensed MIT. It adds 72 tokens to every session and 1,806 once invoked, about $0.0003 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.
doctor compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| doctorLykhoyda/rn-dev-agent | Command | 20 | 1mo ago | MIT | A | 72 | Claude Code |
| dashboard-list-modelsBlackBeltTechnology/pi-agent-dashboard | Command | 357 | today | MIT | A | 18 | Claude Code |
| dashboard-flow-autoBlackBeltTechnology/pi-agent-dashboard | Command | 357 | today | MIT | A | 19 | Claude Code |
| dashboard-session-abort-allBlackBeltTechnology/pi-agent-dashboard | Command | 357 | today | MIT | A | 16 | Claude Code |
| dashboard-session-diffBlackBeltTechnology/pi-agent-dashboard | Command | 357 | today | MIT | A | 31 | Claude Code |
| dashboard-server-tunnel-offBlackBeltTechnology/pi-agent-dashboard | Command | 357 | today | MIT | A | 13 | Claude Code |
| dashboard-session-renameBlackBeltTechnology/pi-agent-dashboard | Command | 357 | today | MIT | A | 18 | Claude Code |