← 返回 Skills 市场
okwasniewski

React Native Logs

作者 Oskar Kwaśniewski · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
531
总下载
2
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install 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.
安全使用建议
This skill is coherent with its description: it tells you to install and run rn-logs-cli to stream Metro logs. Before installing or running: 1) verify the rn-logs-cli package (author, npm page, repository) because global npm/bun installs execute third‑party code and can require elevated privileges; 2) prefer using npx or a local (non-global) install or a disposable container if you don't trust the package; 3) be aware the tool connects to Metro (default localhost:8081) and to any simulator/device you have running; and 4) ensure you only run it in an environment where accessing device logs is permitted. If you want a tighter review, provide the npm package URL or repository so I can check the package source and maintainer details.
功能分析
Type: OpenClaw Skill Name: react-native-logs-cli Version: 1.0.1 The skill bundle instructs the agent to install and execute an external CLI tool (`rn-logs-cli`) using `npm install -g` and `bun add -g` commands, and then to run `rn-logs` commands with user-provided arguments (e.g., `--app "<id|name>"`, `--host "<host>"`). While the stated purpose is benign (reading React Native logs), the reliance on installing and executing external binaries, especially with user-controlled input passed to shell commands, introduces a supply chain risk and a potential shell injection vulnerability if the agent or the `rn-logs` tool itself does not adequately sanitize inputs. This is classified as suspicious due to these inherent risks and potential attack surface, rather than clear malicious intent within the skill's instructions.
能力评估
Purpose & Capability
Name/description (read Metro logs via CDP) align with the runtime instructions (install and run rn-logs-cli and use rn-logs apps/logs). Nothing requested or instructed is outside the stated purpose.
Instruction Scope
Instructions stay within the tool's scope (list/stream/snapshot logs from Metro). They ask the agent/operator to install and run the rn-logs binary and to connect to Metro (host/port). They do not ask to read unrelated files, environment variables, or external endpoints beyond the Metro host. Note: the SKILL.md instructs global npm/bun installs, which are operational actions with side effects (package code execution) that the user should be aware of.
Install Mechanism
The skill is instruction-only (no install spec in the manifest). SKILL.md recommends 'npm install -g rn-logs-cli' or 'bun add -g rn-logs-cli' which pulls code from the public npm/bun registries; this is a normal but moderate-risk action because it runs third-party code on install and may require elevated permissions for global installs.
Credentials
No environment variables, credentials, or config paths are requested in the manifest or the instructions. The commands use host/port flags (defaults to localhost:8081) which are appropriate for connecting to Metro.
Persistence & Privilege
always is false and the skill does not request persistent system modifications or access to other skills' configurations. It simply instructs installing and running a CLI tool when needed.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install react-native-logs-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /react-native-logs-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added installation instructions for npm and bun. - Clarified requirements by specifying that `rn-logs` must be installed and available in PATH.
v1.0.0
Initial release of react-native-logs-cli. - Stream or snapshot Metro logs from React Native apps using rn-logs, directly via CDP. - Delivers plain text output, suitable for both interactive and non-interactive agent scenarios. - Supports app listing and log retrieval by app ID or name. - Customizable host and port options for connecting to Metro. - Robust error handling for common connection and usage issues.
元数据
Slug react-native-logs-cli
版本 1.0.1
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

React Native Logs 是什么?

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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 531 次。

如何安装 React Native Logs?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install react-native-logs-cli」即可一键安装,无需额外配置。

React Native Logs 是免费的吗?

是的,React Native Logs 完全免费(开源免费),可自由下载、安装和使用。

React Native Logs 支持哪些平台?

React Native Logs 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 React Native Logs?

由 Oskar Kwaśniewski(@okwasniewski)开发并维护,当前版本 v1.0.1。

💬 留言讨论