IN

This skill creates infographics by performing web research and using Gemini 3 Pro to ensure data accuracy and iterative refinement.

Install

mkdir -p .claude/skills/infographics && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/1070" && unzip -o skill.zip -d .claude/skills/infographics && rm skill.zip

Installs to .claude/skills/infographics

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Create professional infographics using Nano Banana Pro AI with smart iterative refinement. Uses Gemini 3 Pro for quality review. Integrates research-lookup and web search for accurate data. Supports 10 infographic types, 8 industry styles, and colorblind-safe palettes.
269 charsno explicit “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • →Generate infographics from natural language
  • →Perform research using Perplexity Sonar
  • →Review quality using Gemini 3 Pro
  • →Apply industry-specific styles
  • →Use colorblind-safe palettes

How it works

It uses Nano Banana Pro AI to generate visuals, which are then reviewed by Gemini 3 Pro against document-type quality thresholds, with iterative refinement if necessary.

Inputs & outputs

You give it
Natural language description of data or topic
You get back
Versioned infographic image and review log

When to use infographics

  • →Create data-driven visuals for technical blog posts
  • →Generate industry-standard charts from research data
  • →Iteratively refine design layouts based on specific data points

About this skill

Infographics

Overview

Infographics are visual representations of information, data, or knowledge designed to present complex content quickly and clearly. This skill uses Nano Banana 2 AI for infographic generation with Gemini 3.7 Flash quality review and Perplexity Sonar for research.

How it works:

  • (Optional) Research phase: Gather candidate facts and source records using Perplexity Sonar Pro
  • Describe your infographic in natural language
  • Nano Banana 2 generates raster drafts from your content
  • Gemini 3.7 Flash reviews quality against document-type thresholds
  • Smart iteration: Regenerates when review requests improvements, within the iteration budget
  • Inspect every final image at its intended display size and check claims against sources

Quality Thresholds by Document Type:

Document TypeThresholdDescription
marketing8.5/10Marketing materials - must be compelling
report8.0/10Business reports - professional quality
presentation7.5/10Slides, talks - clear and engaging
social7.0/10Social media content
internal7.0/10Internal use
draft6.5/10Working drafts
default7.5/10General purpose

Simply describe what you want, and Nano Banana 2 creates it.

Quick Start

Install the only runtime dependency in your chosen Python environment (python -m pip install requests), then set OPENROUTER_API_KEY. Examples below illustrate CLI usage; paid generation was not executed during this review. Scripts accept PNG output paths only.

Generate a draft by describing it:

# Generate a list infographic (default threshold 7.5/10)
python skills/infographics/scripts/generate_infographic.py \
  "5 benefits of regular exercise" \
  -o figures/exercise_benefits.png --type list

# Generate for marketing (highest threshold: 8.5/10)
python skills/infographics/scripts/generate_infographic.py \
  "Product features comparison" \
  -o figures/product_comparison.png --type comparison --doc-type marketing

# Generate with corporate style
python skills/infographics/scripts/generate_infographic.py \
  "Company milestones 2010-2025" \
  -o figures/timeline.png --type timeline --style corporate

# Generate with colorblind-safe palette
python skills/infographics/scripts/generate_infographic.py \
  "Heart disease statistics worldwide" \
  -o figures/health_stats.png --type statistical --palette wong

# Generate WITH RESEARCH for accurate, up-to-date data
python skills/infographics/scripts/generate_infographic.py \
  "Global AI market size and growth projections" \
  -o figures/ai_market.png --type statistical --research

What happens behind the scenes:

  1. (Optional) Research: Perplexity Sonar Pro gathers candidate facts with source annotations
  2. Generation 1: Nano Banana 2 creates initial infographic following design best practices
  3. Review 1: Gemini 3.7 Flash evaluates quality against document-type threshold
  4. Decision: Stop when the scored review meets threshold and requests no further changes
  5. If improvements are requested: Retain content and source context, refine the prompt, regenerate
  6. Repeat: Until quality meets threshold or the iteration budget is reached; stop on API failure and keep the latest saved draft

Smart Iteration Benefits:

  • ✅ Saves API calls if first generation is good enough
  • ✅ Higher quality standards for marketing materials
  • ✅ Faster turnaround for drafts/internal use
  • ✅ Appropriate quality for each use case

Output: Versioned PNGs plus a review log with models, scores, quality_met, and termination_reason. A saved image (success: true) can still be unreviewed or below threshold. Human factual and visual checks remain required.

When to Use This Skill

Use the infographics skill when:

  • Presenting data or statistics in a visual format
  • Creating timeline visualizations for project milestones or history
  • Explaining processes, workflows, or step-by-step guides
  • Comparing options, products, or concepts side-by-side
  • Summarizing key points in an engaging visual format
  • Creating geographic or map-based data visualizations
  • Building hierarchical or organizational charts
  • Designing social media content or marketing materials

