explaingit

myzhao0114-del/scientific-figure-skill

Analysis updated 2026-06-24

13Audience · researcherComplexity · 3/5Setup · moderate

TLDR

Codex skill that turns a short request into journal-ready scientific figures with sane fonts, palettes, p-values, and a data health report.

Mindmap

mindmap
  root((scientific-figure-skill))
    Inputs
      Excel or CSV data
      Short plain language request
    Outputs
      PDF PNG JPG figure
      00 data health report
      Structured caption
      Intermediate xlsx tables
    Use Cases
      Thesis charts
      Journal submission figures
      Defense slide plots
    Tech Stack
      Codex
      Python
      Matplotlib
      Statistics libraries
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Generate a regression figure from an Excel sheet in one Codex instruction

USE CASE 2

Run a VIF and normality data health check before plotting

USE CASE 3

Produce a colorblind-friendly grouped bar chart with proper p-value asterisks

USE CASE 4

Export the same figure as PDF, PNG, and JPG with a paper-style caption

What is it built with?

CodexPythonMatplotlibStatistics

How does it compare?

myzhao0114-del/scientific-figure-skill09catho/axon0x1-1/revival
Stars131313
LanguageJavaScriptC++
Setup difficultymoderatemoderatehard
Complexity3/54/55/5
Audienceresearcherresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Codex installed locally plus Python with matplotlib and statistics libraries reachable from the skill.

In plain English

scientific-figure-skill is a packaged set of rules and templates for making scientific charts that look ready for a journal paper, a thesis, or a defense slide deck. The author is a researcher who got tired of AI-generated figures that look fine at first glance but fall apart on closer inspection: mixed Chinese and English fonts, missing axis units, loud colors, sloppy p-value formatting, vague error bars, and captions that describe a plot but never state a conclusion. The project packages years of figure-fixing experience as a reusable skill. The skill is built for Codex, OpenAI's coding agent. Installation is one git clone command into the Codex skills directory. After that, the user gives the agent a short instruction in plain language, for example, use this Excel file to make a regression figure, or fit a GAM on AQI and AI and make the plot. The skill handles the rest, instead of asking the user to spell out every formatting rule. The default behavior bakes in a long list of conventions. Fonts are split into a Chinese family and an English family with cross-platform fallbacks. Colors default to restrained, low-noise palettes, with the colorblind-friendly Okabe-Ito set when more colors are needed. P-values follow standard rules such as p < 0.001 instead of p = 0.0000, and significance is marked with the usual asterisks plus ns. Error bars and captions are pushed toward one-pass correctness, and figure borders are drawn on all four sides rather than only on the left and bottom. Before plotting, the skill runs a data health check. It writes a report file called 00_data_health.md that covers missing values, outliers, collinearity by VIF, distributions, and normality. It then cleans the data, saves intermediate tables as xlsx so every number on the final chart can be traced back to a source row, draws the figure under a unified style, and exports PDF, PNG, and JPG copies along with a structured caption. The project ships a SKILL.md, references for chart style, captions, statistics, PDF layout, and xlsx export, plus an agent config for OpenAI. It is aimed at graduate students and researchers who want plotting workflows to be more standardized.

Copy-paste prompts

Prompt 1
Install this skill into my Codex skills directory and tell me how to invoke it
Prompt 2
Use the AQI dataset in this folder to fit a GAM and produce a publication style figure
Prompt 3
Generate the 00 data health report for this xlsx without drawing any charts yet
Prompt 4
Apply the Okabe-Ito palette to my existing bar chart script using the conventions in this skill
Prompt 5
Add an Inter font fallback for English text and SimHei for Chinese in the style file

Frequently asked questions

What is scientific-figure-skill?

Codex skill that turns a short request into journal-ready scientific figures with sane fonts, palettes, p-values, and a data health report.

How hard is scientific-figure-skill to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is scientific-figure-skill for?

Mainly researcher.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.