cli-hub-matrix-image-design

Selects and orchestrates image generation, editing, and publishing tools across a capability-based provider matrix.

48.8k|4.5k|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/HKUDS/CLI-Anything --skill cli-hub-matrix-image-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-hub-matrix-image-design
Source: https://github.com/HKUDS/CLI-Anything/tree/main/cli-hub-matrix/image-design
Command: npx skills add https://github.com/HKUDS/CLI-Anything --skill cli-hub-matrix-image-design

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Choosing the right tool for image and graphic design work is hard when dozens of CLIs, Python libraries, and paid APIs overlap in capability. This Skill provides a capability-based matrix that maps each design task (AI generation, raster editing, vector editing, mockups, diagrams, upscaling, photo management, publishing) to available providers, with preflight checks for installed binaries, Python packages, and API credentials.

Core Features & Use Cases

  • Capability-to-provider matrix: Maps nine capabilities (visual.generate, visual.edit.raster, visual.edit.vector, visual.mockup, visual.diagram, visual.upscale, photo.library, photo.develop, publish.cms) to providers like GIMP, Krita, Inkscape, ComfyUI, drawio, and paid APIs, with cost, quality, and offline annotations.
  • Preflight environment probing: Detects installed binaries, importable Python modules, and set API keys so agents pick only providers that actually work in the current environment.
  • Ready-made recipes: Chains capabilities into workflows such as social-card, logo-set, ui-wireframe, photo-batch, icon-pack, thumbnail-set, and ai-concept-art.
  • Use Case: An agent asked to produce a social sharing image runs preflight, finds ComfyUI and GIMP available offline, generates the hero image, removes the background with rembg, composites text in GIMP, and exports the final PNG.

Quick Start

Run cli-hub matrix preflight image-design --json, then ask the agent to generate and edit an image using the best available provider from the matrix.

Frequently Asked Questions about cli-hub-matrix-image-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose an AI image generation provider for my task?

Match the provider to intent: GPT-Image-1 for text-in-image and photorealism, Ideogram for typography and posters, FLUX via ComfyUI or diffusers for artistic work, and Midjourney for stylized shots. Run the preflight check first to see which credentials and tools are actually available.

How to edit images offline without paid APIs?

GIMP, Krita, Inkscape, and local diffusers cover almost all offline editing needs. Python libraries like Pillow, opencv-python, scikit-image, and rembg handle programmatic raster edits and background removal without network access.

What tools does the matrix support for vector graphics and logos?

Inkscape via cli-anything-inkscape is the primary vector provider, rated sota quality and free. Python options include svgwrite, cairosvg, svgpathtools, and vpype for programmatic vector creation and post-processing.

Does the image design matrix support Figma?

Figma is a known gap: there is no native harness, so only API escalation via FIGMA_TOKEN works for round-tripping UI mockups. Fallbacks include Sketch on macOS, drawio, or Penpot for wireframing.

Why does the skill run a preflight check before selecting providers?

Preflight reports which binaries, Python modules, and API keys exist in the environment, preventing agents from choosing unavailable providers. It is an availability report, not a provider selector; final choice still depends on quality, cost, and offline requirements.

When should I escalate to paid image APIs instead of local tools?

Escalate to metered APIs like OpenAI, Stability, or Recraft only when credentials are already present or the user explicitly consents. Local options like ComfyUI and diffusers deliver good-to-high quality at no cost for most generation tasks.