Scipilot Figure Skill

Picks the right chart for your research data, then draws journal-ready figures with colorblind-safe colors, in English or Chinese.

Research & Learningscientific figuresdata visualizationresearchmatplotlibby Haojae2.8kGitHub

What it is

SciPilot Figure is a data visualization adviser for students and researchers who need figures for papers, theses or journal submissions. Its instructions are written in Chinese, and it produces figures with English or Chinese labels, including the mixed Song typeface and Times New Roman style many Chinese journals require. It covers data charts only: line, bar, scatter, box and violin plots, heatmaps, error bars, distributions, correlation matrices and multi-panel figures. It does not draw diagrams, flowcharts or architecture drawings.

Its main job is deciding what to draw before drawing. It first asks what the figure needs to prove, then runs a profiling script on your CSV or Excel data to check column types, sample sizes, skew, outliers and groups. It recommends a chart with a reason and one or two alternatives, and pushes back on classic mistakes such as a bar of means for five samples per group, dual Y axes, pie charts, truncated axes or rainbow color maps. It then applies the target journal's column width, font sizes and resolution.

After drawing with matplotlib and seaborn (Python plotting libraries), it renders a preview, runs automatic checks for missing characters, clipped text and overlapping labels, and looks at the image itself to catch legends covering data or misaligned panels, then fixes and re-renders. You get PDF, SVG and PNG files at final print size plus a grayscale preview. You need Python with several packages installed, and you must tell it which statistical test you used.

What it can do

  • Profiles CSV, Excel or DataFrame data for types, sample size, missing values, skew, outliers and correlations.
  • Recommends a chart type with reasons and alternatives, based on what the figure must prove.
  • Warns before common errors such as mean bars for tiny samples, pie charts, dual axes or rainbow colors.
  • Applies size, font and DPI rules for Nature, Science, IEEE, Elsevier, PNAS and Chinese core journals.
  • Fixes Chinese text that shows as boxes in matplotlib and supports Song plus Times New Roman mixed fonts.
  • Uses colorblind-safe palettes with varied lines or markers, and exports a grayscale check copy.
  • Exports vector PDF and SVG plus 300 DPI PNG at final size, then checks the files automatically.

When to use it

  • You have a CSV of three treatment groups with five samples each, and your supervisor wants a bar chart.
  • Your figure for an IEEE paper came back for tiny fonts after you shrank it in Word.
  • Your matplotlib chart shows empty boxes instead of Chinese characters in your thesis.
  • You need a four-panel Figure 1 for Nature with consistent colors and aligned a, b, c, d labels.
  • You have a spreadsheet of results and no idea which chart shows the trend best.

How it works

  1. 1Asks what point the figure should make, where the data is, and which journal you are targeting.
  2. 2Runs a Python profiling script on your data and reads its report on types, groups and distributions.
  3. 3Recommends a chart with alternatives, flags any problem with the chart you asked for, and waits for your choice.
  4. 4Sets the journal style and fonts, then draws the figure at its final printed size with matplotlib, seaborn or plotly.
  5. 5Renders a preview, runs layout checks, reviews the image visually and fixes problems until it passes.
  6. 6Exports PDF, SVG and PNG files plus a grayscale version, and runs a final file check.

Try asking

“Here's my CSV. What chart should I use to show the difference between groups?”
“Make a Nature-style figure from this data with error bars and significance marks.”
“My Chinese labels show up as boxes in matplotlib. Fix this figure for my thesis.”
“Combine these four plots into one multi-panel figure for an IEEE paper.”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add Haojae/scipilot-figure-skill
pnpm
pnpm dlx skills add Haojae/scipilot-figure-skill

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the scipilot-figure-skill folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/Haojae/scipilot-figure-skill.git ~/.claude/skills/scipilot-figure-skill

Then just ask in plain language, for example: “Here's my CSV. What chart should I use to show the difference between groups?”