Paper Writer Role (Math Modeling Paper Generator)
A role skill that turns the problem statement, modeling deliverables, and real code results into a complete Word (optionally LaTeX) math-modeling contest paper, gated by real validation commands.
Docs & OfficeAdvanced★ 1,056⑂ 65AI score 8/10Last updated: Sep 3, 2026
What it does
- Takes the contest problem, modeling deliverables, and tables/figures produced by actually executed code, and produces a complete Word paper (
完整论文.docx); on explicit request it also builds a LaTeX source project and a genuinely compiled PDF with identical content. - Enforces an entry gate: without the problem, both modeling deliverables, runnable code, real result tables, candidate figures (≥3 per category covering every sub-question), and verified references, it refuses to write and sends work back upstream.
- Builds an internal Claim–Evidence map per sub-question (claim, formula, result-table location, at least one formal figure, code output or verified citation) and forbids fabricating evidence.
- Treats the current-year official contest rules as top priority (page limits, margins, abstract page, submission format); bundled templates are only a fallback baseline, never a substitute.
- Requires dual-engine literature search plus opening the DOI/publisher page to verify metadata — copying an upstream reference list does not count.
- Finishes with deterministic checks:
paper_format.py validate,office/validate.py,equations.py verify-conversion, and for LaTeXlatex_paper.py doctor/build/validate(image DPI, body/appendix page boundaries, font embedding, hash binding). All exit codes must be 0, and independent W1/W2 QA subagents must return PASS before delivery.
Who it's for
- Students and advisors writing CUMCM / MCM-ICM style math modeling papers.
- Anyone who must keep a Word and a LaTeX version perfectly consistent under strict formatting rules.
- Users who want AI drafts grounded strictly in real computed results instead of plausible-sounding filler.
Examples
- Word only: hand over modeling and coding outputs; the skill assembles
完整论文.docxin the official structure and verifies it withpaper_format.py validate --contest cumcm --rendered-pages N. - Word + LaTeX: say "I also need LaTeX"; it runs
latex_paper.py initto copy the official template, compiles with xelatex, then runsvalidate --min-image-dpi 300 --questions q1 q2 q3. - Missing evidence: if question 2 has no result table, writing halts and the task returns to the modeling/coding roles before the W1 gate is re-run.
· · · 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/math-modeling⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and change into your working directory.
- Clone the repository:
git clone https://github.com/XiaoMaColtAI/math-modeling-skill.git - Create the skills directory:
mkdir -p ~/.claude/skills - This role depends on its parent skill, so copy the whole bundle:
cp -r math-modeling-skill/dsh-plugin/math-modeling-agent/skills/math-modeling ~/.claude/skills/math-modeling - Prepare the toolchain: Python 3, TeX Live (xelatex) for LaTeX output, and Pandoc if you need LaTeX→Word conversion.
- Run
python <skill-path>/tools/latex/scripts/latex_paper.py doctorto confirm the environment passes. - Restart Claude Code, place the problem statement,
题目分析报告.md, and your result tables/figures in the project folder, then ask for a complete math modeling paper (mentioning LaTeX if you need it).