figure-generation

Generate publication-quality scientific figures from data and descriptive prompts.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/Embers-of-the-Fire/agent-research-skills-opencode --skill figure-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: figure-generation
Source: https://github.com/Embers-of-the-Fire/agent-research-skills-opencode/tree/main/.opencode/skills/figure-generation
Command: npx skills add https://github.com/Embers-of-the-Fire/agent-research-skills-opencode --skill figure-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires matplotlib, numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Generates publication-quality scientific figures from data and descriptive prompts for research papers.

Core Features & Use Cases

  • Three-phase pipeline: query expansion, code generation with execution, and visual refinement.
  • Supports bar charts, line plots, heatmaps, training curves, ablation plots, and more.
  • Includes a templated workflow with a figure_template.py to produce PNG and PDF outputs for manuscripts.

Quick Start

Describe your desired figure in natural language and run the generator to output a ready-to-run script that saves publication-quality figures.

Frequently Asked Questions about figure-generation

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

FAQPage Schema
How do I generate publication-ready scientific figures from raw data?

To generate publication-ready scientific figures, you can describe your desired plot in natural language and provide your data inputs. The system creates and executes Python scripts to produce manuscript-quality PNG and PDF outputs for research papers.

Can I create matplotlib and seaborn plots for research papers automatically?

Yes, you can create matplotlib and seaborn plots for research papers automatically. The tool generates executable Python code from descriptive prompts to visualize data as bar charts, line plots, heatmaps, training curves, and ablation plots.

What is the best way to automate data visualization for ablation studies and training curves?

The best way to automate data visualization for ablation studies and training curves is using a templated workflow that generates Python scripts. This approach applies a three-phase pipeline to refine plots into publication-ready outputs.

Does figure generation work with numpy arrays and matplotlib for manuscript preparation?

Figure generation works directly with numpy arrays and matplotlib for manuscript preparation. It leverages these dependencies to execute generated scripts, applying visual refinement to ensure figures meet publication standards.

What types of research plots can I produce with this data visualization pipeline?

With this data visualization pipeline, you can produce a variety of research plots including bar charts, line plots, heatmaps, training curves, and ablation plots. It supports diverse figure types needed for scientific manuscripts and presentations.

How to export scientific figures to PDF and PNG for publication?

To export scientific figures to PDF and PNG for publication, the generator executes a Python script based on your query and data. This templated process ensures the final visual outputs are formatted correctly for manuscripts.