Agent skill

Chart Image Generator

by wentorai in wentorai/research-plugins

Generate publication-quality chart images from research data

MITAuto-check passedData & Analytics

Install Chart Image Generator

skills CLI
$ npx skills add wentorai/research-plugins --skill chart-image-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wentorai/research-plugins chart-image-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/analysis/dataviz/chart-image-generator .claude/skills/chart-image-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
chart-image-generator
GitHub stars
298
Used in
1 other repo
Token cost
~2.1k tokens
SKILL.md length
425 words
Files
1
Skills in repo
405
Repo updated
First seen
Licence
MIT

At a glance

Generate publication-quality chart images from research data

  • Tasks that involve Data visualization
  • SKILL.md covers Overview, Academic Figure Styling, Chart Type Selection Guide and Generating Common Academic…, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Image generation

What it does

Chart Image Generator is an agent skill from wentorai/research-plugins. Generate publication-quality chart images from research data

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Data & Analytics, covering Data visualization and Image generation. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.

When your agent uses it

  • Tasks that involve Data visualization
  • Tasks that involve Image generation

Example prompts

  • “/chart-image-generator”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit bf44b3c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Chart Image Generator loads about 2.1k tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 425 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~21
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 425 words, ~2,094 tokens.

Download SKILL.mdSave it as .claude/skills/chart-image-generator/SKILL.md (or your agent's skills folder).
name
chart-image-generator
description
Generate publication-quality chart images from research data

Chart Image Generator

A skill for generating publication-quality chart images from research data using Python visualization libraries. Covers chart type selection, styling for academic journals, multi-panel layouts, color accessibility, and export at the correct resolution and format for submission.

Overview

Creating figures for academic publications requires more than just plotting data. Journals have specific requirements for resolution (typically 300-600 DPI), file format (TIFF, EPS, PDF, or high-resolution PNG), font sizes (often 8-12pt in the final printed figure), line weights, and color accessibility. This skill automates the production of figures that meet these standards, reducing the time researchers spend on manual formatting and ensuring consistency across all figures in a manuscript.

The skill supports common chart types used in academic research: scatter plots, bar charts, line plots, box plots, violin plots, heatmaps, forest plots, Kaplan-Meier curves, and multi-panel composite figures. All examples use matplotlib and seaborn with a custom academic styling configuration.

Academic Figure Styling

Journal-Ready Style Configuration
python
import matplotlib.pyplot as plt
import matplotlib as mpl

def set_academic_style():
    """
    Configure matplotlib for publication-quality figures.
    Matches common requirements for Nature, Science, PLOS, IEEE journals.
    """
    plt.rcParams.update({
        # Font settings
        'font.family': 'sans-serif',
        'font.sans-serif': ['Arial', 'Helvetica', 'DejaVu Sans'],
        'font.size': 8,
        'axes.titlesize': 9,
        'axes.labelsize': 8,
        'xtick.labelsize': 7,
        'ytick.labelsize': 7,
        'legend.fontsize': 7,

        # Line and marker settings
        'lines.linewidth': 1.0,
        'lines.markersize': 4,
        'axes.linewidth': 0.5,
        'xtick.major.width': 0.5,
        'ytick.major.width': 0.5,

        # Grid and background
        'axes.grid': False,
        'axes.facecolor': 'white',
        'figure.facecolor': 'white',

        # Legend
        'legend.frameon': False,
        'legend.borderpad': 0.3,

        # Save settings
        'savefig.dpi': 300,
        'savefig.bbox': 'tight',
        'savefig.pad_inches': 0.05,

        # Use Type 1 fonts for EPS/PDF (required by many journals)
        'pdf.fonttype': 42,
        'ps.fonttype': 42,
    })

# Common journal figure widths (in inches):
SINGLE_COLUMN = 3.5   # ~89mm (Nature, Science, PLOS)
DOUBLE_COLUMN = 7.0   # ~178mm
ONE_AND_HALF = 5.5    # ~140mm
Accessible Color Palettes
python
# Colorblind-safe palettes for academic figures
PALETTES = {
    'categorical_8': [
        '#332288', '#88CCEE', '#44AA99', '#117733',
        '#999933', '#DDCC77', '#CC6677', '#882255'
    ],  # Tol's qualitative palette

    'sequential': 'viridis',  # Perceptually uniform

    'diverging': 'RdBu_r',   # Red-Blue diverging

    'binary': ['#0072B2', '#D55E00'],  # Blue and vermilion
}

Chart Type Selection Guide

Data PatternRecommended ChartWhen to Use
Distribution of one variableHistogram, KDE, violinShowing data spread
Comparing groupsBox plot, violin, bar + error barsGroup differences
Two continuous variablesScatter plotCorrelation, regression
Trends over timeLine plotTime series, longitudinal
ProportionsStacked bar, pie (sparingly)Composition
Correlation matrixHeatmapMany variable pairs
Effect sizes + CIsForest plotMeta-analysis, multi-model
Survival dataKaplan-Meier curveTime-to-event

Generating Common Academic Charts

Scatter Plot with Regression Line
python
import numpy as np
import seaborn as sns

def scatter_with_regression(x, y, xlabel, ylabel, title, output_path,
                            groups=None, group_label=None):
    """
    Create a scatter plot with regression line and confidence interval.
    """
    set_academic_style()
    fig, ax = plt.subplots(figsize=(SINGLE_COLUMN, SINGLE_COLUMN * 0.8))

    if groups is not None:
        for group_val in sorted(set(groups)):
            mask = groups == group_val
            ax.scatter(x[mask], y[mask], s=15, alpha=0.7, label=group_val)
        ax.legend(title=group_label)
    else:
        ax.scatter(x, y, s=15, alpha=0.7, color=PALETTES['binary'][0])

    # Add regression line
    from scipy import stats
    slope, intercept, r, p, se = stats.linregress(x, y)
    x_line = np.linspace(x.min(), x.max(), 100)
    ax.plot(x_line, slope * x_line + intercept, color='#CC6677',
            linewidth=1.0, linestyle='--')

    # Annotate with statistics
    ax.text(0.05, 0.95, f'r = {r:.3f}\np = {p:.3f}',
            transform=ax.transAxes, verticalalignment='top', fontsize=7)

    ax.set_xlabel(xlabel)
    ax.set_ylabel(ylabel)
    ax.set_title(title)

    fig.savefig(output_path, dpi=300, bbox_inches='tight')
    plt.close(fig)
    return output_path
Multi-Panel Composite Figure
python
def create_multipanel_figure(panels: list, ncols: int = 2,
                              output_path: str = 'figure.pdf'):
    """
    Create a multi-panel figure with automatic panel labels (A, B, C, ...).

    Args:
        panels: List of dicts with 'plot_func', 'args', 'title'
        ncols: Number of columns
        output_path: Output file path
    """
    set_academic_style()
    nrows = int(np.ceil(len(panels) / ncols))
    fig, axes = plt.subplots(nrows, ncols,
                              figsize=(DOUBLE_COLUMN, 3.0 * nrows))
    axes = axes.flatten() if hasattr(axes, 'flatten') else [axes]

    for i, (ax, panel) in enumerate(zip(axes, panels)):
        panel['plot_func'](ax, **panel.get('args', {}))
        # Add panel label (A, B, C, ...)
        ax.text(-0.15, 1.08, chr(65 + i), transform=ax.transAxes,
                fontsize=11, fontweight='bold', va='top')
        if 'title' in panel:
            ax.set_title(panel['title'])

    # Hide unused panels
    for ax in axes[len(panels):]:
        ax.set_visible(False)

    fig.tight_layout()
    fig.savefig(output_path, dpi=300, bbox_inches='tight')
    plt.close(fig)
    return output_path
Show full SKILL.md (183 more words)Show less

Export Specifications by Journal

Journal / PublisherFormatDPIMax WidthColor Mode
NatureTIFF, EPS, PDF300180mmRGB
ScienceEPS, PDF300174mmRGB
PLOSTIFF, EPS300174mmRGB
IEEEEPS, PDF, PNG3003.5in (1-col)RGB or CMYK
ElsevierTIFF, EPS, PDF300-600190mmRGB or CMYK
SpringerTIFF, EPS, PDF300174mmRGB or CMYK
Export Function
python
def export_figure(fig, basename: str, formats=('pdf', 'png', 'tiff'), dpi=300):
    """Export a figure in multiple formats for journal submission."""
    paths = []
    for fmt in formats:
        path = f"{basename}.{fmt}"
        fig.savefig(path, format=fmt, dpi=dpi, bbox_inches='tight',
                    facecolor='white', edgecolor='none')
        paths.append(path)
    return paths

Best Practices

  • Always use vector formats (PDF, EPS) for line art and plots; raster (TIFF, PNG) only when required.
  • Set figure dimensions to the exact column width of your target journal.
  • Use the same font and size across all figures in a manuscript for consistency.
  • Test figures in grayscale to ensure they remain readable without color.
  • Include all figure generation code in your supplementary materials for reproducibility.
  • Label axes with units (e.g., "Temperature (K)") and avoid abbreviations unless defined.

References

  • Rougier, N. P., Droettboom, M., & Borne, P. E. (2014). Ten Simple Rules for Better Figures. PLoS Computational Biology, 10(9).
  • Tufte, E. R. (2001). The Visual Display of Quantitative Information (2nd ed.). Graphics Press.
  • Wong, B. (2011). Color Blindness. Nature Methods, 8(6), 441.

© wentorai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/analysis/dataviz/chart-image-generator of wentorai/research-plugins.

Open the folder on GitHubat commit bf44b3c

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Chart Image Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Chart Image Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Chart Image Generator this skillwentorai/research-plugins2981 repos~2.1kAutomated safety check: PassMIT
Scientific SchematicsK-Dense-AI/claude-scientific-writer2.4k1 repos~4.3kAutomated safety check: NotesMIT
Image Genfastclaw-ai/fastclaw1.4k—~417Automated safety check: PassCustom licence
Journal Cover Prompteraipoch/medical-research-skills2k—~1.8kAutomated safety check: PassMIT
Scientific Schematicsspacering-net/codeg3.9k11 repos~5.9kAutomated safety check: NotesMIT
Engineering Figure Agentheyu-233/engineering-figure-agent305—~1.1kAutomated safety check: PassMIT

Similar skills

  • Scientific Schematics

    K-Dense-AI/claude-scientific-writer

    Create publication-quality scientific diagrams using Nano Banana 2 AI with smart iterative refinement.

    2.4k GitHub starsUsed in 1 repo~4.3k tokens
    Data & AnalyticsAuto-check: notes
  • Image Gen

    fastclaw-ai/fastclaw

    Generate images, charts, plots, and visualizations. An agent skill from fastclaw-ai/fastclaw.

    1.4k GitHub stars~417 tokensUpdated 2 days ago
    Media & CreativeAuto-check passed
  • Journal Cover Prompter

    aipoch/medical-research-skills

    A skill your agent uses when creating journal cover images, generating scientific artwork prompts, or designing graphical abstracts.

    2k GitHub stars~1.8k tokensUpdated 22 days ago
    Media & CreativeAuto-check passed
  • Scientific Schematics

    spacering-net/codeg

    Create publication-quality scientific diagrams using Nano Banana 2 AI with smart iterative refinement.

    3.9k GitHub starsUsed in 11 repos~5.9k tokens
    DevelopmentAuto-check: notes
  • Engineering Figure Agent

    heyu-233/engineering-figure-agent

    A skill your agent uses when the user needs engineering or research-paper figures: system architecture diagrams, algorithm workflows, hardware schematics, benchmark charts, ablation plots, figure…

    305 GitHub stars~1.1k tokensUpdated 4 mo ago
    Research & ScienceAuto-check passed
  • Scientific Schematics

    K-Dense-AI/scientific-agent-skills

    Generates scientific diagram drafts using Nano Banana 2 AI with smart iterative refinement.

    48k GitHub starsUsed in 1 repo~5.1k tokens
    DevelopmentAuto-check: notes

More from wentorai/research-plugins

All 405 skills in this repo
  • Abstract Writing Guide

    wentorai/research-plugins

    Craft structured research abstracts that maximize clarity and journal acceptance

    298 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Academic Citation Manager

    wentorai/research-plugins

    Manage academic citations across BibTeX, APA, MLA, and Chicago formats

    298 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed
  • Academic Paper Summarizer

    wentorai/research-plugins

    Summarize academic papers with structured extraction of key elements

    298 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Academic Study Methods

    wentorai/research-plugins

    Evidence-based study techniques for academic learning and retention

    298 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Academic Tone Guide

    wentorai/research-plugins

    Adjust writing tone and register for academic audiences and venues

    298 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Academic Translation Guide

    wentorai/research-plugins

    Academic translation, post-editing, and Chinglish correction guide

    298 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed

Questions about Chart Image Generator

What does Chart Image Generator do?

Generate publication-quality chart images from research data. Chart Image Generator is an agent skill from wentorai/research-plugins.

When should I use Chart Image Generator?

Chart Image Generator fits situations like: tasks that involve Data visualization; tasks that involve Image generation.

How do I install Chart Image Generator in Claude Code?

Run `npx skills add wentorai/research-plugins --skill chart-image-generator -a claude-code`. Or copy the skill folder (skills/analysis/dataviz/chart-image-generator in wentorai/research-plugins) into .claude/skills/chart-image-generator in your project. Claude Code loads it when a task matches its description.

How do I install Chart Image Generator in Codex?

Run `npx skills add wentorai/research-plugins --skill chart-image-generator -a codex`. Or copy the skill folder (skills/analysis/dataviz/chart-image-generator in wentorai/research-plugins) into .agents/skills/chart-image-generator in your project. Codex loads it when a task matches its description.

Can I use Chart Image Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wentorai/research-plugins --skill chart-image-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/chart-image-generator, .gemini/skills/chart-image-generator, .github/skills/chart-image-generator and .opencode/skills/chart-image-generator in your project.

What does Chart Image Generator need to run?

SKILL.md names no scripts, command-line tools or credentials: Chart Image Generator is instructions for the agent only. Our summary lists: Python 3.

Does Chart Image Generator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Chart Image Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Chart Image Generator use?

Chart Image Generator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Chart Image Generator use?

About 2.1k tokens (SKILL.md is roughly 8.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Chart Image Generator?

Skills that share tags, products or a category with Chart Image Generator: Scientific Schematics (K-Dense-AI/claude-scientific-writer, 2.4k stars), Image Gen (fastclaw-ai/fastclaw, 1.4k stars), Journal Cover Prompter (aipoch/medical-research-skills, 2k stars) and Scientific Schematics (spacering-net/codeg, 3.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Chart Image Generator?

wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 405 skills in this directory. The repository was last updated on June 19, 2026.

Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.