image-forge

image-forge is a skill for Claude Code, Codex from tdimino/claude-code-minoan. It costs 92 tokens per session (4,049 once invoked), scanned A, original, MIT.

An image-editing skill handles precise pixel changes and content-aware edits using command-line image tools, background removal, and image-processing libraries.

In plain words
What is it for?
It supports image resizing, cropping, annotation, format conversion, colour adjustment, background removal, batch processing, and AI-assisted semantic edits.
Why use it?
It helps choose an appropriate method for tasks such as resizing exact dimensions, cropping, compositing, converting formats, or changing image content.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit It supports image resizing, cropping, annotation, format conversion, colour adjustment, background removal, batch processing, and AI-assisted semantic edits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tdimino/claude-code-minoan/image-forge
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 tdimino/claude-code-minoan --skill image-forge
Clone the repo
git clone --depth 1 https://github.com/tdimino/claude-code-minoan

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-forge

README.md
[![agentmods](https://agentmods.dev/badge/skills/tdimino/claude-code-minoan/image-forge.svg)](https://agentmods.dev/skills/tdimino/claude-code-minoan/image-forge)
Your own site
<a href="https://agentmods.dev/skills/tdimino/claude-code-minoan/image-forge"><img src="https://agentmods.dev/badge/skills/tdimino/claude-code-minoan/image-forge.svg" alt="Measured on agentmods" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,049 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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 Rogue Agent · line 129
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00092 $0.04049
Opus 5 $0.00046 $0.02024
Sonnet 5 $0.00018 $0.00810
Haiku 4.5 $0.00009 $0.00405

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

Security

Grade A, and why

image-forge scanned grade A with 0 findings 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.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/batch_ops.py, scripts/image_info.py, scripts/image_pipeline.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/design-media/image-forge/SKILL.md · 322 lines

How it starts

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

Image Forge

Pixel-precise image editing with three-tier routing: deterministic CLI tools for exact operations, AI models for semantic edits, vision models for analysis.

Routing Decision

Use AI when the edit requires understanding what is in the image. Use ImageMagick when the edit requires knowing exactly what to do to the pixels.

Tier 1: Deterministic (magick, sips, transparent-background)

Use for operations with exact, numeric parameters:

Task Tool Command
Resize to exact dimensions magick magick in.jpg -resize 800x600! out.jpg
Resize fit (preserve aspect) magick magick in.jpg -resize 800x600 out.jpg
Resize fill + crop magick magick in.jpg -resize 800x600^ -gravity center -extent 800x600 out.jpg
Resize shrink only magick magick in.jpg -resize '800x600>' out.jpg
Crop at offset magick magick in.jpg -crop 600x400+100+50 +repage out.jpg
Center crop magick magick in.jpg -gravity center -crop 600x400+0+0 +repage out.jpg
Auto-trim whitespace magick magick in.jpg -fuzz 10% -trim +repage out.jpg
Format convert magick magick in.png -quality 85 out.jpg
Add text magick magick in.jpg -fill white -pointsize 36 -annotate +10+50 'Text' out.jpg
Composite overlay magick magick bg.png fg.png -geometry +50+100 -composite out.png
Watermark magick magick photo.jpg wm.png -gravity SouthEast -geometry +10+10 -compose Dissolve -define compose:args=25 -composite out.jpg
Adjust brightness/contrast magick magick in.jpg -brightness-contrast 10x20 out.jpg
Adjust saturation magick magick in.jpg -modulate 100,130,100 out.jpg
Grayscale magick magick in.jpg -colorspace Gray out.jpg
Sepia magick magick in.jpg -sepia-tone 80% out.jpg
Blur magick magick in.jpg -blur 0x3 out.jpg
Sharpen magick magick in.jpg -sharpen 0x1 out.jpg
Remove background (AI) transparent-background See Background Removal section below
Remove background (simple) magick magick in.jpg -fuzz 15% -transparent white -trim +repage out.png
Strip metadata magick magick in.jpg -strip out.jpg
Set DPI magick magick in.jpg -density 300 out.jpg
Batch resize batch_ops.py python3 scripts/batch_ops.py *.jpg --op resize --width 800 --output resized/
Montage/contact sheet magick magick montage *.jpg -geometry 200x200+5+5 -tile 4x out.jpg
Quick format convert (macOS) sips sips -s format jpeg in.png --out out.jpg
Quick resize (macOS) sips sips -Z 800 in.jpg --out out.jpg

Read the full file on GitHub · 322 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 322 lines · 92 tokens per session scan A 97d14da2d1c9

Subscribe to this mod's changes

image-forge is a skill published in the GitHub repository tdimino/claude-code-minoan (41 stars, last pushed today), licensed MIT. It adds 92 tokens to every session and 4,049 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

art-director

Orchestrate iterative visual style searches with branch prompts, decision graphs, feedback loops, and final direction selection.

serejaris/personal-corp-os · 26 tokens

muapi-seedance-2

Expert Cinema Director skill for Seedance 2.0 (ByteDance) — high-fidelity video generation across Chinese, Global, and VIP tiers. Supports text-to-video, image-to-video, first-last-frame, omni reference, character training, omni-reference training, video editing, and watermark removal.

SamurAIGPT/Generative-Media-Skills · 67 tokens

muapi-social-media-video

Brand-aware social media video creator. Reads brand-identity.md, ICP.md, and messaging.md to write a post/storyboard, craft an optimized Seedance 2.0 Director prompt, generate reference frames with the best available image model, and produce platform-ready video.

SamurAIGPT/Generative-Media-Skills · 60 tokens

muapi-media-generation

Generate AI images, videos, music, and audio from the terminal via muapi.ai — supports 100+ models including Flux, Midjourney v7, Kling 3.0, Veo3, and Suno V5.

SamurAIGPT/Generative-Media-Skills · 52 tokens

app-builder

Build and edit small, personal visual tools and artifacts — dashboards, trackers, calculators, data visualizations, charts, simple landing pages, and slide decks the user wants for THEMSELVES. This is the right skill whenever the user asks to "visualize this," "make a chart," or "build an artifact" for their own use…

vellum-ai/vellum-assistant · 162 tokens

fish-audio

Generate expressive audio clips using Fish Audio S2 TTS with bracket emotion tags. Record voice memos, narration, audio messages, or any spoken content.

vellum-ai/vellum-assistant · 35 tokens