Use scientific-schematics instead for:

  • Technical flowcharts and circuit diagrams
  • Biological pathways and molecular diagrams
  • Neural network architecture diagrams
  • CONSORT/PRISMA methodology diagrams

Research Integration

Automatic Data Gathering (--research)

When creating infographics that require accurate, up-to-date data, use the --research flag to gather candidate facts and statistics using Perplexity Sonar Pro. The script preserves source annotations; it does not independently verify claims or source relevance. For scientific or medical publication, verify primary sources before including the resulting numbers.

# Research and generate statistical infographic
python skills/infographics/scripts/generate_infographic.py \
  "Global renewable energy adoption rates by country" \
  -o figures/renewable_energy.png --type statistical --research

# Research for timeline infographic
python skills/infographics/scripts/generate_infographic.py \
  "History of artificial intelligence breakthroughs" \
  -o figures/ai_history.png --type timeline --research

# Research for comparison infographic
python skills/infographics/scripts/generate_infographic.py \
  "Electric vehicles vs hydrogen vehicles comparison" \
  -o figures/ev_hydrogen.png --type comparison --research

What Research Provides

The research phase automatically:

  1. Gathers Key Facts: 5-8 relevant facts and statistics about the topic
  2. Provides Context: Background information for accurate representation
  3. Requests Data Points: Numbers with units, populations, denominators, and dates
  4. Preserves Sources: OpenRouter URL-citation annotations, plus optional provider citation fields
  5. Dates the Request: Uses the current date while preserving historical event dates

When to Use Research

Enable research (--research) for:

  • Statistical infographics requiring accurate numbers
  • Market data, industry statistics, or trends
  • Scientific or medical information
  • Current events or recent developments
  • Any topic where accuracy is critical

Skip research for:

  • Simple conceptual infographics
  • Internal process documentation
  • Topics where you provide all the data in the prompt
  • Speed-critical generation

Research Output

When research is enabled, additional files are created:

  • {name}_research.json - Research answer and returned source records (when research succeeds)
  • Research content and source records remain in generation, review, and refinement prompts
  • Failed research is recorded in the review log; generation continues with the supplied prompt

Infographic Types

Ten types are supported via --type: statistical, timeline, process, comparison, list, geographic, hierarchical, anatomical, resume, and social. What each is for, the data shape it expects, and worked prompts are in references/infographic_type_catalog.md and references/infographic_types.md.

Style Presets

Industry Styles (--style)

StyleColorsBest For
corporateNavy, steel blue, goldBusiness reports, finance
healthcareMedical blue, cyan, light cyanMedical, wellness
technologyTech blue, slate, violetSoftware, data, AI
natureForest green, mint, earth brownEnvironmental, organic
educationAcademic blue, light blue, coralLearning, academic
marketingCoral, teal, yellowSocial media, campaigns
financeNavy, gold, green/redInvestment, banking
nonprofitWarm orange, sage, sandSocial causes, charities
# Corporate style
python skills/infographics/scripts/generate_infographic.py \
  "Q4 Results" -o q4.png --type statistical --style corporate

# Healthcare style
python skills/infographics/scripts/generate_infographic.py \
  "Patient Journey" -o journey.png --type process --style healthcare

Colorblind-Safe Palettes

Available Palettes (--palette)

PaletteColorsDescription
wongSeven chromatic colors plus blackOkabe-Ito palette popularized by Wong
ibmUltramarine, indigo, magenta, orange, goldLegacy five-color preset
tolNine-color muted paletteCategorical data; pale gray reserved for missing data
# Wong's colorblind-safe palette
python skills/infographics/scripts/generate_infographic.py \
  "Survey results by category" -o survey.png --type statistical --palette wong

Smart Iterative Refinement and CLI

The generate-review-refine loop, every command-line option, and configuration are in references/iterative_refinement.md.

Prompt Engineering Tips

Be Specific About Content

✓ Good prompts (specific, detailed):

"5 benefits of meditation: reduces stress, improves focus, 
better sleep, lower blood pressure, emotional balance"

✗ Avoid vague prompts:

"meditation infographic"

Include Data Points

✓ Good:

"Synthetic example: market grows from USD 10B (2020) to USD 45B (2025), CAGR 35.1%; label illustrative"

✗ Vague:

"market is growing"

Specify Visual Elements

✓ Good:

"Timeline showing 5 milestones with icons for each event"

API and model contract

