Paper Writer (Math Modeling)
Turns a contest problem, modeling analysis and real code results into a complete, validated Word (optionally LaTeX) math-modeling paper.
Docs & OfficeAdvanced★ 1,857⑂ 100AI score 9/10Last updated: Oct 11, 2026
What it does
- Takes the problem statement, modeling analysis report, real result tables and generated figures and writes a complete contest paper following the official structure.
- Produces
完整论文.docxby default; only on explicit request does it also build a LaTeX source project plus a genuinely compiled PDF. - Enforces an input gate before writing, a Claim–Evidence map per sub-problem, at least 8 formal figures with captions and in-text references, a symbol table and an appendix plan.
- Runs deterministic validation commands in order (
paper_format.py validate,office/validate.py,latex_paper.py doctor/build/validate) and scrubs leftover Markdown artifacts (**, backticks,$, placeholders). - Blocks internal process jargon (gate codes, checkpoints, hashes) from leaking into the deliverable.
Who it's for
- CUMCM / MCM-ICM teams that must match official submission rules exactly.
- Modelers and coders who have results but lose hours to formatting, figure numbering, citation verification and page limits.
- Research groups wanting a reproducible LaTeX build chain based on official templates.
Examples
- "Write the CUMCM Word paper from this analysis report and result tables" → input check, drafting, DOCX export, then a report of page count, figure/table counts and command exit codes.
- "I also need the LaTeX version" → template init via
latex_paper.py init, source filling, real XeLaTeX compile, then checks for image DPI, font embedding and appendix boundaries. - "Convert it to an English MCM paper" → loads the Englishization workflow and restructures abstract/conclusions for international judging criteria.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/XiaoMaColtAI/math-modeling-skill/HEAD/dsh-plugin/math-modeling-agent/skills/math-modeling/references/roles/论文手/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the dsh-plugin/math-modeling-agent/skills/math-modeling/references/roles/论文手 folder from the GitHub repo XiaoMaColtAI/math-modeling-skill into my ~/.claude/skills/xiaomacoltai-skill-2/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/XiaoMaColtAI/math-modeling-skill.git && mkdir -p ~/.claude/skills && cp -r math-modeling-skill/dsh-plugin/math-modeling-agent/skills/math-modeling ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Clone the repo:
git clone https://github.com/XiaoMaColtAI/math-modeling-skill.git. - Create the skills folder:
mkdir -p ~/.claude/skills. - Don't install this role file alone — copy the whole parent skill:
cp -r math-modeling-skill/dsh-plugin/math-modeling-agent/skills/math-modeling ~/.claude/skills/(the tools/ and references/ subfolders are required). - Install prerequisites: Python 3 plus script dependencies (e.g. python-docx), TeX Live (XeLaTeX) for the LaTeX branch, and Pandoc if Word conversion is needed.
- Restart Claude Code and confirm the math-modeling skill is listed.
- In your project folder, place the problem statement,
题目分析报告.md, real result tables and figures, then ask Claude to "start writing the paper". - For LaTeX output, first run
python <skill-path>/tools/latex/scripts/latex_paper.py doctorto verify the toolchain.