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 AndrewDongminYoo/rn-agents-kit --skill rn-metro-consolegit clone --depth 1 https://github.com/AndrewDongminYoo/rn-agents-kitWrote 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/andrewdongminyoo/rn-agents-kit/rn-metro-console)<a href="https://agentmods.dev/skills/andrewdongminyoo/rn-agents-kit/rn-metro-console"><img src="https://agentmods.dev/badge/skills/andrewdongminyoo/rn-agents-kit/rn-metro-console/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/andrewdongminyoo/rn-agents-kit/rn-metro-console"><img src="https://agentmods.dev/badge/skills/andrewdongminyoo/rn-agents-kit/rn-metro-console.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.01744 |
| Opus 5.5 | $0.00029 | $0.00698 |
| Sonnet 5.5 | $0.00014 | $0.00349 |
| Haiku 4.5 | $0.00007 | $0.00174 |
Grade A, and why
rn-metro-console 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 — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RN Metro Console — Read App Logs via Metro's CDP
Overview
Runs the bundled rn-console.mjs to collect a running RN app's console.log/info/warn/error output from Metro's Chrome DevTools Protocol (CDP) endpoint, and prints it for the agent to read.
It is bounded by default — it collects for a short window (or up to N logs) and then exits — so it never blocks the agent.
This is the log half of the verification loop; pair it with rn-device-capture (the screen) to confirm a change behaved at runtime.
It is read-only with respect to your source — it writes nothing, only prints.
When to Use
- "watch the logs", "tail the console", "did this
console.logfire?" - Verifying a fix by observing runtime behavior, without the DevTools GUI
adb logcatis unavailable (iOS) or too noisy
Prerequisites / Setup
- Metro running (
npm start/npx react-native start) onlocalhost:8081, with the app open and attached to Metro so a CDP target exists. - Run the helper from the project root so it can prefer the project's
wspackage and send Metro's requiredOriginheader. - Node ≥ 22 provides a built-in fallback when
wsis unavailable, but that fallback cannot sendOriginand may be rejected by a physical-device inspector target.
Quick Steps (read-only on source)
1 — Locate the helper
rn-console.mjs ships inside this skill's own directory, not in the user's project.
After install (marketplace plugin or a project .claude/skills/) the working directory is the user's RN app, where a path like skills/rn-metro-console/rn-console.mjs does not exist.
When this skill is active you are given its absolute base directory; resolve the helper from that path:
SKILL_DIR="<this skill's base directory>" # the absolute path provided when this skill loaded
2 — Capture (bounded)
Run from the user's project root so ws resolves when the project provides it, invoking the helper by its installed path:
node "$SKILL_DIR/rn-console.mjs" # collect ~10s, all levels
node "$SKILL_DIR/rn-console.mjs" --duration 5 # collect 5s then exit
node "$SKILL_DIR/rn-console.mjs" --max 30 # stop after 30 logs
node "$SKILL_DIR/rn-console.mjs" --level error # errors only
node "$SKILL_DIR/rn-console.mjs" --filter "Login" # substring filter
node "$SKILL_DIR/rn-console.mjs" --device "com.example.app" --preflight # print the selected target as JSON
node "$SKILL_DIR/rn-console.mjs" --device "iPhone 16 Pro" --preflight # disambiguate devices that share an app ID
What ships with it
2 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 · +4 lines 4f985a5a8e9d
- 2mo ago Changed · +4 lines 9ae2152847f5
- 2mo ago First seen · 113 lines · 72 tokens per session scan A d7b742e9dbbd
rn-metro-console is a skill published in the GitHub repository AndrewDongminYoo/rn-agents-kit (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 72 tokens to every session and 1,744 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-31.
rn-metro-console compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rn-metro-consoleAndrewDongminYoo/rn-agents-kit | Skill | 3 | yesterday | Apache-2.0 | A | 72 | Claude Code |
| argent-metro-debuggersoftware-mansion/argent | Skill | 3.2k | yesterday | Apache-2.0 | A | 104 | Claude Code, Codex |
| argent-react-native-optimizationsoftware-mansion/argent | Skill | 3.2k | yesterday | Apache-2.0 | A | 71 | Claude Code, Codex |
| audit-ppmpluginmicrosoft/power-platform-skills | Skill | 1.1k | yesterday | MIT | A | 112 | Claude Code |
| generate-ppmplugin-manifestmicrosoft/power-platform-skills | Skill | 1.1k | yesterday | MIT | A | 194 | Claude Code |
| argent-native-profilersoftware-mansion/argent | Skill | 3.2k | yesterday | Apache-2.0 | A | 37 | Claude Code, Codex |
| expoericrisco/rsc-harness | Skill | 503 | 2d ago | MIT | A | 79 | Claude Code, Codex |