In short.
Math Modeling LaTeX Skill is an AI assistant skill for mathematical modeling teams preparing competition papers, but only its instructions are available to assess. The guide describes official-template handling, hash checks for copied assets, builds that stop on warnings, and structural and PDF checks. These procedures could support consistent document delivery, but their implementation, effectiveness and compatibility with current competition rules are unverified.
Researched and written by an AI model and checked by a second AI model. How it works
The resource scope is dsh-plugin/math-modeling-agent/skills/math-modeling/tools/latex in XiaoMaColtAI/math-modeling-skill, including SKILL.md, its files and licence notices beside and above the folder. The supplied manifest contains only SKILL.md at revision 061c60d17d6326807f24373feaef3e7c9b8af4a9. Scripts, templates, related licence notices, the companion DOCX tool and parent-agent setup files are absent. Findings describe the documented procedure; implementation behavior, installation, compilation, validation and conversion remain UNVERIFIED.
The overview
Identity
The resource is titled LaTeX工具 in Chinese and belongs to the math-modeling agent in XiaoMaColtAI/math-modeling-skill. It provides assistant instructions for creating, compiling and validating LaTeX paper projects, with optional Word conversion through a separate DOCX tool. The source folder is [https://github.com/XiaoMaColtAI/math-modeling-skill/tree/main/dsh-plugin/math-modeling-agent/skills/math-modeling/tools/latex].
Assessment
Its clearest use is coordinating a paper whose templates, figures, code, references and final PDF must remain consistent. The instructions address concrete failure cases, including stale copied figures, unresolved references, ambiguous document entry points and PDFs built from outdated source.
The available evidence establishes a detailed procedure, not a working implementation. The Python script, templates and execution results are absent. The documented checks also do not establish the correctness of a mathematical model, the truth of cited claims or compliance with rules that have not been supplied.
Intended users
The documented competition presets make this most relevant to CUMCM and MCM/ICM teams, particularly those coordinating writing with programming and figure production. Other competitions use a generic mode that requires an official template. Beginners receive an ordered procedure, but still need help installing document tools and interpreting LaTeX warnings; experienced developers can assess the manifests, hashes and build parameters.
Capabilities
The guide documents environment diagnosis, project initialization, asset binding, compilation and validation. Template priority starts with a current official template supplied by the user, then one obtained from the competition website. Built-in CUMCM or MCM/ICM templates are a fallback and do not replace current rules.
Documented validation covers placeholders, abstracts and keywords, figure and table content, duplicate labels, references to figures and tables, citation keys, coverage of declared subquestions, page counts, blank pages, page dimensions, embedded fonts and bitmap resolution. Optional Word delivery depends on a separate DOCX tool whose contents are not supplied.
Using it
Requirements
The commands require Python and the referenced latex_paper.py script. The diagnostic procedure checks the selected TeX engine, bibliography backend, latexmk, pypdf, pdfimages and pdftoppm. Pandoc is additionally checked when Word output is needed. XeLaTeX is the default engine; the official template may instead require LuaLaTeX or pdfLaTeX.
Projects with external BibTeX or BibLaTeX bibliographies require latexmk. Without it, the guide permits two direct engine passes only for projects without those external bibliographies. Supported operating systems, minimum dependency versions, hardware requirements and compatible assistant hosts are unknown. The command examples use PowerShell syntax.
How it works
Initialization is described as creating latex-project.json with the main document, competition configuration, template provenance and hashes. Asset binding records a relationship between authoritative files in the project root and copies inside the LaTeX project. The bind command checks that both already match; it does not copy or synchronize them.
The build procedure specifies compilation in a temporary project copy, with shell escape disabled and source hashes checked afterward. Intermediate artifacts belong under build/. Publication is described as producing a PDF together with a .build.json record containing hashes, tool versions, commands, parameters and warnings. The guide specifies restoring the previous pair if replacement fails; this behavior is unverified.
Setup
Setup starts with obtaining the complete scripts and template assets, then choosing the engine and bibliography backend required by the official template. Run the documented doctor command before writing. Initialize a new project from a template copy, explicitly identifying the main file when it is nested or multiple candidates exist. Parent-agent installation instructions are not included.
After adding text and verified bibliography entries, synchronize copied code and figures and record their bindings. Build the PDF, validate it with every subquestion explicitly listed, and supply page limits from the applicable competition rules. Finally, render and inspect the PDF. Existing output directories and published PDFs are protected from replacement by default.
Example
For an illustrative CUMCM paper with questions q1, q2 and q3, the documented validation pattern is python <SKILL_ROOT>/tools/latex/scripts/latex_paper.py validate <PROJECT_ROOT>/paper/main.tex --pdf <PROJECT_ROOT>/paper.pdf --contest cumcm --quality-checks --questions q1 q2 q3 --min-image-dpi 300 --max-pages <OFFICIAL_BODY_PAGE_LIMIT> --body-start-page <ACTUAL_BODY_START_PAGE>. Paths and page values are placeholders. The page limit must come from current rules, and the body start must match the actual PDF. An appendix requires its start page to be established as well. This illustrates configuration; no successful validation result is available.
Assessment & evidence
Limitations
The documented build rules stop publication for unresolved references and many warnings, including font and overfull or underfull box warnings. Exceptions require a precise regular expression and a stated reason. Missing packages are reported rather than installed automatically. Direct image inclusion is limited to PDF, PNG and JPG/JPEG because the compilation procedure disables shell escape; SVG or EPS assets need suitable exports beforehand.
Completeness targets are heuristics, not official contest requirements. CUMCM defaults include roughly 15,000 word units, 20 pages, five equations and three tables; both competition presets default to at least eight figures. Lowering targets requires a recorded reason. CUMCM can count body pages separately, while MCM/ICM and generic mode use total PDF pages. Automatic checks still require visual inspection and do not establish modeling quality.
Why it may fit
The documented design connects a common collaboration problem to explicit controls: authoritative assets remain outside the paper copy, hashes identify drift, and a build record associates the published PDF with its inputs. This makes it potentially useful when consistency and traceability matter. That benefit is an inference from the instructions; no measured reduction in errors, effort or delivery time is established.
Alternatives
A lower-level approach is to use an official competition template with the TeX engine or latexmk named in the guide, then arrange asset consistency checks and document inspection separately. This alternative follows from the listed components; comparative effort and reliability were not assessed. The companion DOCX tool is an additional route for Word output, but the guide explicitly requires independent LaTeX compilation and PDF validation.
Evidence
The available source is the Chinese-language SKILL.md at [https://raw.githubusercontent.com/XiaoMaColtAI/math-modeling-skill/061c60d17d6326807f24373feaef3e7c9b8af4a9/dsh-plugin/math-modeling-agent/skills/math-modeling/tools/latex/SKILL.md]. Its recorded size is 8,872 bytes and its SHA-256 is 0b7486727a8593e5f0b8f3bf94078a4ec17c32fac23b62962463271825deabcd.
The supplied file documents intended behavior. It does not include the referenced Python implementation, templates, licence notices or execution results. Compilation, validation, file protection, publication rollback and Word conversion behavior are UNVERIFIED.
Access & freshness
Costs
The evidence gives no resource price, licence fee, model-provider charge or usage estimate, so total cost is unknown. It describes local document processing but supplies no hardware specification or runtime measurements. Dependency installation, template preparation and visual review also require time that is not quantified.
Rights
No licence text or copyright notices are included in the supplied evidence. Permissions to use, modify or redistribute the skill, scripts and templates are therefore unknown; a public GitHub location does not establish those permissions. The terms covering official templates and their bundled fonts or other assets are also not supplied.
Freshness
The document is pinned to source revision 061c60d17d6326807f24373feaef3e7c9b8af4a9 and was captured on 15 November 2026 at 23:32:50 UTC. That timestamp does not establish its last modification date or compatibility with current competition rules. No release number, change history, dependency version matrix or current official rule documents are supplied.
Next steps
Before relying on the skill, obtain its complete implementation and applicable licence notices, confirm compatibility with the intended assistant, and check the current official template and rules. Inspect the scripts that enforce hashes, warning handling and file replacement. Then diagnose the local dependencies and use a small paper project to assess initialization, asset drift detection, compilation and validation. Inspect the resulting PDF visually; assess Word conversion separately if needed.
