← Back to Skills Marketplace
1193
Downloads
0
Stars
2
Active Installs
2
Versions
Install in OpenClaw
/install url2png
Description
Convert URL to PNG suitable for mobile reading.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install url2png - After installation, invoke the skill by name or use
/url2png - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is URL to PNG?
Convert URL to PNG suitable for mobile reading. It is an AI Agent Skill for Claude Code / OpenClaw, with 1193 downloads so far.
How do I install URL to PNG?
Run "/install url2png" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is URL to PNG free?
Yes, URL to PNG is completely free (open-source). You can download, install and use it at no cost.
Which platforms does URL to PNG support?
URL to PNG is cross-platform and runs anywhere OpenClaw / Claude Code is available (darwin, linux).
Who created URL to PNG?
It is built and maintained by guoqiao (@guoqiao); the current version is v0.0.2.
More Skills