4drawio
Skill by jsChen-biostat
Generates non-data diagrams for math modeling papers, such as technical roadmaps, solution flowcharts and model structure figures. It produces DrawIO sources and PDFs for the paper.
Install 4drawio
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jsChen-biostat/math-modelCN /tmp/math-modelCN && mkdir -p ~/.claude/skills && cp -r /tmp/math-modelCN/4drawio ~/.claude/skills/4drawioRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jsChen-biostat/math-modelCN /tmp/math-modelCN && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/math-modelCN/4drawio ~/.gemini/antigravity-cli/skills/4drawioAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill handles the non-data diagram stage of a math modeling paper. It reads ANALYSIS_MODELING_REPORT.md, RESULTS_REPORT.md and any existing figures/ folder to understand the methods, chapter structure and sub-problem relationships. It then drafts DrawIO files for types such as technical roadmaps, sub-problem flowcharts, data processing pipelines, model structure figures, indicator systems and decision trees.
For each figure it writes a .drawio source file in figures/ and tries to export a PDF with the DrawIO command line tool. It then self-checks the layout and writes reports/DRAWIO_REPORT.md with the figure list, export results and embedding advice. It is meant for competition modeling papers and works alongside the data chart and writing stages.
Written from the project's SKILL.md and checked against it.
What it can do
- Technical roadmapDraws the overall solution route figure, usually placed in the problem restatement or introduction.
- Sub-problem flowchartsShows the inputs, decisions, algorithm and outputs for each sub-problem.
- Data processing pipelineDiagrams data cleaning, feature construction and the model input steps.
- Model structure figureShows module, variable and model hierarchy relationships.
- Indicator system and decision treeBuilds layered indicator diagrams and rule or strategy branch diagrams.
- PDF exportExports each DrawIO file to PDF when the DrawIO command is available.
- Generation reportWrites reports/DRAWIO_REPORT.md with the figure list, export checks and embedding suggestions.
What you need
- DrawIO command line tool (drawio or draw.io) for PDF export
Try asking
- Draw the technical roadmap for my modeling paper from the analysis report.
- Create a solution flowchart for each sub-problem and export them to PDF.
- Make a data processing pipeline figure and log it in DRAWIO_REPORT.md.
Good to know
- Does not generate data charts such as line, bar, scatter or heatmap figures; those belong to 3coding-visual.
- Does not rerun models, modify code/ or change the numeric conclusions in RESULTS_REPORT.md.
- If the DrawIO command is missing, only the .drawio source is kept and the export failure is recorded.
- Does not write Typst or LaTeX include code; that is handled by the writing stage.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: 4drawio/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash(*)ReadWriteEditGrepGlobAgentWebSearchWebFetch
Alternatives to 4drawio
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
4drawio: common questions
Which files does it read before drawing?
It reads ANALYSIS_MODELING_REPORT.md, RESULTS_REPORT.md and the existing figures/ folder. This helps it match the real methods and avoid repeating figures.
What does it output?
For each figure it writes a .drawio source file and, when export works, a PDF in figures/. It also writes reports/DRAWIO_REPORT.md.
Can it make line or bar charts?
No. The source says data charts such as line, bar, scatter and heatmap figures are handled by the 3coding-visual skill.
How do I install 4drawio?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is 4drawio free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is 4drawio safe to use?
It scores 63 of 100. Grades: maintenance B, licence A, quality B. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to 4drawio?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
