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 Lykhoyda/rn-dev-agent --skill rn-debugginggit clone --depth 1 https://github.com/Lykhoyda/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/skills/lykhoyda/rn-dev-agent/rn-debugging)<a href="https://agentmods.dev/skills/lykhoyda/rn-dev-agent/rn-debugging"><img src="https://agentmods.dev/badge/skills/lykhoyda/rn-dev-agent/rn-debugging/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/skills/lykhoyda/rn-dev-agent/rn-debugging"><img src="https://agentmods.dev/badge/skills/lykhoyda/rn-dev-agent/rn-debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00123 | $0.03171 |
| Opus 5.5 | $0.00049 | $0.01268 |
| Sonnet 5.5 | $0.00025 | $0.00634 |
| Haiku 4.5 | $0.00012 | $0.00317 |
Grade A, and why
rn-debugging 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.
How it starts
The opening of the file, as written. The whole thing — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.
rn-debugging — CDP Usage, Error Identification, and Connection Troubleshooting
How to diagnose problems in React Native apps using the CDP MCP server, native device logs, and bash tools.
CDP vs Bash Decision Table
| What you need to know | Tool | Command / MCP call |
|---|---|---|
| Is Metro running? | MCP | cdp_status |
| Is app showing a crash (JS)? | MCP | cdp_error_log |
| Is app showing a crash (native)? | MCP | collect_logs(sources=["native_ios"]) or collect_logs(sources=["native_android"]) |
| Unified JS + native logs? | MCP | collect_logs(sources=["js_console","native_ios"], durationMs=3000) |
| What screen is the user on? | MCP | cdp_navigation_state |
| What does the component render? | MCP | cdp_component_tree(filter="MyComponent") |
| What is in the store? | MCP | cdp_store_state(path="cart.items") |
| What API calls were made? | MCP | cdp_network_log(limit=10) |
| What did console.log output? | MCP | cdp_console_log(level="all") |
| Is there a RedBox overlay? | MCP | cdp_component_tree (auto-detects and warns) |
| Dismiss RedBox / toggle inspector | MCP | cdp_dev_settings(action="dismissRedBox") |
| Is Metro bundler alive? | MCP | cdp_status |
| Is a specific element on screen? | MCP | device_find(text="element") or Maestro assertVisible |
| Tap an element by text or ref | MCP | device_find(text="Login", action="click") or device_press(ref="@e3") |
| Fill a text input | MCP | device_fill(ref="@e5", text="hello") |
| What are all UI elements? | MCP | device_snapshot (cross-platform accessibility tree with @refs) |
| What are all UI elements' positions? | bash | adb shell uiautomator dump (Android only, raw XML) |
| Arbitrary runtime value | MCP | cdp_evaluate(expression="...") |
Key rule: If cdp_error_log is empty but the app is visibly broken, the
problem is native. CDP only sees JavaScript — check native logs as fallback.
Error Types Matrix
| Error Type | Where to Find It | Tool |
|---|---|---|
| JS runtime error (throw, TypeError) | cdp_error_log |
MCP |
| Unhandled promise rejection | cdp_error_log |
MCP |
| Uncaught error overlay (RedBox) | cdp_component_tree (APP_HAS_REDBOX warning) |
MCP |
console.error() call |
cdp_console_log(level="error") |
MCP |
| Metro bundle syntax error | cdp_metro_events |
MCP |
| Native crash (iOS) | collect_logs(sources=["native_ios"], logLevel="error") |
MCP |
| Native crash (Android) | collect_logs(sources=["native_android"], logLevel="error") |
MCP |
| Cross-layer crash diagnosis | collect_logs(sources=["js_console","native_ios"], durationMs=3000, logLevel="error") |
MCP |
| Network failure | cdp_network_log (look for status=0 or missing status) |
MCP |
What ships with it
3 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.
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.
- 1mo ago Changed 9cc9bbc5e5e1
- 1mo ago First seen · 227 lines · 123 tokens per session scan A e5585624e5ec
rn-debugging is a skill published in the GitHub repository Lykhoyda/rn-dev-agent (20 stars, last pushed today), licensed MIT. It adds 123 tokens to every session and 3,171 once invoked, about $0.0005 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.
Other skills, from other repositories
ci-troubleshoot
Diagnose failed GitHub Actions runs for pi-agent-dashboard: the 11-file workflow taxonomy, affected-test selection, the release pipeline, known failure modes, and how to read gh run logs and retrigger jobs. Use when a CI run is red, a release is stuck, a workflow won't dispatch, or you need to know which workflow does…
node-inspect-debugger
See runtime state a console.log cannot reach — set real breakpoints, step, and dump the scope chain of a paused Node/TypeScript process. Use on "set a breakpoint", "inspect runtime state", "console.log isn't enough", "step through this", "what's in this closure at runtime", "attach a debugger". Not a logging or…
performance-optimization
Measure-first performance work. Use on triggers like "it's slow", "profile this", "optimize perf", "fix the bottleneck", "improve load time / Core Web Vitals", or when a measured regression needs fixing. Enforces measure-before-optimize. Fills a perf gap not covered by existing project skills. Not a build/ship…
systematic-debugging
Root-cause a bug already in front of you, instead of guessing at fixes. Use on triggers like "root cause this", "why is this failing", "debug systematically", "this test is flaky", "it works locally but not in CI", or when a fix attempt has already failed once. Enforces a phased evidence-first process before any code…
debug-dashboard
Diagnose problems in the running pi-agent-dashboard system: server.log, /api/health, bridge WebSocket connectivity, vitest triage, known-issue FAQ entries. Routes UI/visual issues to the browser skill. Use when the server seems hung, a pi session won't connect, tests fail mysteriously, the dashboard shows a blank…
canvas-webapp
Render a React/Vite (or any bundled) web app on the pi-dashboard canvas, which loads loopback URLs in a sandboxed opaque-origin iframe. Use when a canvas(target:{kind:"url"|"server"}) target shows up blank white, an empty surface, or a /live/ 500 ECONNREFUSED. Covers why Vite dev servers and non-CORS static servers…