cli-hub-matrix-image-design
What it does
This skill guides your agent through a set of image tools, including GIMP, Krita, Inkscape, and AI image generators. It is for designers who want one place to plan and run image work.
When to use it
- ✓When you want to edit a photo or raster image using command-line tools.
- ✓When you want to create a vector drawing or a diagram.
- ✓When you want AI-generated images and need help picking an available provider.
Skill link
https://github.com/HKUDS/CLI-Anything/blob/main/cli-hub-matrix/image-design/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“I need a logo draft as vector art and an AI background image. Which tools should I use?”
5 new skills a week. 1 minute to read.
How it works
The skill checks which image tools are available on your computer, then picks the best option for each task. It favors offline tools and uses paid AI services only when credentials are set up or you agree.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Image & Graphic Design Matrix (S5 — v2 capability-based)
Scenario S5. Deepest creation coverage after S2 — raster (GIMP + Krita), vector (Inkscape), AI (ComfyUI + Jimeng + 7 APIs), diagram (drawio + mermaid). Figma is the headline gap (also affects S7).
Schema: docs/cli-matrix/matrix_registry.schema.md. Matrix plan: docs/cli-matrix/cli-matrix-plan.md.
Install
cli-hub matrix install image-design
cli-hub matrix info image-design
cli-hub matrix preflight image-design --json
Provider selection constraints
- Use preflight as an availability report, not as a provider selector.
- Treat provider order as documentation order only.
- Choose from user requirements, output quality bar, offline needs, credential state, install cost, and provider notes.
- Escalate to paid or metered APIs only when credentials are already present or the user explicitly consents. AI image is paid-API-diverse, so ask which provider the user wants when several credentialed choices are available.
Offline context? GIMP, Krita, Inkscape, and local diffusers cover almost everything offline.
Preflight
Run cli-hub matrix preflight image-design --json first. Use the manual block below for extra probes or older cli-hub versions.
cli-hub list --json
python - <<'PY'
import importlib.util
for m in ("PIL","cv2","skimage","rembg","svgwrite","cairosvg","svgpathtools","vpype",
"diffusers","replicate","rawpy"):
print(m, importlib.util.find_spec(m) is not None)
PY
for b in inkscape gimp krita drawio magick convert exiftool upscayl darktable-cli \
rawtherapee-cli graphviz dot mermaid plantuml hugo mkdocs; do
command -v "$b" >/dev/null && echo "$b: yes" || echo "$b: no"
done
for e in OPENAI_API_KEY STABILITY_API_KEY IDEOGRAM_API_KEY RECRAFT_API_KEY \
GOOGLE_API_KEY MIDJOURNEY_TOKEN FIGMA_TOKEN CANVA_API_KEY PENPOT_TOKEN \
REPLICATE_API_TOKEN TOPAZ_API_KEY REMOVE_BG_API_KEY FIREFLY_TOKEN; do
[ -n "${!e}" ] && echo "$e: set" || echo "$e: unset"
done
Suggest-to-user template
To enable <capability> via <provider>, please set <ENV_VAR>.
Cost: <cost notes>
Quality: <quality tier>
Reply 'skip' to fall back to <next provider>.
Examples:
- To enable sota AI image generation via OpenAI GPT-Image-1, please set
OPENAI_API_KEY. Cost: metered per-image. Quality: sota for photoreal + text rendering. Reply 'skip' to fall back to localcomfyui(FLUX/SDXL). - To round-trip UI mockups with Figma, please set
FIGMA_TOKEN. Cost: free tier works for most users. Quality: sota (design system aware). Reply 'skip' to fall back tosketchordrawiowireframes.
Capabilities
visual.generate — AI image generation
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
cli-anything-comfyui |
harness-cli | ComfyUI + weights | free | high | yes |
jimeng |
public-cli | dreamina bin |
metered | high | no |
diffusers (SD/SDXL/FLUX) |
python | pkg + weights + GPU | free | good-high | yes |
replicate |
python | REPLICATE_API_TOKEN |
metered | high | no |
| OpenAI GPT-Image-1 | api | OPENAI_API_KEY |
metered | sota | no |
| Ideogram | api | IDEOGRAM_API_KEY |
metered | sota | no |
| Stability AI | api | STABILITY_API_KEY |
metered | high | no |
| Recraft | api | RECRAFT_API_KEY |
paid | sota | no |
| Google Imagen / Nano Banana | api | GOOGLE_API_KEY |
metered | high | no |
| Midjourney (Discord bridge) | api | MIDJOURNEY_TOKEN |
paid | sota | no |
| Adobe Firefly | api | FIREFLY_TOKEN |
paid | high | no |
visual.edit.raster — raster editing
| Provider | Kind | Requires | Cost | Quality | Offline |
|---|---|---|---|---|---|
cli-anything-gimp |
harness-cli | GIMP installed | free | sota | yes |
cli-anything-krita |
harness-cli | Krita installed | free | sota | yes |
Pillow |
python | pkg | free | good | yes |
opencv-python |
python | pkg | free | high | yes |
scikit-image |
python | pkg | free | high | yes |
rembg (background removal) |
python | pkg | free | high | yes |
remove.bg |
api | REMOVE_BG_API_KEY |
metered | sota | no |
| Adobe Firefly | api | FIREFLY_TOKEN |
paid | sota | no |
| Cutout.pro | api | token | metered | high | no |
visual.edit.vector — vector editing
| Provider | Kind | Requires | Cost | Quality | Offline | |---
FAQ
Which tools does it cover?
It covers tools such as GIMP, Krita, Inkscape, ComfyUI, and drawio, along with several AI image services.
Does it work offline?
Yes, for most tasks. GIMP, Krita, Inkscape, and local diffusers cover almost everything offline.
Does it cover Figma?
No, Figma is noted as a gap in this set of tools.
Details
Original description by the author
Capability-based multi-tool matrix for image and graphic design: AI generation, raster/vector editing, UI mockups, diagrams, upscaling, photo library, and publishing.
repo: HKUDS/CLI-Anything
Popularity
- GitHub stars
- 58k
- Ranking position
- #3191
- License
- Apache-2.0
- Updated
- 9/21/2026
Comments
- …
More skills from this repository
cli-anything-3mf
58kLets your agent inspect and fix 3D printing files, including finding round holes, resizing them, repairing meshes, and comparing two files.
cli-anything-qgis
58kLets your agent open, edit, and export QGIS map projects from the terminal, including layers, features, print layouts, and processing tools.
cli-anything-adguardhome
58kLets your agent manage AdGuard Home, a network-wide ad blocker, including filters, DNS rewrites, clients, and query logs.
cli-anything-anygen
58kLets your agent generate slides, documents, websites, and diagrams from a written prompt using the AnyGen service.
Similar skills
gifgrep
394kLets your agent search GIF libraries, preview results, download a GIF, and pull out a still frame or a contact sheet of frames.
meme-maker
394kLets your agent pick a meme template, add your own captions, and create the meme as an SVG or PNG image.
ios-icon-gen
280kLets your agent generate icons for iOS apps. It uses Apple symbols or icons from other sources to create the correct files.