Generate illustrations, technical diagrams, mermaid flowcharts, infographics, header images, thumbnails, comics, and PAI pack icons using multiple rendering backends. USE WHEN art, header images, visualizations, mermaid, flowchart, technical diagram, infographic, PAI icon, pack icon, YouTube thumbnails, ad hoc thumbnails, annotated screenshots, aphorisms, comics, comparisons, D3 dashboards, embossed logo wallpaper, essay illustration, frameworks, maps, recipe cards, remove background, stats, taxonomies, timelines, brand wallpaper, visualize, generate image, Midjourney, compose thumbnail, generate prompt.
Complete visual content system for creating illustrations, diagrams, and visual content.
Before executing, check for user customizations at:
~/.claude/PAI/USER/SKILLCUSTOMIZATIONS/Art/
If this directory exists, load and apply:
PREFERENCES.md - Aesthetic preferences, default model, output locationCharacterSpecs.md - Character design specificationsSceneConstruction.md - Scene composition guidelinesThese override default behavior. If the directory does not exist, proceed with skill defaults.
You MUST send this notification BEFORE doing anything else when this skill is invoked.
Send voice notification:
curl -s -X POST http://localhost:8888/notify \
-H "Content-Type: application/json" \
-d '{"message": "Running the WORKFLOWNAME workflow in the Art skill to ACTION"}' \
> /dev/null 2>&1 &
Output text notification:
Running the **WorkflowName** workflow in the **Art** skill to ACTION...
This is not optional. Execute this curl command immediately upon skill invocation.
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā ļø ALL GENERATED IMAGES GO TO ~/Downloads/ FIRST ā ļø
ā ļø NEVER output directly to project directories ā ļø
ā ļø User MUST preview in Finder/Preview before use ā ļø
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
This applies to ALL workflows in this skill.
Route to the appropriate workflow based on the request.
Workflows/RemoveBackground.mdWorkflows/YouTubeThumbnailChecklist.mdWorkflows/Essay.mdWorkflows/D3Dashboards.mdWorkflows/Visualize.mdWorkflows/Mermaid.mdWorkflows/TechnicalDiagrams.mdWorkflows/Taxonomies.mdWorkflows/Timelines.mdWorkflows/Frameworks.mdWorkflows/Comparisons.mdWorkflows/AnnotatedScreenshots.mdWorkflows/RecipeCards.mdWorkflows/Aphorisms.mdWorkflows/Maps.mdWorkflows/Stats.mdWorkflows/Comics.mdWorkflows/YouTubeThumbnailChecklist.mdWorkflows/CreatePAIPackIcon.mdDefault: Production-quality concept art style appropriate for editorial and technical content.
User customization defines specific aesthetic preferences including:
Load from: ~/.claude/PAI/USER/SKILLCUSTOMIZATIONS/Art/PREFERENCES.md
User customization may include reference images for consistent style.
Check ~/.claude/PAI/USER/SKILLCUSTOMIZATIONS/Art/PREFERENCES.md for:
Usage: Before generating images, load relevant user-provided references to match their preferred style.
Default model: Check user customization at SKILLCUSTOMIZATIONS/Art/PREFERENCES.md
Fallback: nano-banana-pro (Gemini 3 Pro)
Each model accepts different --size formats. Using the wrong format causes validation errors.
| Model | --size format | Valid values | Default |
|---|---|---|---|
flux | Aspect ratio | 1:1, 16:9, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 21:9 | 16:9 |
nano-banana | Aspect ratio | 1:1, 16:9, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 21:9 | 16:9 |
nano-banana-pro | Resolution tier | 1K, 2K, 4K (also accepts --aspect-ratio separately) | 2K |
gpt-image-1 | Pixel dimensions | 1024x1024, 1536x1024, 1024x1536 | 1024x1024 |
Note: nano-banana-pro uses --size for resolution quality and a separate --aspect-ratio flag for aspect ratio (defaults to 16:9).
ALL generated images MUST go to ~/Downloads/ first for preview and selection.
Never output directly to a project's public/images/ directory. User needs to review images in Preview before they're used.
Workflow:
~/Downloads/[descriptive-name].pngcms/public/images/)# CORRECT - Output to Downloads for preview
bun run ~/.claude/skills/Media/Art/Tools/Generate.ts \
--model nano-banana-pro \
--prompt "[PROMPT]" \
--size 2K \
--aspect-ratio 1:1 \
--thumbnail \
--output ~/Downloads/blog-header-concept.png
# After approval, copy to final location
cp ~/Downloads/blog-header-concept.png ${PROJECTS_DIR}/YourWebsite/cms/public/images/
cp ~/Downloads/blog-header-concept-thumb.png ${PROJECTS_DIR}/YourWebsite/cms/public/images/
For improved character or style consistency, use multiple --reference-image flags:
# Multiple reference images for better likeness
bun run ~/.claude/skills/Media/Art/Tools/Generate.ts \
--model nano-banana-pro \
--prompt "Person from references at a party..." \
--reference-image face1.jpg \
--reference-image face2.jpg \
--reference-image face3.jpg \
--size 2K \
--aspect-ratio 16:9 \
--output ~/Downloads/character-scene.png
API Limits (Gemini):
API keys in: ${PAI_DIR}/.env
Example 1: Blog header image
User: "create a header for my AI agents post"
ā Invokes ESSAY workflow
ā Generates charcoal sketch prompt
ā Creates image with architectural aesthetic
ā Saves to ~/Downloads/ for preview
ā After approval, copies to public/images/
Example 2: Technical architecture diagram
User: "make a diagram showing the SPQA pattern"
ā Invokes TECHNICALDIAGRAMS workflow
ā Creates structured architecture visual
ā Outputs PNG with consistent styling
Example 3: Comparison visualization
User: "visualize humans vs AI decision-making"
ā Invokes COMPARISONS workflow
ā Creates side-by-side visual
ā Charcoal sketch with labeled elements
Example 4: PAI pack icon
User: "create icon for the skill system pack"
ā Invokes CREATEPAIPACKICON workflow
ā Reads workflow from Workflows/CreatePAIPackIcon.md
ā Generates 1K image with --remove-bg for transparency
ā Resizes to 256x256 RGBA PNG
ā Outputs to ~/Downloads/ for preview
ā After approval, copies to ${PROJECTS_DIR}/PAI/Packs/icons/