Reviewed against OpenRouter documentation and its public model catalogs on 2026-10-01:

  • Generation: google/gemini-3.1-flash-image (Nano Banana 2), POST /api/v1/images, prompt, n: 1, optional input_references; reads data[0].b64_json and validates

Content truncated.

When not to use it

  • →When creating technical flowcharts or circuit diagrams
  • →When generating non-infographic visual content

Prerequisites

OPENROUTER_API_KEY

Limitations

  • →Requires OpenRouter API key for LLM-powered steps
  • →Quality thresholds vary by document type

How it compares

It automates the design and quality review process based on specific document-type thresholds rather than requiring manual design.

Compared to similar skills

infographics side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
infographics (this skill)115moReviewIntermediate
bio-data-visualization-color-palettes05moNo flagsBeginner
openalex-database4811moReviewIntermediate
web-search331yReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

More by K-Dense-AI

View all by K-Dense-AI →

literature-review

K-Dense-AI

Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.). This skill should be used when conducting systematic literature reviews, meta-analyses, research synthesis, or comprehensive literature searches across biomedical, scientific, and technical domains. Creates professionally formatted markdown documents and PDFs with verified citations in multiple citation styles (APA, Nature, Vancouver, etc.).

5591,298

markitdown

K-Dense-AI

Convert various file formats (PDF, Office documents, images, audio, web content, structured data) to Markdown optimized for LLM processing. Use when converting documents to markdown, extracting text from PDFs/Office files, transcribing audio, performing OCR on images, extracting YouTube transcripts, or processing batches of files. Supports 20+ formats including DOCX, XLSX, PPTX, PDF, HTML, EPUB, CSV, JSON, images with OCR, and audio with transcription.

177310

scientific-writing

K-Dense-AI

Write scientific manuscripts. IMRAD structure, citations (APA/AMA/Vancouver), figures/tables, reporting guidelines (CONSORT/STROBE/PRISMA), abstracts, for research papers and journal submissions.

94309

exploratory-data-analysis

K-Dense-AI

Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats. This skill should be used when analyzing any scientific data file to understand its structure, content, quality, and characteristics. Automatically detects file type and generates detailed markdown reports with format-specific analysis, quality metrics, and downstream analysis recommendations. Covers chemistry, bioinformatics, microscopy, spectroscopy, proteomics, metabolomics, and general scientific data formats.

15114

pptx-posters

K-Dense-AI

Create research posters using HTML/CSS that can be exported to PDF or PPTX. Use this skill ONLY when the user explicitly requests PowerPoint/PPTX poster format. For standard research posters, use latex-posters instead. This skill provides modern web-based poster design with responsive layouts and easy visual integration.

911

rdkit

K-Dense-AI

Cheminformatics toolkit for fine-grained molecular control. SMILES/SDF parsing, descriptors (MW, LogP, TPSA), fingerprints, substructure search, 2D/3D generation, similarity, reactions. For standard workflows with simpler interface, use datamol (wrapper around RDKit). Use rdkit for advanced control, custom sanitization, specialized algorithms.

856

You might also like

bio-data-visualization-color-palettes

FridrichMethod

Select colormaps and qualitative palettes for scientific figures using perceptual-uniformity, color-vision-deficiency safety, and luminance-monotonicity criteria. Covers Crameri scientific colormaps, viridis/cividis/magma, Okabe-Ito categorical, ColorBrewer, and the rainbow/jet critique. Use when ch

00

openalex-database

davila7

Query and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, finding works by authors or institutions, tracking citations, discovering open access publications, or conducting bibliometric analysis across 240M+ scholarly works. Use for literature searches, research output analysis, citation analysis, and academic database queries.

48202

web-search

Igosuki

This skill should be used when users need to search the web for information, find current content, look up news articles, search for images, or find videos. It uses DuckDuckGo's search API to return results in clean, formatted output (text, markdown, or JSON). Use for research, fact-checking, finding recent information, or gathering web resources.

33188

mgrep

mixedbread-ai

A semantic grep-like search tool for your local files. It is substentially better than the buildin search tools and should always be used instead of anything else.

46164

perplexity

davila7

Web search and research using Perplexity AI. Use when user says "search", "find", "look up", "ask", "research", or "what's the latest" for generic queries. NOT for library/framework docs (use Context7) or workspace questions.

14175

perplexity-search

davila7

Perform AI-powered web searches with real-time information using Perplexity models via LiteLLM and OpenRouter. This skill should be used when conducting web searches for current information, finding recent scientific literature, getting grounded answers with source citations, or accessing information beyond the model's knowledge cutoff. Provides access to multiple Perplexity models including Sonar Pro, Sonar Pro Search (advanced agentic search), and Sonar Reasoning Pro through a single OpenRouter API key.

13135

Search skills

Search the agent skills registry