← Back to Skills Marketplace
qrost

SVG to Image

by AddinCui · GitHub ↗ · v1.1.1
cross-platform ⚠ suspicious
699
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install svg-to-image
Description
Convert SVG to PNG or JPG for quick sharing (e.g. Telegram) or print.
Usage Guidance
This skill is functionally what it says, but review these points before installing: (1) You must install cairosvg, Pillow, and system libcairo2 yourself; install from official sources (pip, distro repos). (2) The agent will run the included Python script automatically (no confirmation) when asked to convert; make sure you trust the input. (3) SVGs can reference external resources — cairosvg may fetch them, which could leak requests to internal services (SSRF) or cause outbound network activity. Avoid converting untrusted or unknown SVGs, or run the skill in a sandboxed environment. (4) Follow the SKILL.md instruction to write output to allowed media dirs (/tmp or ~/.openclaw/media/) so the agent can send the file. If you want stronger guarantees, consider modifying the script to disable URL fetching or validate/clean SVG inputs before rasterizing.
Capability Analysis
Type: OpenClaw Skill Name: svg-to-image Version: 1.1.1 The skill is classified as suspicious due to its use of the high-risk `shell:exec` permission and instructions in `SKILL.md` that constitute a prompt injection against the agent, telling it to 'run the script directly' and 'Do not ask for confirmation'. While the script `scripts/convert_svg.py` itself appears to perform its stated function without explicit malicious code (e.g., no data exfiltration, network calls, or persistence mechanisms), processing user-supplied file paths and SVG content carries inherent vulnerabilities like potential path traversal or resource exhaustion. The prompt injection aims to streamline the intended (benign) operation, not to hide malicious activity, but it bypasses agent safeguards.
Capability Assessment
Purpose & Capability
The name/description match the provided code and instructions. The included Python script (cairosvg + Pillow) directly implements SVG→PNG/JPG conversion, and the declared dependencies align with that purpose.
Instruction Scope
SKILL.md instructs the agent to run the script directly (exec) and to not ask for confirmation when the user requests a conversion. The instructions require output files be placed in allowed media dirs (/tmp or ~/.openclaw/media/) which limits exfiltration of results. However, the script uses cairosvg.svg2png with the 'url' parameter: if given a URL or SVG that references external resources, cairosvg may perform network fetches (possible SSRF or unexpected outbound requests). This is a runtime risk inherent to converting arbitrary SVG inputs.
Install Mechanism
No installation spec is provided (instruction-only), so nothing arbitrary is downloaded by the skill itself. The README asks the operator to pip install requirements.txt and to install system libcairo2 which is normal for this task.
Credentials
The skill requests no environment variables, credentials, or config paths. Its resource access (local file paths provided as arguments) is proportionate to converting files.
Persistence & Privilege
always:false (no forced presence). The SKILL.md explicitly tells the agent to execute conversions without asking for confirmation; combined with the platform's normal autonomous invocation, this gives the skill the ability to run the conversion script automatically when triggered. That is not itself incorrect for a conversion utility, but users should be aware it will execute code on-demand.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install svg-to-image
  3. After installation, invoke the skill by name or use /svg-to-image
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.1
Patch: OpenClaw allowed media paths docs.
v1.0.0
Convert SVG to PNG or JPG; optional width/height and DPI.
Metadata
Slug svg-to-image
Version 1.1.1
License
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is SVG to Image?

Convert SVG to PNG or JPG for quick sharing (e.g. Telegram) or print. It is an AI Agent Skill for Claude Code / OpenClaw, with 699 downloads so far.

How do I install SVG to Image?

Run "/install svg-to-image" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is SVG to Image free?

Yes, SVG to Image is completely free (open-source). You can download, install and use it at no cost.

Which platforms does SVG to Image support?

SVG to Image is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created SVG to Image?

It is built and maintained by AddinCui (@qrost); the current version is v1.1.1.

💬 Comments