← 返回 Skills 市场
guoqiao

URL to PNG

作者 guoqiao · GitHub ↗ · v0.0.2
darwinlinux ⚠ suspicious
1193
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install url2png
功能描述
Convert URL to PNG suitable for mobile reading.
安全使用建议
This skill appears to do exactly what it claims: it runs shot-scraper (via the uv tool) to capture a mobile-formatted PNG of a given URL. Before installing or enabling it everywhere, consider: - Why is always:true set? That forces the skill to be included in every agent run; ask the maintainer to remove or justify this flag. - The installer will download and install shot-scraper and a Chromium runtime — expect a large download and verify you trust 'uv' and 'shot-scraper' (and their default download sources). If you operate in a restricted environment, block or review those downloads first. - The skill will load the target webpage (the user-supplied URL) in a browser; treat user-supplied URLs as untrusted content (could trigger remote requests, ads, trackers, or malicious pages). Limit who can provide URLs if that's a concern. - There are no credential requests and scripts don't read other files, which is good. But if you need stronger assurance, ask for the canonical upstream repository or author verification and request removal of always:true prior to enabling globally.
功能分析
Type: OpenClaw Skill Name: url2png Version: 0.0.2 The 'url2png' skill's primary function is benign, converting URLs to PNGs using legitimate tools like `shot-scraper`. However, the `url2png.sh` script is vulnerable to shell injection. The `outdir` variable, which can be controlled by user input, is directly used in `mkdir -p ${outdir}` and `cd ${outdir}` commands without proper sanitization. This allows an attacker to execute arbitrary commands by providing a specially crafted output directory path, posing a significant remote code execution risk. This is a critical vulnerability, but not evidence of intentional malicious design.
能力评估
Purpose & Capability
Name/description align with the included scripts: url2png.sh invokes 'uvx shot-scraper' to capture a long/mobile screenshot and save it (default ~/Pictures). Requiring the 'uv' binary is coherent because the scripts call 'uvx' (uv launcher).
Instruction Scope
SKILL.md instructs the agent to run url2png.sh, locate the generated PNG, and send it as a file. The scripts only fetch the provided URL and save a screenshot; they do not attempt to read unrelated files, environment variables, or external endpoints beyond the target webpage and the installation downloads.
Install Mechanism
There is no registry install spec, but install.sh uses 'uvx shot-scraper install --browser chromium' which will download shot-scraper and Chromium (Playwright runtime). This is expected for a screenshot tool but involves network downloads and installing a browser runtime (large binary). The download sources are not shown here (delegated to uv/shot-scraper); verify 'uv' and 'shot-scraper' are trusted and that you accept the browser download.
Credentials
No environment variables, credentials, or config paths are requested. The skill does not ask for unrelated secrets. The lack of credentials is proportionate to its stated purpose.
Persistence & Privilege
The skill is marked always:true (force-included in every agent run). That is unnecessary for a small URL->PNG utility and increases the blast radius if the skill or its dependencies are compromised. Autonomous invocation is normal, but always:true should be justified or removed.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install url2png
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /url2png 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.2
- Added detailed agent instructions for handling and delivering PNG files, including guidelines to send images as documents/files (not photos) to avoid compression or size limits on platforms like Telegram. - No changes to functionality; installation and usage remain the same.
v0.0.1
Initial release – Convert a webpage URL to a mobile-friendly PNG image. - Adds ability to capture full-length mobile screenshots of any webpage. - Provides CLI script for saving screenshots to a chosen location. - Default output is optimized for mobile/iPhone viewing. - Simple installation via provided script—installs required tools and dependencies.
元数据
Slug url2png
版本 0.0.2
许可证
累计安装 2
当前安装数 2
历史版本数 2
常见问题

URL to PNG 是什么?

Convert URL to PNG suitable for mobile reading. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1193 次。

如何安装 URL to PNG?

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

URL to PNG 是免费的吗?

是的,URL to PNG 完全免费(开源免费),可自由下载、安装和使用。

URL to PNG 支持哪些平台?

URL to PNG 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux)。

谁开发了 URL to PNG?

由 guoqiao(@guoqiao)开发并维护,当前版本 v0.0.2。

💬 留言讨论