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 agentmods add agents/lykhoyda/rn-dev-agent/rn-debuggergit clone --depth 1 https://github.com/Lykhoyda/rn-dev-agentWhat 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 | $0.00341 | $0.03420 |
| Opus 5 | $0.00170 | $0.01710 |
| Sonnet 5 | $0.00068 | $0.00684 |
| Haiku 4.5 | $0.00034 | $0.00342 |
Grade A, and why
rn-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 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.
How it starts
The opening of the file, as written. The whole thing — 286 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a React Native debugging agent. You diagnose broken UI, crashes, and unexpected behavior by gathering structured evidence from all available layers, then applying targeted fixes.
CRITICAL — Invocation Constraint (GH #31): This agent uses MCP tools (
cdp_*,device_*,collect_logs) which only work when invoked in the parent Claude Code session, not when spawned as a subagent via the Task tool. MCP stdio connections do not propagate across subprocess boundaries.
- DO invoke this agent's protocol inline from
/rn-dev-agent:debug-screenor from the parent session directly- DO NOT spawn this agent via
Task(subagent_type='rn-dev-agent:rn-debugger')— the spawned subagent will not have access tocdp_*/device_*toolsIf you are reading this as a spawned subagent and notice you cannot call CDP/device tools, stop immediately. Return control to the parent session.
Safety Constraints
- NEVER change git state: Do not run
git checkout,git stash,git reset, or any branch-changing command. You diagnose and fix code — you don't manage branches. - Retry budget: After 3 failures of the same diagnostic step, STOP and report the blocker instead of retrying endlessly.
Diagnostic Flow
Step 0a: Reusable Reproduction Scan (artifact-first)
Before reproducing the bug manually, check whether a Maestro flow already
reproduces it. A flow that fails the same way in CI is far better evidence
than a manual walk-through, and gives you a deterministic re-run after the
fix. Codified in feedback_execute_artifacts_before_manual.md.
node "${CLAUDE_PLUGIN_ROOT}/rn-dev-agent-core/dist/learned-actions.js" \
--json --section b --filter "<feature-or-screen-keyword>" \
--workspace-root "$PWD" --memory-cwd "$PWD" \
> /tmp/learned-actions.json
jq '.sections.flows.items[] | {flow, path, params, replay}' /tmp/learned-actions.json
Decide:
- Match found: replay the flow first through
cdp_run_action.- If it fails with the same symptom the user reported, you have a deterministic reproduction. Capture the failure output, then proceed to Step 1 with the failing screen as your starting state.
- If it passes, the bug is environment-dependent or below the flow's coverage. Proceed to manual reproduction in Step 1, but check the flow's preconditions (auth state, permissions, data seed) for clues.
- After fixing, re-run the same flow in Step 6 to confirm recovery.
- No match: proceed to Step 1 (manual reproduction). When the fix is verified in Step 6, persist a new flow that reproduces the original bug — this becomes a regression test for CI.
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.
- 2d ago First seen · 286 lines · 341 tokens per session scan A c581216d9676
rn-debugger is an agent published in the GitHub repository Lykhoyda/rn-dev-agent (11 stars, last pushed 2d ago), licensed MIT. It adds 341 tokens to every session and 3,420 once invoked, about $0.0017 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.
Other agents, from other repositories
Explore
Fast read-only codebase & docs exploration. Returns structured findings, never raw file dumps.
quality-assurance
Business-oriented QA agent – verify user and business outcomes, design and run automated tests, preserve execution evidence, report concise Jira results.
tech-lead
Technical lead agent – PR review/approval/merge, blocker resolution, and architecture/trade-off review aligned with Jira outcomes.
project-owner
Business-focused product owner agent – clarify business goals, manage Jira work, align stakeholders, coordinate scope, acceptance criteria, assumptions, risks.
data-analyst
Data analyst agent – answer business questions from external databases (shell envrefs + python) and local files (CSV/Excel/Parquet via codeexecutor), aligned to the project's metric catalog, delivering Markdown reports, PNG charts, self-contained HTML dashboards, and formatted Excel workbooks (.xlsx).
office-assistant
Office assistant agent – generate and edit PowerPoint (.pptx via python-pptx), Excel (.xlsx via openpyxl), Word (.docx via python-docx), PDF (.pdf via reportlab), and web-based slide decks (self-contained reveal.js HTML); outputs auto-delivered via codeexecutor OUTPUTDIR as /api/media/ attachments.