Scientific Figure Making
ChenLiu-1996/figures4papers
Covers publication-ready matplotlib figures for academic papers, slides, and reports—bars, trends, scatter, heatmaps, and multi-panel layouts—with this…
A skill your agent uses when creating data visualizations for papers - generates publication-quality plots with top-journal color schemes
$ npx skills add Norman-bury/research-writing-skill --skill figures-python -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Norman-bury/research-writing-skill figures-python --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Norman-bury/research-writing-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/figures-python .claude/skills/figures-python && rm -rf skills-srcUse ~/.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/
Install the "figures-python" agent skill from https://github.com/Norman-bury/research-writing-skill/tree/main/skills/figures-python into .claude/skills/figures-python/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "figures-python", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Norman-bury/research-writing-skill/tree/main/skills/figures-pythonType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Norman-bury/research-writing-skill --skill figures-python -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Norman-bury/research-writing-skill figures-python --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Norman-bury/research-writing-skill.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/figures-python .agents/skills/figures-python && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "figures-python" agent skill from https://github.com/Norman-bury/research-writing-skill/tree/main/skills/figures-python into .agents/skills/figures-python/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "figures-python", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Norman-bury/research-writing-skill --skill figures-python -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Norman-bury/research-writing-skill figures-python --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Norman-bury/research-writing-skill.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/figures-python .cursor/skills/figures-python && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "figures-python" agent skill from https://github.com/Norman-bury/research-writing-skill/tree/main/skills/figures-python into .cursor/skills/figures-python/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "figures-python", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Norman-bury/research-writing-skill.git --path skills/figures-python--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Norman-bury/research-writing-skill --skill figures-python -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Norman-bury/research-writing-skill figures-python --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Norman-bury/research-writing-skill.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/figures-python .gemini/skills/figures-python && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "figures-python" agent skill from https://github.com/Norman-bury/research-writing-skill/tree/main/skills/figures-python into .gemini/skills/figures-python/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "figures-python", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Norman-bury/research-writing-skill figures-pythonInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Norman-bury/research-writing-skill --skill figures-python -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Norman-bury/research-writing-skill.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/figures-python .github/skills/figures-python && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "figures-python" agent skill from https://github.com/Norman-bury/research-writing-skill/tree/main/skills/figures-python into .github/skills/figures-python/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "figures-python", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Norman-bury/research-writing-skill --skill figures-python -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Norman-bury/research-writing-skill figures-python --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Norman-bury/research-writing-skill.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/figures-python .opencode/skills/figures-python && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "figures-python" agent skill from https://github.com/Norman-bury/research-writing-skill/tree/main/skills/figures-python into .opencode/skills/figures-python/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "figures-python", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
figures-pythonA skill your agent uses when creating data visualizations for papers - generates publication-quality plots with top-journal color schemes
Figures Python is an agent skill from Norman-bury/research-writing-skill. Use when creating data visualizations for papers - generates publication-quality plots with top-journal color schemes
Its SKILL.md is about 1.2k 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. It works with Python. The repository describes itself as: 科研写作助手 (Research Writing Assistant). The licence is MIT.
Read from SKILL.md and the folder at commit 6f79595. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
condapipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Figures Python loads about 1.2k tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 155 words of instructions outside code blocks.
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.
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.
The full file from Norman-bury/research-writing-skill at commit 6f79595, republished under its MIT licence (© Norman-bury). 155 words, ~1,239 tokens.
.claude/skills/figures-python/SKILL.md (or your agent's skills folder).本技能指导使用 Python 生成科研论文级别的数据图表。
默认环境名:research
激活命令:
conda activate research必需库:
pip install matplotlib seaborn numpy pandas如环境未配置,调用 environment-setup 技能。
任何数据图都必须先有数据文件和数据清单(data manifest)。默认路径:
figures/data-manifest.md
figures/data/<figure-name>.csv
figures/<section>/<figure-name>.py
figures/<section>/<figure-name>.png
figures/<section>/<figure-name>.svgfigures/data-manifest.md 至少记录:
| Figure | Data file | Real/mock | Source | Script | Outputs |
|---|
mock 或 synthetic 数据只允许用于规划版图表。文件名必须以 mock_ 或 synthetic_ 开头,并在图表、表格或章节草稿中保留 [待真实实验替换]。不得把 mock 数据写成“实验结果表明”。
| 用途 | DPI | 说明 |
|---|---|---|
| 期刊投稿 | 300-600 | 大多数期刊要求 |
| 顶刊投稿 | 450+ | Nature/Science等 |
| 屏幕展示 | 150 | PPT/网页 |
本技能默认使用 450 DPI
每张图同时输出两种格式:
| 类型 | 宽度(英寸) | 适用场景 |
|---|---|---|
| 单栏图 | 3.5 | 期刊单栏 |
| 双栏图 | 7.0 | 期刊双栏/全宽 |
| PPT图 | 10.0 | 演示文稿 |
NATURE_COLORS = ['#2E86AB', '#A23B72', '#F18F01', '#C73E1D', '#95C623']CELL_COLORS = ['#4E79A7', '#F28E2B', '#E15759', '#76B7B2', '#59A14F', '#EDC948']COLORBLIND_SAFE = ['#0077BB', '#33BBEE', '#009988', '#EE7733', '#CC3311', '#EE3377']"""
Figure X: [图表标题]
论文章节: [所属章节]
"""
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.font_manager as fm
from pathlib import Path
# 中文字体配置
CHINESE_FONT = None
font_candidates = [
'/System/Library/Fonts/STHeiti Light.ttc',
'/System/Library/Fonts/PingFang.ttc',
]
for fp in font_candidates:
if Path(fp).exists():
CHINESE_FONT = fm.FontProperties(fname=fp)
break
plt.rcParams['axes.unicode_minus'] = False
# 顶刊配色
COLORS = ['#4E79A7', '#F28E2B', '#E15759', '#76B7B2', '#59A14F']
def setup_plot_style():
plt.rcParams.update({
'font.size': 10,
'axes.titlesize': 12,
'axes.labelsize': 10,
'axes.spines.top': False,
'axes.spines.right': False,
'axes.grid': True,
'grid.alpha': 0.3,
'legend.frameon': False,
'savefig.dpi': 450,
'savefig.bbox': 'tight',
})
def main():
setup_plot_style()
fig, ax = plt.subplots(figsize=(7, 5))
# === 绑定代码 ===
x = np.linspace(0, 10, 100)
ax.plot(x, np.sin(x), color=COLORS[0], label='Model A')
ax.plot(x, np.cos(x), color=COLORS[1], label='Model B')
if CHINESE_FONT:
ax.set_xlabel('时间 (s)', fontproperties=CHINESE_FONT)
ax.set_ylabel('幅值', fontproperties=CHINESE_FONT)
else:
ax.set_xlabel('Time (s)')
ax.set_ylabel('Amplitude')
ax.legend()
# === 绑定代码结束 ===
# 保存
output_dir = Path(__file__).parent
fig_name = Path(__file__).stem
plt.savefig(output_dir / f'{fig_name}.png', dpi=450)
plt.savefig(output_dir / f'{fig_name}.svg')
plt.show()
if __name__ == '__main__':
main()ax.plot(x, y, color=COLORS[0], linewidth=1.5, marker='o', markersize=4)ax.bar(x_pos, values, color=COLORS[:len(values)], edgecolor='white')im = ax.imshow(matrix, cmap='RdBu_r', aspect='auto')
plt.colorbar(im, ax=ax)bp = ax.boxplot(data_list, patch_artist=True)
for patch, color in zip(bp['boxes'], COLORS):
patch.set_facecolor(color)ax.scatter(x, y, c=colors, s=sizes, alpha=0.6, cmap='viridis')figures/
├── chapter1/
│ ├── fig1_overview.py
│ ├── fig1_overview.png
│ └── fig1_overview.svg
├── chapter2/
└── chapter3/fig{序号}_{描述}.pyfig1_model_architecture.pyfrom matplotlib.font_manager import FontProperties
font = FontProperties(fname='/System/Library/Fonts/STHeiti Light.ttc')
ax.set_xlabel('中文标签', fontproperties=font)plt.savefig('figure.png', dpi=450, bbox_inches='tight')ax.legend(loc='upper left', bbox_to_anchor=(1.02, 1))© Norman-bury, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/figures-python of Norman-bury/research-writing-skill.
Open the folder on GitHubat commit 6f79595
Figures Python 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Figures Python this skillNorman-bury/research-writing-skill | 3.4k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Scientific Figure MakingChenLiu-1996/figures4papers | 8.3k | — | ~557 | Automated safety check: Pass | Custom licence | |
| Plot From ImageTrae1ounG/paper-plot-skills | 869 | 1 repos | ~868 | Automated safety check: Pass | None | |
| Python Executorcortega26/chile-hub | 113 | 2 repos | ~1.5k | Automated safety check: Pass | MIT | |
| FigMirror Figure Style TransferVILA-Lab/FigMirror | 523 | — | ~2.1k | Automated safety check: Pass | None | |
| Ieee Figure TableCloudWave818/ieee-skills | 358 | — | ~1k | Automated safety check: Pass | MIT |
ChenLiu-1996/figures4papers
Covers publication-ready matplotlib figures for academic papers, slides, and reports—bars, trends, scatter, heatmaps, and multi-panel layouts—with this…
Trae1ounG/paper-plot-skills
Reproduce any academic paper figure from an uploaded image using accumulated style experience.
cortega26/chile-hub
Execute Python code in a safe sandboxed environment via [inference.sh](https://inference.sh).
VILA-Lab/FigMirror
Redraws your data as a matplotlib figure in the visual style of a reference paper figure, using a drawer and reviewer loop.
CloudWave818/ieee-skills
Audit, redesign, generate, and improve IEEE manuscript figures, tables, captions, result presentation, plotting scripts, visual polish, hybrid Python/R plus vector-editor workflows…
VILA-Lab/FigMirror
Mirrors the visual style of a top-conference paper figure onto your own data, producing a camera-ready PDF and a self-contained matplotlib script.
Norman-bury/research-writing-skill
A skill your agent uses when writing or revising Introduction, Related Work, background, literature synthesis, or any section where references must drive claims
Norman-bury/research-writing-skill
A skill your agent uses when Python environment setup is needed for data visualization or conda installation is required
Norman-bury/research-writing-skill
A skill your agent uses when designing experiments, result tables, mock planning data, evaluation protocols, or results sections before real data are final
Norman-bury/research-writing-skill
A skill your agent uses when creating flowcharts, architecture diagrams, or conceptual diagrams - generates prompts for image AI
Norman-bury/research-writing-skill
A skill your agent uses when user requests LaTeX format output or has provided school/journal LaTeX templates
Norman-bury/research-writing-skill
A skill your agent uses when writing literature review sections - guides searching, organizing, and synthesizing academic sources
Works with
Categories
A skill your agent uses when creating data visualizations for papers - generates publication-quality plots with top-journal color schemes. Figures Python is an agent skill from Norman-bury/research-writing-skill.
Figures Python fits situations like: creating data visualizations for papers - generates publication-quality plots with top-journal color schemes; tasks that involve Data visualization.
Run `npx skills add Norman-bury/research-writing-skill --skill figures-python -a claude-code`. Or copy the skill folder (skills/figures-python in Norman-bury/research-writing-skill) into .claude/skills/figures-python in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Norman-bury/research-writing-skill --skill figures-python -a codex`. Or copy the skill folder (skills/figures-python in Norman-bury/research-writing-skill) into .agents/skills/figures-python in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Norman-bury/research-writing-skill --skill figures-python -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/figures-python, .gemini/skills/figures-python, .github/skills/figures-python and .opencode/skills/figures-python in your project.
Going by SKILL.md and its folder, Figures Python needs the command-line tools its instructions call (conda and pip). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Figures Python is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Figures Python: Scientific Figure Making (ChenLiu-1996/figures4papers, 8.3k stars), Plot From Image (Trae1ounG/paper-plot-skills, 869 stars), Python Executor (cortega26/chile-hub, 113 stars) and FigMirror Figure Style Transfer (VILA-Lab/FigMirror, 523 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Norman-bury (a GitHub user) maintains it in Norman-bury/research-writing-skill, which has 3,378 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on June 10, 2026.
Source: Norman-bury/research-writing-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.