| name | description |
|---|---|
images |
Generate images, infographics, and diagrams using Gemini AI |
Use this skill when Tim asks for visual content: infographics, diagrams, illustrations, or any image.
# Generate an image
python generate_image.py "Your detailed prompt here" state/images/output.png
# Send to Tim
# Use the send_image tool with the pathGemini 3 Pro Image is a reasoning model - it thinks through complex prompts and can use Google Search for grounded results. Write prompts that leverage this.
Being a reasoning model, you should not be overly specific. Instead, surface information or theories. Focus on the ideas you want conveyed and let the model be the artist. It's remarkably good at figure out how to best layout information for easy consumption.
Specify:
- Topic - be specific about the topic
- The Focus - Don't boil the ocean, tell it what you're most interested in seeing
- Visual style - I've noticed that "simple colors" goes a long way to removing visual noise
Example:
Create an infographic titled "Morning Routine for Focus". The important phases are Wake Up, Hydrate, Move, & Plan.
Use simple colors and make it easy to follow.
Use render_mermaid.py for standard mermaid diagrams - it's free and fast via mermaid.ink API:
# Pipe mermaid code directly
python render_mermaid.py state/images/diagram.png << 'EOF'
graph TD
A[Start] --> B[Process] --> C[End]
EOFOnly use Gemini for diagrams if Tim wants a stylized/artistic version.
- Save to:
state/images/(gitignored) - Use descriptive names:
morning-routine.png,project-arch.png - Files persist locally but aren't committed
- Understand what Tim wants visualized
- Gather any data/context from state files if relevant
- Write a detailed, structured prompt
- Generate:
python generate_image.py "prompt" state/images/filename.png - Send: use
send_imagetool with path and optional caption - If Tim wants changes, adjust prompt and regenerate
- Be explicit - vague prompts get generic results
- Include text verbatim - if you want specific words, write them out
- Specify colors - hex codes or descriptive (soft blue, warm orange)
- Leverage reasoning - Gemini can research and incorporate real data