react-native-logs-cli

Use rn-logs to read React Native Metro logs via CDP without MCP overhead. Default output is plain text and safe for non-interactive agent runs.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "react-native-logs-cli" with this command: npx skills add okwasniewski/react-native-logs-cli/okwasniewski-react-native-logs-cli-react-native-logs-cli

rn-logs cli

Use rn-logs to read React Native Metro logs via CDP without MCP overhead. Default output is plain text and safe for non-interactive agent runs.

When to use

  • You need live Metro logs from a running RN app
  • You want low-context, plain text log output

Installation

npm install -g rn-logs-cli
bun add -g rn-logs-cli

Then verify:

rn-logs --help

Requirements

  • rn-logs is installed and available in PATH
  • Metro is running
  • App is running on a simulator or device

Core workflow

# 1. List connected apps
rn-logs apps

# 2. Stream logs
rn-logs logs --app "<id|name>"

# 3. Snapshot logs
rn-logs logs --app "<id|name>" --limit 50

Command options

# Changing default port or host
rn-logs "[command]" --host "<host>"    # Metro host (default: localhost)
rn-logs "[command]" --port "<port>"    # Metro port (default: 8081)

rn-logs help

Non-interactive mode

  • When multiple apps are connected, you must pass --app.
  • Output is plain text for agent-friendly consumption.

Common failures

  • metro not reachable -> start Metro or fix host/port
  • no apps connected -> run app on simulator or device
  • multiple apps connected -> pass --app

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

agent-device

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

clawhub-install

Download and install skills from ClawHub directly via curl, bypassing official CLI rate limits. Use when the user wants to install one or more ClawHub skills...

Registry SourceRecently Updated
0199
upupc
Coding

Homebrew Bridge

Expose Mac Homebrew tools like brew, gh, and other /opt/homebrew/bin CLIs on a Linux OpenClaw gateway by installing explicit same-LAN SSH wrappers with optio...

Registry SourceRecently Updated