Introduction¶
When writing academic papers, creating figures is often more time-consuming than writing text: you must choose the right chart type to express experimental relationships while also satisfying journal requirements regarding font size, line width, color schemes, and figure layout. Many researchers create rough drafts in Excel or Origin, manually tweak Python scripts, or repeatedly adjust rcParams in matplotlib. This process is fragmented and difficult to reproduce.
Here, we introduce the “Scientific Diagram Wizard” on SkillHub—describe what you want to draw, how the data compares, and the layout requirements in a conversation. The Skill guides the output of runnable plotting skeletons and layout specifications, saving you from figuring out the APIs from scratch.
What is this¶
The “Scientific Diagram Wizard” (coordinate @user_af163eaa/z-diagram-scientific) is an Agent Skill designed for planning scientific paper figures and data curves. It is based on the general SKILL.md format and maintained by community publisher user_af163eaa (listed as author “DaZhi JiYoo” on the SkillHub page). The current version is 1.0.2, categorized under data-analysis, with a source of community. Tags indicate requires_api_key=false, meaning no additional API Key is needed after installation.
Its official positioning is: to plan scientific paper figures and data curve charts, outputting Python (matplotlib/plotly) plotting skeletons and layout specifications. It covers experimental curves, schematic diagrams, and grouped figure layouts. It serves as a guide for scientific visualization and does not replace the fine-tuning processes found in tools like Origin or Illustrator.
SkillHub Statistics (based on page and crawled data): Rating 100000, Downloads 6030.
Core Functions¶
Based on the SkillHub description, verifiable capabilities include:
- Figure Planning: Before drafting figures, align data display goals, chart type selection, and layout requirements with the paper’s context. This reduces rework caused by discovering non-compliance with journal standards after the figure is drawn.
- Reproducible Code Skeleton: Outputs a Python plotting code framework based on matplotlib or plotly, facilitating the repeated generation of figures using the same data set locally.
- Publication-Oriented Layout Specifications: Provides layout-related conventions (such as standards for size, font, line style, etc.) alongside the generated code, distinguishing it from simply providing “code that runs but produces figures unsuitable for submission.”
- Coverage of Common Scientific Figures: Explicitly supports experimental curves, schematic diagrams, and multi-subplot/grouped figure layout requirements.
Capabilities not specified in the official description (such as specific interactive pop-up workflows or an exhaustive list of fixed chart types) will not be expanded upon here to avoid inconsistency with the actual Skill SKILL.md.
Installation and Activation¶
Before installation, ensure SkillHub CLI is present on your machine. If not installed, check the version first:
command -v skillhub && skillhub --version
If not installed, follow the official SkillHub installation documentation to perform a complete installation (CLI + default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
When installing this Skill, you must use the --dir flag to point to the current Agent’s skills directory; installing to the default ./skills/ might prevent the Agent from recognizing it. The installation coordinate provided on the SkillHub page is:
skillhub install @user_af163eaa/z-diagram-scientific --dir <skills directory>
Examples of skills directories for common clients (from SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
In Cursor, you can set --dir to ~/.cursor/skills/. After installation, restart or refresh the Agent according to your client’s requirements to ensure the new Skill is loaded.
Typical Usage¶
The official page does not host a separate long-form example repository; typical usage involves describing drawing goals in natural language within a conversation where the Skill is enabled. The Agent will then output planning, code, and specifications step-by-step following the Skill’s guidance. You can reproduce this by following the logic below:
- Describe Data and Comparison Relationships: For example, “Three treatment groups, three time points, mean curves with error bars,” or “Distribution comparison between control and experimental groups.”
- State Submission Constraints: Target journal, single/double column width, vector format requirements (PDF/SVG), Chinese/English annotation habits, etc.
- Request Output: Explicitly ask for “runnable matplotlib (or plotly) skeleton + layout specifications,” and execute the script locally after replacing placeholder data with your CSV/arrays.
Example Prompt (illustrative, not an official fixed template):
I have a set of experimental data: 3 groups × 5 sampling points, each with mean and SEM.
Please follow the Scientific Diagram Wizard: first suggest a chart type, then output a
matplotlib grouped figure code skeleton, and list publication-level layout points such
as font size, line width, and legend position. Figure width should be 180 mm for double columns.
Following these steps, you should obtain a Python skeleton and a layout checklist that can be pasted into your project. Fine-tune the colors and annotations locally to finalize the figures.
Use Cases and Notes¶
Who is it for
- Researchers familiar with Python who want to reproduce paper main figures using a matplotlib/plotly pipeline.
- Those who need to unify “figure type + layout + code structure” early in the writing process rather than modifying figures fragmentarily during the typesetting stage.
Limitations and Notes
- The Skill is self-described as a visualization guide; fine-tuning still relies on tools like Origin and Illustrator. Do not expect it to replace professional vector illustration or complex 3D rendering workflows (the official description does not promise the latter).
- Output quality depends on how clearly you describe data fields, statistical meanings, and journal requirements; placeholder data must be replaced and statistically verified by yourself.
- Incorrect installation paths are a common pitfall: ensure you use
--dirto point to the current Agent’s skills directory.
Conclusion¶
The “Scientific Diagram Wizard” consolidates the planning, Python plotting skeletons, and layout specifications of paper figures into a single conversational workflow. It is suitable for use alongside writing and statistical tasks in data-analysis workflows. See SkillHub for installation and details:
- Skill Page: https://www.skillhub.cn/skills/user_af163eaa/z-diagram-scientific
- Coordinate Page: https://api.skillhub.cn/user_af163eaa/z-diagram-scientific