React Native Logs CLI for Openclaw

A lightweight CLI tool for reading React Native Metro logs via CDP, designed for seamless integration with Openclaw Skills.

okwasniewski
v1.0.1
Feb 24, 2026
2
1.5k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install react-native-logs-cli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install react-native-logs-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is React Native Logs CLI?

React Native Logs CLI is a specialized utility designed to bridge the gap between running React Native applications and AI-driven development environments. By leveraging the Chrome DevTools Protocol (CDP), this tool allows for the direct extraction of Metro logs without the performance overhead associated with more complex protocols. It is an essential component for developers looking to enhance their Openclaw Skills with real-time mobile debugging capabilities.

The tool is specifically optimized for non-interactive environments, ensuring that the output is delivered as clean, plain text. This makes it incredibly easy for automated agents to parse logs, identify errors, and suggest fixes without getting bogged down by interactive UI elements or unnecessary formatting.

React Native Logs CLI Use Cases

  • Debugging live React Native applications running on simulators or physical devices.
  • Capturing log snapshots for AI agents to analyze crash reports and state changes.
  • Monitoring Metro logs in automated CI/CD pipelines or non-interactive agent runs.
  • Reducing context overhead in Openclaw Skills by fetching only the most relevant log entries.

How React Native Logs CLI Works

  1. Ensure the React Native Metro bundler is active and the application is running on a simulator or device.
  2. Use the CLI to list all connected app instances to identify the correct target.
  3. Initiate a log stream or snapshot using the CDP connection to capture console output directly from the runtime.
  4. Process the plain-text output within your development workflow or pass it to Openclaw Skills for automated troubleshooting.

React Native Logs CLI Setup

Install the package globally using your preferred package manager:

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

Verify that the tool is accessible in your PATH:

rn-logs --help

React Native Logs CLI Data Schema & Taxonomy

Data Point Detail
Connection Protocol Chrome DevTools Protocol (CDP)
Default Port 8081 (Metro)
Output Format Plain Text (Agent-friendly)
Configuration Supports custom --host and --port flags
Filtering Targeted log streaming via --app ID or Name

React Native Logs CLI Advanced Features

  • Support for log snapshotting using the --limit flag to prevent context window saturation.
  • Native compatibility with non-interactive execution modes for headless agent operation.
  • Low-latency CDP communication that bypasses standard MCP overhead for faster feedback loops.
  • Flexible host and port configuration to support complex network setups and Openclaw Skills integrations.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*