GIMP Plugin for Claude Code

April 30, 2026 · View on GitHub

Bare-bones wrapper around the GIMP CLI for Claude Code on Linux. Detects how GIMP is installed (native, Flatpak, Snap, AppImage), persists a per-user profile, and exposes Script-Fu batch operations, image export, and GIMP-side plugin install/list.

This is a starter scaffold — useful on its own for headless image ops, and a launching point for richer GIMP automation.

Skills

  • onboard — detect install type, version, and config paths; write $CLAUDE_USER_DATA/gimp/config.json
  • upgrade-detect — re-probe after upgrades; refresh the profile
  • gimp-cli-referencegimp-console, Script-Fu, GIMP 2 vs 3 differences
  • run-script-fu — execute a Script-Fu expression or .scm file
  • batch-process — bulk image ops (resize/crop/convert/flatten/watermark/custom) via Script-Fu loop
  • export-image — single-image format conversion
  • install-gimp-plugin — drop a .scm / .py / binary plugin into the user config dir
  • list-gimp-plugins — enumerate user and system plugins

Data storage

Per-user profile lives at:

${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/gimp/
├── config.json    # detected install profile
└── cache/         # downloaded plugins, generated Script-Fu scripts

Nothing is written under ~/.claude/.

Installation

claude plugins marketplace add danielrosehill/Claude-Code-Plugins
claude plugins install gimp@danielrosehill

License

MIT