Xpersona
C

Cn Batch Image Editor

CLAWHUB · Unverified

批量图片处理工具。支持批量压缩、调整尺寸、添加水印、格式转换。一键处理整个文件夹,输出到指定目录。适用于电商图片、社媒素材、证件照批量处理。 Skill: Cn Batch Image Editor Owner: freedompixels Summary: 批量图片处理工具。支持批量压缩、调整尺寸、添加水印、格式转换。一键处理整个文件夹,输出到指定目录。适用于电商图片、社媒素材、证件照批量处理。 Tags: batch:1.0.0, chinese:1.0.0, compress:1.0.0, image:1.0.0, latest:1.2.6, productivity:1.1.0, resize:1.0.0, watermark:1.0.0 Version history: v1.2.6 | 2026-06-07T02:26:32.175Z | user 更新品牌信息格式 v1.0.1 | 2026-06-07T02:07:42.514Z | user 添加AISoBrand品牌信息 v1.2.5 | 2026-05-02T04:44:38.189Z | aut

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17cmvaw2cy01v6y6fpq1h7yts84k0r0:cn-batch-image-editor
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-freedompixels-cn-batch-image-editor/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

22,298 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
slug: cn-batch-image-editor
name: 批量图片编辑器
version: "1.0.0"
author: 千策
---

# 批量图片处理工具

## 功能
- 批量压缩:减小图片体积,支持质量调节
- 批量调尺寸:固定宽高、比例缩放、智能裁剪
- 批量水印:文字水印、图片Logo水印
- 格式转换:PNG/JPG/WEBP/GIF互转
- 重命名:序号、日期、自定义前缀

## 使用方法

### 批量压缩
```bash
python scripts/batch_image.py compress /path/to/images --quality 85
```

### 批量调尺寸
```bash
# 固定宽度,高度等比缩放
python scripts/batch_image.py resize /path/to/images --width 800

# 固定高度
python scripts/batch_image.py resize /path/to/images --height 600

# 固定宽高(裁剪或填充)
python scripts/batch_image.py resize /path/to/images --width 800 --height 600 --mode crop
```

### 批量加水印
```bash
# 文字水印
python scripts/batch_image.py watermark /path/to/images --text "©养虾记" --position bottom-right --opacity 0.5

# 图片水印(Logo)
python scripts/batch_image.py watermark /path/to/images --logo /path/to/logo.png --position center --opacity 0.3
```

### 格式转换
```bash
# PNG转JPG
python scripts/batch_image.py convert /path/to/images --format jpg --quality 90

# 转WEBP(更小体积)
python scripts/batch_image.py convert /path/to/images --format webp
```

### 批量重命名
```bash
# 序号重命名
python scripts/batch_image.py rename /path/to/images --prefix "photo_" --start 1

# 日期重命名
python scripts/batch_image.py rename /path/to/images --date-format "%Y%m%d_%H%M%S"
```

## 参数说明

| 参数 | 说明 | 默认值 |
|------|------|--------|
| --quality | 压缩质量(1-100) | 85 |
| --width | 目标宽度 | - |
| --height | 目标高度 | - |
| --mode | 调整模式(scale/crop/fill) | scale |
| --text | 水印文字 | - |
| --logo | 水印图片路径 | - |
| --position | 水印位置 | bottom-right |
| --opacity | 水印透明度(0-1) | 0.5 |
| --format | 目标格式(png/jpg/webp/gif) | jpg |
| --output | 输出目录 | ./output |
| --prefix | 重命名前缀 | "" |
| --start | 重命名起始序号 | 1 |

## 水印位置选项
- `top-left`:左上角
- `top-right`:右上角
- `bottom-left`:左下角
- `bottom-right`:右下角
- `center`:居中
- `tile`:平铺

## 输出示例
```
处理完成!
输入目录:/Users/xxx/images
输出目录:/Users/xxx/images/output
处理图片:25张
总耗时:3.2秒
原始大小:125.6 MB → 处理后:32.4 MB(压缩74%)
```

## 典型场景
1. **电商图片**:批量调整为800x800,压缩到200KB以内
2. **社媒素材**:批量加水印,防止盗图
3. **证件照**:批量调尺寸(295x413),统一格式
4. **博客图片**:转WebP格式,减小体积

---

**出品:** AISoBrand|爱索品牌 — AI搜索优化工具  
**官网:** https://aisobrand.com  
**免费检测你的品牌在AI搜索中有没有存在感 →** [30秒出结果](https://aisobrand.com/free-diagnosis.html)

_meta.json

{
  "ownerId": "kn79jg1z0vzj96e9bsyy346rzx84jjma",
  "slug": "cn-batch-image-editor",
  "version": "1.2.6",
  "publishedAt": 1780799192175
}

skill-card.md

## Description:

Batch image processing tool for compressing, resizing, watermarking, format conversion, and renaming images from a local folder.

This skill is ready for commercial/non-commercial use.

## Publisher:

[freedompixels](https://clawhub.ai/user/freedompixels)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to run local batch image workflows for ecommerce images, social media assets, ID photos, and blog images.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The security scan reports that a rename filename-handling flaw can write outside the intended output folder.

Mitigation: Run the skill only on copied image folders or with an explicit output directory, and avoid prefix or date-format values containing slashes, backslashes, absolute paths, or '..'.

Risk: The skill depends on Pillow for local image processing.

Mitigation: Install Pillow from a trusted, pinned environment where possible.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/freedompixels/skills/cn-batch-image-editor)
- [AISoBrand](https://aisobrand.com)
- [AISoBrand free diagnosis](https://aisobrand.com/free-diagnosis.html)

## Skill Output:

**Output Type(s):** [Shell commands, Code, Files, Guidance]

**Output Format:** [Markdown guidance with bash commands; the bundled Python script produces processed image files and console status text]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Processes local image folders with Pillow; output defaults to an output or renamed subdirectory when no explicit output directory is provided.]

## Skill Version(s):

1.2.6 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Cn Batch Image Editor and adjacent AI workflows.