/gimp:gimp-cli-referencefrom gimp
Reference for the GIMP command-line interface — non-interactive batch mode, Script-Fu invocation, console binary, and the differences between GIMP 2.10 and GIMP 3.0. Read this before authoring batch ops or Script-Fu calls.
Ships in gimp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
| Binary | Purpose |
|---|---|
gimp | Full GUI — avoid for automation |
gimp -i | No interface (no GUI windows), but still loads display libs |
gimp -i -b <expr> | No interface, run a Script-Fu expression then exit (-b - reads from stdin) |
gimp-console (2.10: gimp-console-2.10, 3.0: gimp-console-3.0) | Truly headless — no display libs. Preferred for automation. |
# Run a Script-Fu expression
gimp-console -b '(gimp-message "hello")' -b '(gimp-quit 0)'
# Read Script-Fu from stdin
gimp-console -b - <<'SF'
(let* ((image (car (gimp-file-load RUN-NONINTERACTIVE "in.png" "in.png"))))
(file-png-save RUN-NONINTERACTIVE image (car (gimp-image-get-active-drawable image))
"out.png" "out" 0 9 1 1 1 1 1)
(gimp-image-delete image))
(gimp-quit 0)
SF
# Flatpak equivalent
flatpak run --command=gimp-console org.gimp.GIMP -b '...' -b '(gimp-quit 0)'
gi).~/.config/GIMP/2.10/ vs ~/.config/GIMP/3.0/.gimp-* PDB calls are stable; some renames in 3.0 (e.g. gimp-image-get-active-drawable → gimp-image-get-selected-drawables returning a vector).(gimp-quit 0) or the process hangs.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
8 skills in this plugin
/batch-processApply one operation across a folder of images using GIMP's headless console — resize, crop, format-convert, flatten, watermark, etc. Use when the user wants to bulk-process images and ImageMagick alone isn't enough (e.g. needs a GIMP-only filter or PSD/XCF support)./export-imageConvert a single image (XCF, PSD, PNG, JPG, TIFF, WebP, etc.) to another format via GIMP headless. Use when the user wants to export a GIMP-native file to a web format, or when format support outside GIMP is missing./install-gimp-pluginInstall a GIMP-side plugin (Script-Fu .scm, Python-Fu .py, or compiled binary) into the user's GIMP config directory so it appears in the GIMP menu next launch. Use when the user wants to add a third-party GIMP filter or extension./list-gimp-pluginsList every Script-Fu, Python-Fu, and binary plugin currently installed in the user's GIMP config directory, including version (where derivable) and whether it lives in the user dir or system dir. Use when the user asks "what plugins do I have", or before installing one to check for duplicates./onboardFirst-run setup for the GIMP plugin. Detects how GIMP is installed on the user's Linux machine (native package, Flatpak, Snap, AppImage), captures version and CLI binary path, and persists a profile to $CLAUDE_USER_DATA so the other skills can shell out without re-detecting. Use the first time the plugin is invoked, after a GIMP upgrade, or whenever skills report a stale path./run-script-fuExecute an arbitrary Script-Fu expression (or a .scm file) against the user's GIMP install in headless mode, using the binary path stored by onboard. Use when the user asks to run a Script-Fu snippet, debug a script, or test PDB calls.gimp@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin gimp