infographics

Generate infographics with Nano Banana Pro using iterative Gemini 3 Pro quality review.

Updated Oct 7, 2022
One-click install
npx skills add https://github.com/tamagusko/linux-cfg --skill infographics-tamagusko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infographics
Source: https://github.com/tamagusko/linux-cfg/tree/main/dotfiles/claude/skills/infographics
Command: npx skills add https://github.com/tamagusko/linux-cfg --skill infographics-tamagusko

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, python-dotenv, and includes scripts (resource) and references (resource) components.

What problem does it solve? Creating professional infographics normally requires design skills and manual iteration; this Skill generates publication-quality infographics from natural language descriptions and automatically reviews and refines them until they meet a quality threshold. ## Core Features & Use Cases - AI Generation with Quality Review: Nano Banana Pro generates the infographic, then Gemini 3 Pro scores it against document-type thresholds (6.5-8.5/10) and regenerates only if below target. - 10 Types, 8 Styles, Colorblind-Safe Palettes: Supports statistical, timeline, process, comparison, list, geographic, hierarchical, anatomical, resume, and social types with industry style presets and Wong/IBM/Tol palettes. - Optional Research Phase: The --research flag uses Perplexity Sonar to gather accurate facts and statistics before generation. - Use Case: Run the script with a prompt like "Global AI market size and growth" with --type statistical --research to produce a data-accurate infographic plus a JSON review log with scores and critiques. ## Quick Start Ask the AI to generate a statistical infographic about your topic saved to figures/output.png using the infographics skill with the corporate style.

Frequently Asked Questions about infographics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an infographic with AI from a text prompt?

Run generate_infographic.py with a descriptive prompt, an output path via -o, and a --type flag such as statistical or timeline. The script calls Nano Banana Pro through OpenRouter and saves a versioned PNG plus a review log.

What infographic types and styles does the script support?

It supports 10 types including statistical, timeline, process, comparison, list, geographic, hierarchical, anatomical, resume, and social. Eight industry styles are available: corporate, healthcare, technology, nature, education, marketing, finance, and nonprofit.

How does the iterative quality review work?

After each generation, Gemini 3 Pro scores the image on layout, typography, data visualization, color, and impact. If the score meets the document-type threshold it stops early; otherwise it refines the prompt and regenerates up to the iteration limit.

Does infographic generation require an API key?

Yes, an OpenRouter API key is required, set via the OPENROUTER_API_KEY environment variable or the --api-key flag. Keys are available at openrouter.ai/keys.

How do I make infographics with accurate, up-to-date data?

Use the --research flag, which queries Perplexity Sonar Pro to gather 5-8 facts, statistics, and sources before generation. The researched content is injected into the generation prompt and saved to a research JSON file.

Why is text in my generated infographic unreadable?

Unreadable text usually means too much content in the prompt. Reduce the text, specify a --type for appropriate layout, and use --palette wong for colorblind-safe contrast; increase --iterations if quality scores stay low.