← 返回 Skills 市场
1695
总下载
1
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install image-resize
功能描述
Resize images using ImageMagick (CLI). Entrypoint is a Bash script.
使用说明 (SKILL.md)
Overview
This skill provides a single executable script scripts/resize.sh that the agent (or the openclaw CLI) can call to resize an image with ImageMagick.
Installation (manual)
Copy the folder into your OpenClaw skills directory, e.g.:
cp -r resize-magic ~/.openclaw/skills/resize-magic
# or install via CLI if available
openclaw skill install ./resize-magic
安全使用建议
This skill appears to do exactly what it claims — a small Bash wrapper that calls ImageMagick. Before installing, consider: (1) ImageMagick has had vulnerabilities that can be triggered by specially crafted images — avoid processing untrusted images or run the tool in a sandbox/ephemeral container. (2) The script can create/overwrite output files and will create directories as needed, so ensure the agent's filesystem permissions limit where it can write. (3) Verify the system ImageMagick installation is up to date (brew formula is standard). If you need to process untrusted files, run this skill in a restricted environment (container, chroot, or VM) and audit ImageMagick's version/patch level.
功能分析
Type: OpenClaw Skill
Name:
Developer:
Version:
Description: OpenClaw Agent Skill
Suspicious High-Entropy/Eval files: 1
The skill is designed to resize images using ImageMagick, as described in SKILL.md. The core script, `scripts/resize.sh`, properly handles input files and arguments. Crucially, it includes a robust sanitization check for the user-provided 'geometry' argument, preventing common shell injection characters (`[;|`$&<>]`) before passing it to the ImageMagick commands (`magick` or `convert`). All arguments are correctly quoted, and there is no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts against the agent.
能力评估
Purpose & Capability
Name/description ask for an ImageMagick-based resizer and the skill requires bash plus magick/convert and offers a brew install for imagemagick — these requirements match the stated purpose.
Instruction Scope
The SKILL.md and scripts/resize.sh are straightforward: they validate argument count, check input exists, choose magick/convert, compute output path, create output dirs, and run ImageMagick. The script disallows a set of characters in the geometry string to reduce shell-injection risk. Note: ImageMagick historically has had vulnerabilities when processing untrusted image content (e.g., path/url/protocol handling), and the script does not sandbox processing or restrict output paths (it can overwrite arbitrary filesystem targets if the agent is allowed to write there). These are operational cautions rather than incoherence with purpose.
Install Mechanism
Install spec uses Homebrew formula 'imagemagick', a standard package source that provides the expected binaries (magick, convert). This is a low-risk, proportionate install mechanism for the stated function.
Credentials
No environment variables, credentials, or config paths are requested. The lack of secrets or unrelated env access is proportionate to a local CLI image-resize tool.
Persistence & Privilege
Skill is user-invocable and not forced-always. It does not request persistent system-wide configuration or modify other skills. Autonomous invocation is allowed by default but is not combined with other red flags here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install image-resize - 安装完成后,直接呼叫该 Skill 的名称或使用
/image-resize触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of resize-magic (v0.1.0).
- Provides a Bash script for resizing images using ImageMagick.
- Supports flexible geometry options (fixed width, percentage scaling, conditional resizing).
- User-invocable via the "resize" command.
- CLI and manual installation instructions included.
元数据
常见问题
Image Magic resizer 是什么?
Resize images using ImageMagick (CLI). Entrypoint is a Bash script. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1695 次。
如何安装 Image Magic resizer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install image-resize」即可一键安装,无需额外配置。
Image Magic resizer 是免费的吗?
是的,Image Magic resizer 完全免费(开源免费),可自由下载、安装和使用。
Image Magic resizer 支持哪些平台?
Image Magic resizer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Image Magic resizer?
由 pr1vateer(@pr1vateer)开发并维护,当前版本 v1.0.0。
推荐 Skills