Agent skill

Batch Process

by ZJU-REAL in ZJU-REAL/Easel

批量处理:对一个目录里的一批图片/视频/音频统一套用同一操作——批量压缩、加水印、转格式、缩放、转比例、音量归一化等。当用户说 批量处理、批量压缩、批量加水印、批量转格式、一批图片/视频、给这个文件夹、全部转成、批量缩放、批量转竖版、整个目录 时使用。基于 shared/scripts/batchprocess.py(委派 imageops/videoops/audioops)。与…

Apache-2.0Auto-check passedMedia & Creative

Install Batch Process

skills CLI
$ npx skills add ZJU-REAL/Easel --skill batch-process -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ZJU-REAL/Easel batch-process --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ZJU-REAL/Easel.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/openclaw/batch-process .claude/skills/batch-process && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
batch-process
GitHub stars
3.2k
Token cost
~555 tokens
SKILL.md length
99 words
Files
1
Skills in repo
113
Repo updated
First seen
Licence
Apache-2.0

At a glance

批量处理:对一个目录里的一批图片/视频/音频统一套用同一操作——批量压缩、加水印、转格式、缩放、转比例、音量归一化等。当用户说 批量处理、批量压缩、批量加水印、批量转格式、一批图片/视频、给这个文件夹、全部转成、批量缩放、批量转竖版、整个目录 时使用。基于 shared/scripts/batchprocess.py(委派 imageops/videoops/audioops)。与…

  • Works in 5 steps: 先 list 预览文件范围,确认无误再 run。 → 之后的参数原样透传给 ops… → 改输出格式用 --ext(如 .mp3/.png),否则沿用原扩展名。 → …
  • Tasks that involve Image editing
  • SKILL.md covers 输入, 输出(默认 <目录>/batch_out/), 执行 and 可用操作(透传给 ops 脚本,<脚本> -h 看参数), plus 2 more sections
  • Calls python

What it does

Batch Process is an agent skill from ZJU-REAL/Easel. 批量处理:对一个目录里的一批图片/视频/音频统一套用同一操作——批量压缩、加水印、转格式、缩放、转比例、音量归一化等。当用户说 批量处理、批量压缩、批量加水印、批量转格式、一批图片/视频、给这个文件夹、全部转成、批量缩放、批量转竖版、整个目录 时使用。基于 shared/scripts/batchprocess.py(委派 imageops/videoops/audioops)。与 image-editing/video-editing/audio-editing 区别:那些处理单文件,本 SKILL 批量套用到整个目录。

Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Media & Creative, covering Image editing, Video production and Music and audio generation. The repository describes itself as: An open-source AI agent for social media — discover trends, create content, publish everywhere, and learn what works across Xiaohongshu, Douyin, Zhihu, Bilibili, and more.🎨一个开源的… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Image editing
  • Tasks that involve Video production
  • Tasks that involve Music and audio generation

Example prompts

  • “/batch-process”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 先 list 预览文件范围,确认无误再 run。
  2. 之后的参数原样透传给 ops 脚本;不确定参数先跑单文件版(image-editing 等)验证一次。
  3. 改输出格式用 --ext(如 .mp3/.png),否则沿用原扩展名。
  4. 批处理串行执行(避免高负载);量大时耐心等,失败文件会单独列出不中断整体。
  5. 默认输出到 <目录>/batch_out/,不覆盖原文件。

What it can do on your machine

Read from SKILL.md and the folder at commit fb80ae6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Batch Process loads about 555 tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 99 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~555

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ZJU-REAL/Easel at commit fb80ae6, republished under its Apache-2.0 licence (© ZJU-REAL). 99 words, ~555 tokens.

