Cli Hub Matrix Image Design logo

Cli Hub Matrix Image Design

OrganizationPopular
HKUDS
cli-hub-matrix-image-design

Capability-based multi-tool matrix for image and graphic design: AI generation, raster/vector editing, UI mockups, diagrams, upscaling, photo library, and publishing.

Overview

PublisherHKUDS
RepositoryCLI-Anything
Skill namecli-hub-matrix-image-design
Stars
49.5K
Forks
4.6K
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by HKUDS on GitHub. Read the source before you install it.

Installation

Install the Cli Hub Matrix Image Design AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HKUDS/CLI-Anything.git /tmp/CLI-Anything
mkdir -p .claude/skills
cp -r /tmp/CLI-Anything/cli-hub-matrix/image-design .claude/skills/cli-hub-matrix-image-design
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cli Hub Matrix Image Design in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cli Hub Matrix Image Design on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cli Hub Matrix Image Design is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

bash
cli-hub matrix install image-design
cli-hub matrix info    image-design
cli-hub matrix preflight image-design --json

Provider selection constraints

  1. Use preflight as an availability report, not as a provider selector.
  2. Treat provider order as documentation order only.
  3. Choose from user requirements, output quality bar, offline needs, credential state, install cost, and provider notes.
  4. 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.

bash
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 local comfyui (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 to sketch or drawio wireframes.

Capabilities

visual.generate — AI image generation

ProviderKindRequiresCostQualityOffline
cli-anything-comfyuiharness-cliComfyUI + weightsfreehighyes
jimengpublic-clidreamina binmeteredhighno
diffusers (SD/SDXL/FLUX)pythonpkg + weights + GPUfreegood-highyes
replicatepythonREPLICATE_API_TOKENmeteredhighno
OpenAI GPT-Image-1apiOPENAI_API_KEYmeteredsotano
IdeogramapiIDEOGRAM_API_KEYmeteredsotano
Stability AIapiSTABILITY_API_KEYmeteredhighno
RecraftapiRECRAFT_API_KEYpaidsotano
Google Imagen / Nano BananaapiGOOGLE_API_KEYmeteredhighno
Midjourney (Discord bridge)apiMIDJOURNEY_TOKENpaidsotano
Adobe FireflyapiFIREFLY_TOKENpaidhighno

visual.edit.raster — raster editing

ProviderKindRequiresCostQualityOffline
cli-anything-gimpharness-cliGIMP installedfreesotayes
cli-anything-kritaharness-cliKrita installedfreesotayes
Pillowpythonpkgfreegoodyes
opencv-pythonpythonpkgfreehighyes
scikit-imagepythonpkgfreehighyes
rembg (background removal)pythonpkgfreehighyes
remove.bgapiREMOVE_BG_API_KEYmeteredsotano
Adobe FireflyapiFIREFLY_TOKENpaidsotano
Cutout.proapitokenmeteredhighno

visual.edit.vector — vector editing

ProviderKindRequiresCostQualityOffline
cli-anything-inkscapeharness-cliInkscape installedfreesotayes
svgwritepythonpkgfreegoodyes
cairosvgpythonpkgfreegoodyes
svgpathtoolspythonpkgfreehighyes
vpype (vector post-processing)pythonpkgfreehighyes

visual.mockup — UI / mockup / wireframe

ProviderKindRequiresCostQualityOffline
cli-anything-sketchharness-cliSketch installed (macOS)paid appsotayes
cli-anything-drawioharness-clidrawio installedfreehighyes
drawio-desktopnativebinaryfreehighyes
penpotnativebinary / self-hostfreehighyes
Figma APIapiFIGMA_TOKENfree tiersotano
Canva APIapiCANVA_API_KEYpaidhighno
Penpot APIapiPENPOT_TOKENfreehighno

Known gap — Figma is the cross-scenario gap (S5 and S7).

visual.diagram — diagrams / flowcharts

ProviderKindRequiresCostQualityOffline
cli-anything-drawioharness-clidrawiofreesotayes
cli-anything-mermaidharness-climermaid-clifreehighyes
graphviz (dot)nativebinaryfreehighyes
plantumlnativebinary + javafreehighyes

visual.upscale — super-resolution

ProviderKindRequiresCostQualityOffline
Real-ESRGANpythonpkg + weightsfreehighyes
GFPGAN (faces)pythonpkg + weightsfreehighyes
upscaylnativebinaryfreehighyes
TopazapiTOPAZ_API_KEYpaidsotano
Replicate upscalerspythonREPLICATE_API_TOKENmeteredhighno

photo.library — DAM / photo organization

ProviderKindRequiresCostQualityOffline
exiftool + Pillownative+pythonbinary+pkgfreehighyes
digikamnativebinaryfreehighyes
photoprismnativebinary / self-hostfreehighyes
Google Photos APIapiOAuthfree tierhighno

photo.develop — RAW processing

ProviderKindRequiresCostQualityOffline
rawpypythonpkgfreehighyes
darktable-clinativebinaryfreesotayes
rawtherapee-clinativebinaryfreesotayes
Adobe Lightroom APIapiAdobe credspaidsotano

publish.cms — publish images / articles to a CMS

ProviderKindRequiresCostQualityOffline
contentfulpublic-clibin + tokenmeteredhighno
sanitypublic-clibin + tokenmeteredhighno
hugo / mkdocsnative/pythonbinary/pkgfreehighyes
WordPress RESTapiapp passwordfreehighno

Recipes

  • social-card — generate + compose a social sharing image. Uses: visual.generate, visual.edit.raster, publish.cms.

  • logo-set — design a logo + size variants. Uses: visual.edit.vector, visual.edit.raster (rasterize), batch export.

  • ui-wireframe — mockup a UI flow. Uses: visual.mockup, optional visual.edit.vector polish.

  • photo-batch — RAW ingest → develop → edit → library → publish. Uses: photo.develop, visual.edit.raster, photo.library, publish.cms.

  • icon-pack — systematic icon production. Uses: visual.edit.vector, batch rasterize via cairosvg.

  • thumbnail-set — thumbnails for a video/article series. Uses: visual.generate (hero imagery), visual.edit.raster (layout, type), batch variant export.

  • ai-concept-art — generate → upscale → touch up. Uses: visual.generate, visual.upscale, visual.edit.raster.


Known gaps

  • Figma — cross-scenario gap (UI/UX loop for S5 and S7). API escalation works but we lack a native harness.
  • photo.library / photo.develop — strong native CLIs, no harness.
  • Midjourney — Discord bridge only; no clean API.

Agent guidance

  • Match generation provider to intent. GPT-Image-1 for text-in-image and photoreal; Ideogram for poster/typography; FLUX for artistic; Midjourney for stylized beauty shots; Stability for control+speed.
  • Vector-first for design systems — logos, icons, illustrations start in visual.edit.vector, rasterize last.
  • Preserve color profiles. exiftool + Pillow handles ICC; when moving between rawpy and Pillow, convert to sRGB at the boundary.
  • AI + edit chain. Agents should plan: generate → background removal (rembg) → composite (visual.edit.raster) → export. Skipping cleanup is the most common visible defect.
  • Workspace discipline. Keep generation seeds + prompts in a manifest alongside output PNGs so variations are reproducible.

Frequently asked questions

What does the Cli Hub Matrix Image Design AI skill do?

Capability-based multi-tool matrix for image and graphic design: AI generation, raster/vector editing, UI mockups, diagrams, upscaling, photo library, and publishing.

Why use Cli Hub Matrix Image Design on TypingMind?

Because you install it once and use it with any model. Cli Hub Matrix Image Design is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cli Hub Matrix Image Design in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/HKUDS/CLI-Anything/tree/main/cli-hub-matrix/image-design. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Cli Hub Matrix Image Design?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cli Hub Matrix Image Design?

As many as you like. As long as a model supports skills, you can use Cli Hub Matrix Image Design with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cli Hub Matrix Image Design AI skill free?

Yes. It is published on GitHub by HKUDS under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