SkillsReviewed · jihe520

4drawio (MathModelAgent)

4drawio is an AI-assistant skill for mathematical-modeling authors who need explanatory diagrams, but producing its intended PDFs requires an available DrawIO export command. It guides the creation of editable .drawio files, PDF figures and a generation report from existing modeling documents. Statistical charts belong to a separate stage.

Researched 16 Nov 2026

In short.

4drawio is an AI-assistant skill for teams preparing mathematical-modeling papers, with PDF output dependent on a local DrawIO command-line tool. It specifies how to derive useful diagrams from documented methods, generate editable XML files, export PDFs and record placement suggestions for the writing stage. Its instructions explicitly exclude statistical charts, model reruns and changes to numerical conclusions. Nothing was executed, so export reliability, diagram quality and compatibility with particular assistant hosts remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

The scope is skills/4drawio in jihe520/MathModelAgent, including its files and licence notices beside and above it. The supplied manifest contains only skills/4drawio/SKILL.md, which is covered in full. No licence notices are supplied, so their contents and reuse permissions remain unknown. The referenced shared modeling norms, neighboring skills, project reports, generated figures and broader repository implementation are not included. No commands were run and no output files were generated or inspected; operational compatibility, export success and visual quality remain unassessed.

The overview

Resource identity

4drawio is the diagram-generation skill at skills/4drawio/SKILL.md in jihe520/MathModelAgent. Its instructions are written in Chinese and position it after 3coding-visual and before the paper-writing stage, 5writing.

