Index of every page on this site: llms.txt
All skills
brettr7388 avatar

/image-jobs

@f2b10aa
Run it yourself

Batch image editing — remove backgrounds, resize, watermark, convert formats. Use when the user asks to resize/convert/watermark images, remove a background, or process a folder of photos.

  • 3 files
  • 18.2 KB
  • Updated 4 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/brettr7388/app-killers/image-jobs

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈51 tokens for metadata: the name and description. ≈559 when used: this file.

Description uses 2.5% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈201 characters, or 2.5%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Replaces Photoshop ($22.99/mo). Runs locally — no API key, no credits.

Image Jobs — batch editing without Photoshop

Not a Photoshop replacement. This covers the four things most people actually open Photoshop for, each one command.

Setup

brew install ffmpeg imagemagick          # macOS
pip3 install --user --break-system-packages rembg   # only for background removal

The four jobs

python3 scripts/imgtool.py info      photos/
python3 scripts/imgtool.py resize    photos/ --width 1080
python3 scripts/imgtool.py convert   photos/ --to webp
python3 scripts/imgtool.py watermark photos/ --text "© Your Name" --pos br
python3 scripts/imgtool.py bgremove  photos/

Everything lands in photos/out/. Non-image files are skipped, not fatal. The originals are never touched.

The raw commands, if you'd rather drive them yourself:

Batch resize (keeps aspect ratio):

for f in src/*.jpg; do
  ffmpeg -y -i "$f" -vf "scale=1080:-1" "out/$(basename "${f%.*}")_1080.jpg"
done

Watermark (bottom-right, with a shadow so it reads on any background):

ffmpeg -y -i in.jpg -vf "drawtext=fontfile=/System/Library/Fonts/Helvetica.ttc:\
text='© YOUR NAME':fontcolor=white@0.75:fontsize=46:x=w-tw-40:y=h-th-40:\
shadowcolor=black@0.5:shadowx=2:shadowy=2" out.jpg

Convert format (webp is typically 60-75% smaller than jpg at the same quality):

ffmpeg -y -i in.jpg -quality 82 out.webp

Remove background:

rembg i in.jpg out.png

Rules

  • Non-destructive, always. Write to a new folder. Never overwrite the originals, even when asked to "just replace them" — write new files and let the user delete.
  • Keep the original filenames, add a suffix.
  • Skip non-images instead of crashing on them. A .DS_Store in the folder should not end the job.
  • Report counts: how many processed, how many skipped, and why.
  • Show one before/after pair and wait for approval before running a batch of 200.

Local panel

python3 scripts/ui.py        # localhost:7304

Pick a folder and an operation. Note that output lands in <your folder>/out/, next to the originals — not in the panel's own output folder.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at f2b10aa. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 4 months ago

README badge

README badge for brettr7388/app-killers/image-jobs