image-editing

image-editing is a skill for Claude Code, Codex from benchflow-ai/skillsbench. It costs 29 tokens per session (997 once invoked), scanned B, original, Apache-2.0.

A command-line image editing toolkit based on ImageMagick. It applies operations such as resizing, blurring, cropping, flipping, and format conversion to individual images or batches.

In plain words
What is it for?
Use it to resize, crop, orient, modify, or convert image files, including all matching images in a folder.
Why use it?
It removes the need to edit images manually or process each file separately. Repeatable commands make large image collections easier to prepare.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to resize, crop, orient, modify, or convert image files, including all matching images in a folder.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benchflow-ai/skillsbench/image-editing
About the project

SkillsBench is a benchmark for measuring how effectively AI agents use modular skills—folders containing instructions, scripts, and resources—to complete specialized tasks. It helps researchers and developers evaluate both skill quality and agent behavior, including tasks that require combining multiple skills. The catalogue’s skills and instructions are evaluated as part of this workflow.

benchflow-ai/skillsbench · 1,764 stars · on GitHub · skillsbench.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add benchflow-ai/skillsbench --skill image-editing
Clone the repo
git clone --depth 1 https://github.com/benchflow-ai/skillsbench

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for image-editing

README.md
[![agentmods](https://agentmods.dev/badge/skills/benchflow-ai/skillsbench/image-editing/github.svg)](https://agentmods.dev/skills/benchflow-ai/skillsbench/image-editing)
Your own site
<a href="https://agentmods.dev/skills/benchflow-ai/skillsbench/image-editing"><img src="https://agentmods.dev/badge/skills/benchflow-ai/skillsbench/image-editing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for image-editing

Your own site · 80×15
<a href="https://agentmods.dev/skills/benchflow-ai/skillsbench/image-editing"><img src="https://agentmods.dev/badge/skills/benchflow-ai/skillsbench/image-editing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 997 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Privilege Escalation · line 89
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.00997
Opus 5 $0.00015 $0.00498
Sonnet 5 $0.00006 $0.00199
Haiku 4.5 $0.00003 $0.00100

Measured 8d ago against content hash 31e664a2fadb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

image-editing scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- convert: Run `sudo apt install imagemagick` to install. After that, you can use `convert` command.
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

tasks/mario-coin-counting/environment/skills/image-editing/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Command-line Tools: Convert

Overview

This guide covers essential image processing operations using ImageMagick, a collection of command-line tools that can be applied to modify and manipulate images. With this toolkit, you can edit images in batch on Linux command-line.

Image Operations

Use the convert command to resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.

Example Usage We list a few examples of the command here to illustrate its usefulness and ease of use. To get started, let's reduce the size of our rose:

convert -resize 50% rose.jpg

You can resize all your JPEG images in a folder to a maximum dimension of 256x256 with this command:

convert -resize 256x256 *.jpg

Finally, we convert all our PNG images in a folder to the JPEG format:

convert -format jpg *.png

Here image files 1.png, 2.png, etc., are left untouched and files 1.jpg, 2.jpg, etc., are created. They are copies of their respective PNG images except are stored in the JPEG image format.

Useful image operations and their corresponding command:

-auto-orient Adjusts an image so that its orientation is suitable for viewing (i.e. top-left orientation). This operator reads and resets the EXIF image profile setting 'Orientation' and then performs the appropriate 90 degree rotation on the image to orient the image, for correct viewing.

-background <color> Set the background color. The color is specified using the format described under the -fill option. The default background color (if none is specified or found in the image) is white.

-blend <geometry> Blend an image into another by the given absolute value or percent. Blend will average the images together ('plus') according to the percentages given and each pixels transparency. If only a single percentage value is given it sets the weight of the composite or 'source' image, while the background image is weighted by the exact opposite amount. That is a -blend 30% merges 30% of the 'source' image with 70% of the 'destination' image. Thus it is equivalent to -blend 30x70%.

Read the full file on GitHub · 90 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 90 lines · 29 tokens per session scan B 31e664a2fadb

Subscribe to this mod's changes

image-editing is a skill published in the GitHub repository benchflow-ai/skillsbench (1,764 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 29 tokens to every session and 997 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.