The resource folder is [https://github.com/jihe520/MathModelAgent/tree/main/skills/4drawio]. It supplies instructions for an assistant rather than a standalone diagram application.

Practical assessment

The skill offers a concrete procedure for turning an established modeling approach into paper figures. Its useful features include editable source files, a PDF export fallback, explicit diagram boundaries and a record connecting each figure to its purpose.

Its value depends on the assistant correctly interpreting the modeling documents and producing readable layouts. The source supplies instructions for those tasks, but no completed diagrams, execution results or measured quality evidence.

Intended users

The closest fit is a mathematical-modeling team preparing a competition or research paper from existing analysis and results. It is particularly relevant when readers need to understand the overall solution route, an individual subproblem or relationships between model components.

Beginners receive guidance on which diagram types suit which explanations. Experienced developers receive file conventions, an XML scaffold and a shell export example, but still need an assistant environment that can perform the required local operations.

Supported work

The instructions cover technical roadmaps, subproblem flowcharts, data-processing pipelines, model and variable relationships, indicator hierarchies and decision or rule diagrams. Each diagram should serve an actual explanatory need rather than fill a fixed quota.

Expected deliverables are individual .drawio files and corresponding PDFs in figures/, plus reports/DRAWIO_REPORT.md. That report records figure purposes, source documents, omissions, export status, self-checks and suggested paper sections and captions.

Using it

Requirements and dependencies

The assistant needs access to the working directory, permission to create or update files and shell access for command-line export. The instructions read reports/ANALYSIS_MODELING_REPORT.md, reports/RESULTS_REPORT.md and the figures/ listing when present; diagrams must correspond to real methods in the analysis report.

PDF export depends on an executable discoverable as drawio, draw.io or draw.io.exe. The skill also references ../_references/math_modeling_norms.md for domain guidance, but that file is not supplied here.

The metadata declares Bash, Read, Write, Edit, Grep, Glob, Agent, WebSearch and WebFetch. Supported assistant hosts, model requirements and minimum software versions are not specified.

How it works

The six-step procedure inventories existing material, builds a task-specific diagram checklist, chooses diagram types, writes DrawIO XML, exports PDFs, checks the results and records the work. The example XML is a structural scaffold; the assistant must supply the actual nodes, edges and layout.

The export example searches for a DrawIO executable and invokes it with --export --format pdf --crop. If export is unavailable, the skill directs the assistant to retain the editable source and document the failure and a suggested export command.

Layout requirements include short labels, consistent styling, clear arrow direction and avoidance of overlaps. Problems should be corrected in the source and the diagram exported again.

Setup guidance

Use a working directory containing the relevant modeling documents and existing figures. Configure an assistant that can read those inputs and write the specified output paths. The source does not explain how to install or register the skill in a particular assistant host.

For PDF delivery, make a supported DrawIO executable discoverable on the command path. The file supplies executable discovery and export syntax, but no DrawIO installation instructions, operating-system compatibility matrix or headless-environment configuration.

Illustrative use

For a paper whose documented method cleans observations, constructs features, solves a model and evaluates results, the assistant could create figures/fig_roadmap.drawio to explain that sequence. A separate figures/fig_flow_q1.drawio could explain the first subproblem if it needs additional detail.

The intended next steps are PDF export and entries in reports/DRAWIO_REPORT.md identifying the supporting method, intended placement and export status. This is an illustrative application of the instructions; no such files were generated or inspected.

Assessment & evidence

Limits and unassessed behavior

This stage excludes line charts, bar charts, scatterplots, heatmaps, boxplots, radar charts and other data visualizations. It also excludes rerunning models, modifying code/ and changing numerical conclusions in reports/RESULTS_REPORT.md.

The writing stage remains responsible for final Typst or LaTeX figure insertion. The skill produces placement and caption suggestions rather than final embedding code.

The source requires nonempty files and visual layout checks but supplies no automated layout validator. Nothing was executed, so XML validity, font rendering, PDF cropping and the effectiveness of those checks remain unassessed.

Why the design may help

Keeping editable diagram sources alongside publication PDFs should make later corrections easier. Requiring each figure to correspond to a documented method also gives authors a concrete basis for checking its meaning. These are expected benefits of the specified workflow, not measured outcomes.

Separating explanatory diagrams from statistical charts gives this stage a clear purpose. Its instruction to omit unnecessary figures can also help authors avoid redundant illustrations, provided the assistant makes sound judgments about the paper.

Other approaches

For statistical charts, the source assigns the work to the preceding 3coding-visual stage. That stage is referenced but not supplied, so its implementation and quality cannot be compared.

For explanatory diagrams, authors could instead prepare and inspect DrawIO files manually. This is a practical alternative inferred from the editable output format; the evidence contains no comparison of tools, effort or results.

Source evidence

The supplied source is the complete text of skills/4drawio/SKILL.md at revision 03f4eb388b3862b7bde55b508dceaf3d6b39d5ac: [https://raw.githubusercontent.com/jihe520/MathModelAgent/03f4eb388b3862b7bde55b508dceaf3d6b39d5ac/skills/4drawio/SKILL.md].

Its manifest records 5,907 bytes and SHA-256 eb531bcac084d29ec6e7edf5c81eda2dea498106be2eec0400c84f34237268e7. The file supports conclusions about the prescribed workflow, but provides no rendered examples, execution logs, compatibility results or benchmarks.

Access & freshness

Costs

The supplied file gives no price, subscription terms, model usage estimates or export costs. Total cost is unknown.

Using the skill requires an assistant environment and a diagram-export setup. Their charges, if any, are not established by this evidence.

Licence and reuse

No licence text or adjacent or parent licence notice is included in the supplied evidence. Permission to copy, modify or redistribute the skill is therefore unknown.

The file also does not establish rights for generated diagrams or any third-party material incorporated into them. Public availability of the source does not establish those permissions.

Version and freshness

The source snapshot was captured on 16 November 2026 at 07:12:04.207 UTC and is pinned to revision 03f4eb388b3862b7bde55b508dceaf3d6b39d5ac. That capture time does not establish when the skill was last edited.

The supplied file gives no release number or maintenance history. Changes after the captured revision and compatibility with current DrawIO releases are unknown.

What to verify before use

Confirm reuse terms, whether your assistant host accepts the skill metadata and whether a DrawIO export command is available. Ensure the analysis report accurately describes the methods the diagrams should explain.

Begin with one necessary roadmap and inspect its labels, arrows, layout and PDF before producing further figures. Follow the skill's failure handling by retaining editable sources and recording unsuccessful exports. These are suggested next steps; they have not been performed.

Evidence for this report

skills/4drawio/SKILL.mdselected · checked 2026-11-16