/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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install doc-illustration-by-gpt-image-2 - After installation, invoke the skill by name or use
/doc-illustration-by-gpt-image-2 - Provide required inputs per the skill's parameter spec and get structured output
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 64 downloads so far.
How do I install doc-illustration-by-gpt-image-2?
Run "/install doc-illustration-by-gpt-image-2" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is doc-illustration-by-gpt-image-2 free?
Yes, doc-illustration-by-gpt-image-2 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does doc-illustration-by-gpt-image-2 support?
doc-illustration-by-gpt-image-2 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created doc-illustration-by-gpt-image-2?
It is built and maintained by Erik Lee (@eriklee1895); the current version is v1.0.0.