argent-metro-debugger

argent-metro-debugger is a skill for Claude Code, Codex from software-mansion/argent. It costs 50 tokens per session (2,609 once invoked), scanned A, original, Apache-2.0.

A JavaScript debugging skill that connects to running React Native apps through Metro or to Chromium-based apps through the Chrome DevTools Protocol. Metro is the development server commonly used by React Native.

In plain words
What is it for?
Use it to check debugger connections, evaluate JavaScript, inspect components and elements, reload Metro, view logs, and profile supported React Native or Chromium apps.
Why use it?
It provides a way to inspect runtime behavior and debug JavaScript while the app is running on supported devices or browsers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to check debugger connections, evaluate JavaScript, inspect components and elements, reload Metro, view logs, and profile supported React Native or Chromium apps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/software-mansion/argent/argent-metro-debugger
About the project

Argent is a toolkit that lets an AI assistant control and inspect iOS, Android, TV, Electron, and Chromium applications through simulators, emulators, physical devices, or desktop connections. It is for developers who want an agent to interact with interfaces, reproduce issues, test features, debug applications, or run profiling tasks. The catalogue add-ons expose Argent's device-control and development workflows to coding agents.

software-mansion/argent · 3,296 stars · on GitHub · argent.swmansion.com

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.

Any agent
npx skills add software-mansion/argent --skill argent-metro-debugger
Clone the repo
git clone --depth 1 https://github.com/software-mansion/argent

Made for: Claude Code, Codex.

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 argent-metro-debugger

README.md
[![agentmods](https://agentmods.dev/badge/skills/software-mansion/argent/argent-metro-debugger/github.svg)](https://agentmods.dev/skills/software-mansion/argent/argent-metro-debugger)
Your own site
<a href="https://agentmods.dev/skills/software-mansion/argent/argent-metro-debugger"><img src="https://agentmods.dev/badge/skills/software-mansion/argent/argent-metro-debugger/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 argent-metro-debugger

Your own site · 80×15
<a href="https://agentmods.dev/skills/software-mansion/argent/argent-metro-debugger"><img src="https://agentmods.dev/badge/skills/software-mansion/argent/argent-metro-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,609 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. Third-party audits
  • Socket pass 29 Nov 2026
  • Snyk warn 2 Dec 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Memory Poisoning · line 36
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Prompt Injection · line 36
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 43
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 50
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 52
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 55
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
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.00050 $0.02609
Opus 5.5 $0.00020 $0.01044
Sonnet 5.5 $0.00010 $0.00522
Haiku 4.5 $0.00005 $0.00261

Measured 3d ago against content hash 95e3ff1369ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

argent-metro-debugger 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 3d 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/skills/skills/argent-metro-debugger/SKILL.md · 91 lines

How it starts

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

1. Prerequisites

Physical iPhone: not supported; every debugger-* tool rejects kind: "device".

  • React Native (iOS / Android): Metro running (default localhost:8081) and the app connected to it. Verify with debugger-status.
  • Android: a physical device, a TV emulator, or a dev client that loads from localhost needs adb -s <serial> reverse tcp:<port> tcp:<port> (default 8081). If list-devices returns a note about the adb server, prefix the command as the note shows. Run it again after a reboot or an adb restart; Argent doesn't restore it. A bare RN app on a phone emulator uses 10.0.2.2 and doesn't need it; react-native run-android and expo run:android set it up themselves.
  • Vega (Fire TV): a Debug .vpkg (a Release build never attaches) and Metro reachable from the device (vega device start-port-forwarding --port 8081 --forward false). debugger-component-tree, debugger-inspect-element, debugger-reload-metro and the react-profiler-* / profiler-* tools are unavailable there; see references/vega.md of the argent-tv-interact skill.
  • Chromium (CDP): an Electron app booted with boot-device electronAppPath, or a Chromium browser exposing a CDP port (list-devices finds it). Pass its chromium-cdp-<port> id as device_id. Only debugger-connect, debugger-status, debugger-evaluate, debugger-log-registry, view-network-logs and view-network-request-details work there; the other debugger and profiler tools are React Native only.

2. Tools

Use the device_id from list-devices and keep the same ID and Metro port across calls. On shared Metro, if debugger-connect cannot match an iOS simulator UDID or Android serial, it lists logical IDs. Choose the requested device's logicalDeviceId for subsequent debugger calls. If you later tear down this session, include that ID in stop-all-simulator-servers's devices.

Tool Use for
debugger-status Diagnosing the connection. Call it first when anything fails
debugger-connect Opening the session and starting console capture
debugger-reload-metro Reloading the JS bundle of an attached app
restart-app Relaunching the app when it lost its Metro connection
debugger-component-tree Component names and testIDs on screen. Find tap targets with describe
debugger-inspect-element Which component is at a point and where it is defined (source file:line). Takes logical pixels, not normalized 0–1
debugger-log-registry Console log summary, the newest entries inline, and the log file path (§4)
debugger-evaluate Running a JS expression in the app runtime

Read the full file on GitHub · 91 lines

Files

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.

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. 3d ago Changed 95e3ff1369ed
  2. 7d ago Changed · -15 tokens per session 220d3a4cb49f
  3. 9d ago Changed · +9 tokens per session f5cac79c90a3
  4. 10d ago Changed · +10 lines 3e2f5b237161
  5. 11d ago Changed · +12 lines · -48 tokens per session b8a6f711a99d
  6. 13d ago Changed 233e10384aae
  7. 27d ago Changed · -66 lines 01feffbeebb4
  8. 1mo ago Changed b66be97beea5
  9. 1mo ago Changed a703938be4f1
  10. 1mo ago First seen · 135 lines · 104 tokens per session scan A 17f6c8fe44d8

Subscribe to this mod's changes

argent-metro-debugger is a skill published in the GitHub repository software-mansion/argent (3,296 stars, last pushed today), licensed Apache-2.0. It adds 50 tokens to every session and 2,609 once invoked, about $0.0002 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.

Related

argent-metro-debugger compared with skills from other repositories

argent-metro-debugger next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
argent-metro-debuggersoftware-mansion/argentSkill3.3ktodayApache-2.0A50Claude Code, Codex
react-native-docspledgeandgrow/pledge-skillsSkill114mo agoMITA97Claude Code, Codex
truesheet-usagelodev09/react-native-true-sheetSkill2.1ktodayMITA171Claude Code, Codex
react-nativeericrisco/rsc-harnessSkill7072d agoMITA90Claude Code, Codex
uniwinduni-stack/uniwindSkill1.8kyesterdayMITA130Claude Code, Codex
maui-performancedotnet/maui-labsSkill244todayMITA85Claude Code, Codex
maui-ui-patternsdotnet/maui-labsSkill244todayMITA82Claude Code, Codex