- name
SKILL.md
Le fichier du skill reste dans le dépôt de l'éditeur.
Collez la commande copiée dans un terminal. Elle installe ce SKILL.md dans cet agent.
npx skills add ZJU-REAL/Easel --skill batch-process -a cursor -yCollez la commande copiée dans un terminal. Elle installe ce SKILL.md dans cet agent.
npx skills add ZJU-REAL/Easel --skill batch-process -a claude-code -yCollez la commande copiée dans un terminal. Elle installe ce SKILL.md dans cet agent.
npx skills add ZJU-REAL/Easel --skill batch-process -a codex -yCollez la commande copiée dans un terminal. Elle installe ce SKILL.md dans cet agent.
npx skills add ZJU-REAL/Easel --skill batch-process -a grok -yEnvoyez le message copié dans un chat Grok Bot. Le Bot récupère ce SKILL.md sur GitHub et l'ajoute aux skills que partagent tous vos Bots.
Install this skill: https://github.com/ZJU-REAL/Easel/tree/HEAD/skills/builtin/batch-processDe l'éditeur
对整个目录的图片/视频/音频统一套用同一操作。走
skills/shared/scripts/batch_process.py, 逐个委派给对应确定性脚本(image_ops / video_ops / audio_ops)。
单文件处理见 image-editing / video-editing / audio-editing;本 SKILL 是它们的目录批量版。
<目录>/batch_out/)脚本路径(相对项目根):skills/shared/scripts/batch_process.py(run -h / list -h)。
# 先预览会处理哪些文件
python skills/shared/scripts/batch_process.py list --dir imgs --type image
# 批量压缩图片到 500KB
python skills/shared/scripts/batch_process.py run --dir imgs --type image --op compress \
--out-dir out -- --max-kb 500
# 批量加水印
python skills/shared/scripts/batch_process.py run --dir imgs --type image --op watermark \
-- --text "@我的账号" --position bottom-right
# 批量视频转竖版 9:16
python skills/shared/scripts/batch_process.py run --dir clips --type video --op aspect \
--out-dir out -- --ratio 9:16 --mode pad
# 批量音频转 mp3(改扩展名用 --ext)
python skills/shared/scripts/batch_process.py run --dir raw --type audio --op convert \
--out-dir out --ext .mp3 -- --bitrate 192k
<脚本> <op> -h 看参数)list 预览文件范围,确认无误再 run。-- 之后的参数原样透传给 ops 脚本;不确定参数先跑单文件版(image-editing 等)验证一次。--ext(如 .mp3/.png),否则沿用原扩展名。<目录>/batch_out/,不覆盖原文件。复用项目既有确定性脚本(image_ops/video_ops/audio_ops),本 SKILL 只做目录遍历 + 逐文件 委派 + 结果汇总,不重复实现处理逻辑。
批量处理:对一个目录里的一批图片/视频/音频统一套用同一操作——批量压缩、加水印、转格式、缩放、转比例、音量归一化等。当用户说 批量处理、批量压缩、批量加水印、批量转格式、一批图片/视频、给这个文件夹、全部转成、批量缩放、批量转竖版、整个目录 时使用。基于 shared/scripts/batch_process.py(委派 image_ops/video_ops/audio_ops)。与 ima
---name: batch-processdescription: 批量处理:对一个目录里的一批图片/视频/音频统一套用同一操作——批量压缩、加水印、转格式、缩放、转比例、音量归一化等。当用户说…---# skills/builtin/batch-process/SKILL.mdVue d'ensemble
批量处理:对一个目录里的一批图片/视频/音频统一套用同一操作——批量压缩、加水印、转格式、缩放、转比例、音量归一化等。当用户说 批量处理、批量压缩、批量加水印、批量转格式、一批图片/视频、给这个文件夹、全部转成、批量缩放、批量转竖版、整个目录 时使用。基于 shared/scripts/batch_process.py(委派 image_ops/video_ops/audio_ops)。与 image-editing/video-editing/audio-editing 区别:那些处理单文件,本 SKILL 批量套用到整个目录。
FAQ
Téléchargez skills/builtin/batch-process/SKILL.md auprès de l'éditeur, ou copiez le chemin et ouvrez le dépôt. PlugMCP répertorie le skill et n'héberge pas le fichier.
L'éditeur le maintient sur https://github.com/ZJU-REAL/Easel.
Claude, Cursor, Codex et Grok Build peuvent lire un SKILL.md que vous ajoutez depuis le dépôt de l'éditeur. Grok Bot l'installe lorsque vous envoyez dans un chat le lien du dossier GitHub du skill.