/install doc-illustration-by-gpt-image-2
Doc Illustration
Use this skill to create polished illustrations for technical writing.
Quick workflow
- Identify the illustration type:
- architecture diagram
- process diagram
- knowledge card
- repo or module relationship diagram
- technical infographic
- Pick a style profile:
- default:
flat-tech-infographic - optional:
flat-illustration,sketchnote,soft-tech-diagram,repo-architecture-clean
- default:
- If the user supplied reference images, treat them as style guidance only.
- Prefer document-friendly landscape output unless the user requests another ratio.
- Prefer concise bilingual labels and short notes over paragraph-heavy copy.
- If the user wants to inspect the prompt first, use
--dry-run. - For live generation, run the bundled script.
Script
Use:
uv run scripts/generate_doc_illustration.py \
--title "RAG Pipeline Overview" \
--brief "Create a technical infographic showing ingestion, chunking, embedding, retrieval, reranking, and answer synthesis." \
--style-profile flat-tech-infographic
Use --mode reference+text --reference-image \x3Cpath> when the new image should follow the style of one or more reference images.
Use --dry-run when the user wants the exact prompt and parameters without calling the API.
Default output settings:
--size autofor best compatibility with GPT image providers--quality autofor high-fidelity default behavior without over-constraining the request- use
--size doc-hdfor an explicit landscape document illustration size (1536x1024) - use
--size doc-2kfor a 2K landscape document illustration size (2048x1152) - use
--size doc-4kfor a 4K landscape document illustration size (3840x2160)
Authentication
- Read
OPENAI_API_KEYfrom the current shell first. - Read
OPENAI_BASE_URLfrom the current shell second. - If
OPENAI_API_KEYis missing for a live generation run, prompt temporarily in an interactive shell or tell the user to export the environment variable. - Do not write credentials to disk.
Model selection
- Use
gpt-image-2for official OpenAI and forhttps://aihubmix.com/v1. - Use
openai/gpt-image-2forhttps://api.ofox.ai/v1. - Default back to
gpt-image-2unless a provider requires a namespaced model name.
References
- Read
references/style-profiles.mdwhen selecting or explaining styles. - Read
references/prompt-patterns.mdwhen the requested illustration type needs prompt refinement. - Read
references/openai-image-workflow.mdwhen debugging auth, request modes, or output behavior. - Read
references/openai-official-links.mdwhen you need the official OpenAI docs for GPT Image, Images API, or Python examples.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install doc-illustration-by-gpt-image-2 - 安装完成后,直接呼叫该 Skill 的名称或使用
/doc-illustration-by-gpt-image-2触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
doc-illustration-by-gpt-image-2 是什么?
Generate technical-document illustrations, design-note infographics, and repo architecture visuals using OpenAI GPT Image 2. Use when agent needs to turn AI... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 64 次。
如何安装 doc-illustration-by-gpt-image-2?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install doc-illustration-by-gpt-image-2」即可一键安装,无需额外配置。
doc-illustration-by-gpt-image-2 是免费的吗?
是的,doc-illustration-by-gpt-image-2 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
doc-illustration-by-gpt-image-2 支持哪些平台?
doc-illustration-by-gpt-image-2 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 doc-illustration-by-gpt-image-2?
由 Erik Lee(@eriklee1895)开发并维护,当前版本 v1.0.0。