Download SKILL.mdSave it as .claude/skills/batch-process/SKILL.md (or your agent's skills folder).
name
batch-process
description
批量处理:对一个目录里的一批图片/视频/音频统一套用同一操作——批量压缩、加水印、转格式、缩放、转比例、音量归一化等。当用户说 批量处理、批量压缩、批量加水印、批量转格式、一批图片/视频、给这个文件夹、全部转成、批量缩放、批量转竖版、整个目录 时使用。基于 shared/scripts/batch_process.py(委派 image_ops/video_ops/audio_ops)。与 image-editing/video-editing/audio-editing 区别:那些处理单文件,本 SKILL 批量套用到整个目录。
layer
general

批量处理(目录级)

对整个目录的图片/视频/音频统一套用同一操作。走 skills/shared/scripts/batch_process.py, 逐个委派给对应确定性脚本(image_ops / video_ops / audio_ops)。

单文件处理见 image-editing / video-editing / audio-editing;本 SKILL 是它们的目录批量版。

输入

字段必填说明
目录是待处理文件所在目录
类型是image / video / audio(决定用哪个 ops 脚本 + 文件筛选)
操作是ops 子命令(如 resize/compress/watermark/aspect/convert/normalize)
操作参数视操作写在 -- 之后,原样透传给 ops 脚本

输出(默认 <目录>/batch_out/)

  • 处理后的同名文件;报告成功/失败数。

执行

脚本路径(相对项目根):skills/shared/scripts/batch_process.py(run -h / list -h)。

bash
# 先预览会处理哪些文件
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

可用操作(透传给 ops 脚本,<脚本> <op> -h 看参数)

  • image(image_ops):resize / crop / pad / convert / compress / watermark / round / thumbnail
  • video(video_ops):compress / aspect / watermark / speed / gif / frame
  • audio(audio_ops):convert / normalize / denoise / fade / speed / trim

规则

  1. 先 list 预览文件范围,确认无误再 run。
  2. -- 之后的参数原样透传给 ops 脚本;不确定参数先跑单文件版(image-editing 等)验证一次。
  3. 改输出格式用 --ext(如 .mp3/.png),否则沿用原扩展名。
  4. 批处理串行执行(避免高负载);量大时耐心等,失败文件会单独列出不中断整体。
  5. 默认输出到 <目录>/batch_out/,不覆盖原文件。

参考来源

复用项目既有确定性脚本(image_ops/video_ops/audio_ops),本 SKILL 只做目录遍历 + 逐文件 委派 + 结果汇总,不重复实现处理逻辑。

© ZJU-REAL, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/openclaw/batch-process of ZJU-REAL/Easel.

Open the folder on GitHubat commit fb80ae6

Compare with similar skills

Batch Process next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Batch Process compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Batch Process this skillZJU-REAL/Easel3.2k—~555Automated safety check: PassApache-2.0
Audio And Videoglifxyz/glif-mcp-server212—~1.1kAutomated safety check: PassMIT
HyperFrames Media Useheygen-com/hyperframes59k—~2.4kAutomated safety check: PassApache-2.0
Music to Videoheygen-com/hyperframes59k4 repos~4.7kAutomated safety check: NotesApache-2.0
Media Processingynulihao/AgentSkillOS617—~817Automated safety check: NotesMIT
Paper Collage Explainer Generatortl2012tl/comfyUI-llama-TE2394 repos~5.2kAutomated safety check: PassNone

Similar skills

  • Audio And Video

    glifxyz/glif-mcp-server

    Make or edit audio and video with Glif instead of writing generation code or using another tool.

    212 GitHub stars~1.1k tokensUpdated today
    Media & CreativeAuto-check passed
  • HyperFrames Media Use

    heygen-com/hyperframes

    Finds, generates and edits media for HyperFrames video projects: music, sound effects, images, icons, logos, voiceovers, captions and color grades.

    59k GitHub stars~2.4k tokensUpdated today
    Media & CreativeAuto-check passed
  • Music to Video

    heygen-com/hyperframes

    Turns a music track into a beat-synced HyperFrames video such as a lyric video, slideshow or kinetic promo, with any supplied images or clips cut onto the beat grid.

    59k GitHub starsUsed in 4 repos~4.7k tokens
    Media & CreativeAuto-check: notes
  • Media Processing

    ynulihao/AgentSkillOS

    Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration), ImageMagick (image manipulation, format conversion, batch processing, effects…

    617 GitHub stars~817 tokensUpdated 7 mo ago
    Media & CreativeAuto-check: notes
  • Paper Collage Explainer Generator

    tl2012tl/comfyUI-llama-TE

    For creators, educators, and social-video editors who need a tactile paper-collage language for narration, knowledge points, opinions, or abstract topics.

    239 GitHub starsUsed in 4 repos~5.2k tokens
    Media & CreativeAuto-check passed
  • Short Form Edit

    nateherkai/hyperframes-student-kit

    Turn talking-head footage into a finished reel, YouTube Short, or short advertisement with curiosity-led openings, earned payoffs, story-driven cuts, transcript-synced motion graphics, moving…

    1.2k GitHub stars~5.3k tokensUpdated 9 days ago
    Media & CreativeAuto-check passed

More from ZJU-REAL/Easel

All 113 skills in this repo
  • 微信公众号文章自动创作与发布工具。给定参考文章、文字或文档,自动搜索整理全网相关信息、生成图文并茂的公众号文章,并发布到微信公众号草稿箱。特别强调反 AI 检测写作。

    3.2k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Card Design

    ZJU-REAL/Easel

    社媒卡片视觉设计系统:提供配色、中文字体层级、满画幅布局、品类骨架和死空白/密度质检,避免模板化 PPT 与廉价 AI 感。

    3.2k GitHub stars~657 tokensUpdated today
    Auto-check passed
  • Ecom Details Image

    ZJU-REAL/Easel

    生成电商商品视觉方案:主图概念、场景图、详情页视觉方向和 AI 生图 Prompt. An agent skill from ZJU-REAL/Easel.

    3.2k GitHub stars~1.1k tokensUpdated today
    Auto-check: notes
  • Infographic

    ZJU-REAL/Easel

    将数据或文字内容转化为可视化信息图,支持静态(AntV)和动画 GIF 两种模式。当用户需要制作信息图、数据可视化、流程图、对比图、动画图表、GIF 图表、思维导图、SWOT 分析图时调用。本地渲染信息图/GIF 动画;要单张静态图片 URL 用 chart-visualization,要 CSV/JSON→整页报告用 data-report

    3.2k GitHub stars~643 tokensUpdated today
    Auto-check passed
  • Novel Writer

    ZJU-REAL/Easel

    长篇小说/网文连载创作:从世界观、人设和三级大纲写到逐章正文,并用文件化状态维护伏笔、前情和跨章一致性. An agent skill from ZJU-REAL/Easel.

    3.2k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Paper Explainer

    ZJU-REAL/Easel

    科研论文解读:解析 arXiv/PDF 的公式与图表,提炼问题、贡献、方法、关键图和结论,再产出 B站/视频号解读视频或知乎/公众号图文。

    3.2k GitHub stars~1.4k tokensUpdated today
    Auto-check passed

Questions about Batch Process

What does Batch Process do?

批量处理:对一个目录里的一批图片/视频/音频统一套用同一操作——批量压缩、加水印、转格式、缩放、转比例、音量归一化等。当用户说 批量处理、批量压缩、批量加水印、批量转格式、一批图片/视频、给这个文件夹、全部转成、批量缩放、批量转竖版、整个目录 时使用。基于 shared/scripts/batchprocess.py(委派 imageops/videoops/audioops)。与…. Batch Process is an agent skill from ZJU-REAL/Easel.

When should I use Batch Process?

Batch Process fits situations like: tasks that involve Image editing; tasks that involve Video production; tasks that involve Music and audio generation.

How do I install Batch Process in Claude Code?

Run `npx skills add ZJU-REAL/Easel --skill batch-process -a claude-code`. Or copy the skill folder (skills/openclaw/batch-process in ZJU-REAL/Easel) into .claude/skills/batch-process in your project. Claude Code loads it when a task matches its description.

How do I install Batch Process in Codex?

Run `npx skills add ZJU-REAL/Easel --skill batch-process -a codex`. Or copy the skill folder (skills/openclaw/batch-process in ZJU-REAL/Easel) into .agents/skills/batch-process in your project. Codex loads it when a task matches its description.

Can I use Batch Process in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ZJU-REAL/Easel --skill batch-process -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/batch-process, .gemini/skills/batch-process, .github/skills/batch-process and .opencode/skills/batch-process in your project.

What does Batch Process need to run?

Going by SKILL.md and its folder, Batch Process needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Batch Process access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Batch Process safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Batch Process use?

Batch Process is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Batch Process use?

About 555 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Batch Process?

Skills that share tags, products or a category with Batch Process: Audio And Video (glifxyz/glif-mcp-server, 212 stars), HyperFrames Media Use (heygen-com/hyperframes, 59k stars), Music to Video (heygen-com/hyperframes, 59k stars) and Media Processing (ynulihao/AgentSkillOS, 617 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Batch Process?

ZJU-REAL (a GitHub organization) maintains it in ZJU-REAL/Easel, which has 3,230 GitHub stars. The repository holds 113 skills in this directory. The repository was last updated on October 7, 2026.

Source: ZJU-REAL/Easel on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.