cli-hub-matrix-image-design
它能做什么
这个技能指导智能体使用一组图像工具,包括 GIMP、Krita、Inkscape 以及 AI 图像生成器。适合希望在一个地方规划和完成图像工作的设计师。
适用场景
- ✓当你想用命令行工具编辑照片或位图图像的时候。
- ✓当你想创建矢量图或图表的时候。
- ✓当你想生成 AI 图像,并需要帮助选择可用服务商的时候。
技能链接
https://github.com/HKUDS/CLI-Anything/blob/main/cli-hub-matrix/image-design/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我需要一个矢量格式的标志草稿,以及一张 AI 生成的背景图。应该使用哪些工具?”
每周 5 个新技能,1 分钟读完。
工作原理
该技能会检查你的电脑上有哪些图像工具可用,然后为每项任务选择最合适的工具。它优先使用离线工具,只有在已设置凭据或你同意的情况下才使用付费 AI 服务。
技术内容(原始 SKILL.md)
作者在 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 | |---
常见问题
它涵盖哪些工具?
它涵盖 GIMP、Krita、Inkscape、ComfyUI 和 drawio 等工具,以及多个 AI 图像服务。
它可以离线使用吗?
大多数任务可以。GIMP、Krita、Inkscape 和本地 diffusers 几乎可以离线完成所有工作。
它涵盖 Figma 吗?
不涵盖。Figma 在这套工具中被列为缺口。
详情
作者的原始描述
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
热度
- GitHub 星标
- 58k
- 排名
- #3191
- 许可证
- Apache-2.0
- 更新时间
- 2026/9/21
评论
- …
同一仓库的更多技能
cli-anything-3mf
58k帮你的智能体检查和修复 3D 打印文件,包括查找圆孔、调整孔径、修复网格,以及比较两个文件。
cli-anything-qgis
58k帮你的智能体在终端中打开、编辑和导出 QGIS 地图项目,包括图层、要素、打印布局和处理工具。
cli-anything-adguardhome
58k帮你的智能体管理 AdGuard Home,这是一款全网络广告拦截器,可管理过滤规则、DNS 重写、客户端和查询日志。
cli-anything-anygen
58k帮你的智能体借助 AnyGen 服务,根据文字提示生成幻灯片、文档、网站和图表。