pr1vateer

Image Magic resizer

設計創意v1.0.0
作者:pr1vateer更新於 2026-05-11image-resize@clawhub_pr1vateer/image-resize
圖片編輯視覺素材

據 AlphaMoat 統計,截至 2026-09,Image Magic resizer 累計下載 2,639 次、獲 1 個星標,在全部 5,078 個 AI 技能中排名第 3,989 位,在「設計創意」分類(512 個)中排名第 388 位。

累計安裝
114
累計下載
2639
星標
1
全站排名
#3,989
全站前 79% · 「設計創意」前 76%
平台累計安裝累計下載星標評論
ClawHub ↗8425681-
SkillHub ↗11426391—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該技能透過 Bash 指令碼呼叫 ImageMagick,可按寬度、指定幾何尺寸、比例或僅在圖像較大時縮小;輸出路徑可由使用者指定。若輸出路徑與現有檔案衝突,可能覆蓋原檔案,執行前應檢查輸入與目標路徑。

資料釋出於 2026-10-29

可以用來做什麼

  • 按寬度或比例縮放圖像
  • 調整到指定尺寸
  • 僅在圖像超過目標尺寸時縮小

什麼時候用

  • 需要透過命令列調整本地圖像時
  • 需要控制輸出尺寸或比例時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

先解釋此輸入圖像和目標尺寸會如何處理,不要執行,等我確認輸出路徑。
將圖像縮小到指定比例,並先檢查目標檔案是否已經存在。

月度資料趨勢

累計下載2639
1550213527202026-03 · 累計下載 16312026-05 · 累計下載 20102026-06 · 累計下載 21492026-07 · 累計下載 23692026-08 · 累計下載 24872026-09 · 累計下載 263926-0326-09
星標1
0122026-03 · 星標 12026-05 · 星標 12026-06 · 星標 12026-07 · 星標 12026-08 · 星標 12026-09 · 星標 126-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-092639—1
2026-082487+5.0%1
2026-072369+10.2%1
2026-062149+6.9%1
2026-052010—1
2026-031631—1

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

1.3 KB · ClawHub v1.0.0
---
name: resize-magic
version: 0.1.0
author: Stenkil <[email protected]>
description: Resize images using ImageMagick (CLI). Entrypoint is a Bash script.
entrypoint: scripts/resize.sh
metadata: { "openclaw": { "emoji": "🖼️", "requires": { "bins": ["bash"], "anyBins": ["magick","convert"] }, "install": [ { "id": "brew", "kind": "brew", "formula": "imagemagick", "bins": ["magick","convert"], "label": "Install ImageMagick (brew)" } ] } }
user-invocable: true
command-dispatch: tool
command-tool: resize
展開全部(共 34 行)
commands:
  - name: resize
    usage: resize <input-path> <geometry> [output-path]
    description: |
      Resize an image using ImageMagick.
      Geometry examples:
        - 800x        -> width 800, preserve aspect ratio
        - 800x600     -> exact geometry (may change aspect)
        - 50%         -> scale to 50% of original
        - 800x800\>   -> resize only if larger than 800x800
---
## 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.:

```bash
cp -r resize-magic ~/.openclaw/skills/resize-magic

# or install via CLI if available
openclaw skill install ./resize-magic
```

「設計創意」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。