agentsclimarketplace

Run2 imagemagick grayscale

Skill cxcscmu/SkillLearnBench/skills/b2-self-feedback-gemini-3.1-pro-preview/video-object-counting/run2_imagemagick-grayscale

Convert a batch of images to grayscale in-place using ImageMagick's mogrify command.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run2_imagemagick-grayscale

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

0.9 KB, 189 tokens by cl100k_base, as published. Nobody here has run it

ImageMagick Grayscale Conversion

Use ImageMagick to edit images in batch on the Linux command-line.

Usage

To convert images to grayscale in-place, the mogrify command is the most efficient choice as it overwrites the original files, avoiding the need to manage new filenames.

mogrify -colorspace Gray <image_files>

Options Explained:

  • mogrify: The ImageMagick tool for in-place batch image manipulation.
  • -colorspace Gray: Changes the colorspace of the image to grayscale, discarding RGB color information.

Example

Convert all PNG files in the current directory to grayscale in-place:

mogrify -colorspace Gray *.png

Alternatively, if you want to create new files without modifying the originals, use convert:

convert input.png -colorspace Gray output.png

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.