← 返回 Skills 市场
166
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install svg-to-png
功能描述
将 SVG 矢量图片转换为 PNG 格式,支持指定尺寸。使用场景:(1) 将 SVG 图标转换为 PNG,(2) 调整图片尺寸,(3) 前端资源格式转换。使用前需在当前目录安装 sharp 依赖。
安全使用建议
This skill appears internally consistent and does what it claims: it uses sharp to convert an SVG file to a PNG at a specified size. Before installing/using: (1) install sharp locally via npm in a project directory you control; (2) be cautious processing untrusted SVGs—SVGs can reference external resources or be crafted to cause excessive CPU/memory during rasterization—so run on isolated inputs or sandboxed environments if input is untrusted; (3) verify you install sharp from the official npm registry and that native build prerequisites for sharp/libvips are met on your platform. If you need stronger isolation, run the conversion in a container or VM.
功能分析
Type: OpenClaw Skill
Name: svg-to-png
Version: 1.0.0
The skill is a straightforward utility for converting SVG files to PNG format using the reputable 'sharp' library. The script 'scripts/convert.js' performs basic file existence checks and image processing as described in 'SKILL.md', with no evidence of malicious intent, data exfiltration, or harmful prompt injection.
能力评估
Purpose & Capability
Name/description (SVG → PNG conversion, size option) matches the included JavaScript (scripts/convert.js) which uses the sharp library to read an SVG, resize, and write a PNG. Declared requirements (install sharp locally) are appropriate for the stated purpose.
Instruction Scope
SKILL.md instructs installing sharp and running node scripts/convert.js with path and size args. The script only reads the specified SVG file, checks existence, resizes, and writes a PNG; it does not access environment variables, other files, network endpoints, or modify system state. No scope creep detected.
Install Mechanism
There is no automated install spec; the README instructs running 'npm install sharp' which is standard. package.json and package-lock.json reference sharp and its platform-specific binaries; no downloads from untrusted, shortened, or personal URLs are present in the package files provided.
Credentials
The skill requests no environment variables or credentials and the script does not read any. This is proportional for a local file-conversion utility.
Persistence & Privilege
The skill is user-invocable, not always-enabled, and contains no code that attempts to persist configuration, modify other skills, or alter system-wide agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install svg-to-png - 安装完成后,直接呼叫该 Skill 的名称或使用
/svg-to-png触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
svg to image with png
元数据
常见问题
svg-to-png 是什么?
将 SVG 矢量图片转换为 PNG 格式,支持指定尺寸。使用场景:(1) 将 SVG 图标转换为 PNG,(2) 调整图片尺寸,(3) 前端资源格式转换。使用前需在当前目录安装 sharp 依赖。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 166 次。
如何安装 svg-to-png?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install svg-to-png」即可一键安装,无需额外配置。
svg-to-png 是免费的吗?
是的,svg-to-png 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
svg-to-png 支持哪些平台?
svg-to-png 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 svg-to-png?
由 tianling(@try520)开发并维护,当前版本 v1.0.0。
推荐 Skills