5writing

Writes mathematical modeling competition papers using Typst or LaTeX templates with frozen results and figures.

Updated Aug 26, 2026
One-click install
npx skills add https://github.com/Yjj0333/skills-manager-backup --skill 5writing-yjj0333
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: 5writing
Source: https://github.com/Yjj0333/skills-manager-backup/tree/main/5writing
Command: npx skills add https://github.com/Yjj0333/skills-manager-backup --skill 5writing-yjj0333

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing a competition paper after modeling is done is tedious: you must pick the right contest template, organize sections, insert only verified final figures, and keep every number consistent with frozen run results. This Skill automates that final writing stage for mathematical modeling contests. ## Core Features & Use Cases - Dual typesetting engines: Supports both LaTeX (xelatex) and Typst, with bundled templates for 14+ Chinese contests (CUMCM, MathorCup, Huawei Cup, etc.) and English contests (MCM/ICM, APMCM). - Result-grounded writing: All numbers and figures come from RESULTS_REPORT.md, figure_manifest.json, and figures/final/ only, preventing fabricated or inconsistent results. - Structured section workflow: Guides engine selection, template copying, figure planning, per-section drafting, references, and abstract writing, including CUMCM AI-usage declaration and appendix code selection rules. - Use Case: After finishing modeling and visualization for the CUMCM contest, ask the AI to write the full paper; it copies the cumcm-latex template, inserts final figures into the right sections, and compiles a submission-ready PDF. ## Quick Start Write the competition paper using the LaTeX CUMCM template based on the current run's results report and final figures.

Frequently Asked Questions about 5writing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a mathematical modeling competition paper with LaTeX?▼

Choose the LaTeX engine when prompted, and the Skill copies the matching contest template (e.g., zh/cumcm-latex) into a paper/ directory. You then fill section files with content grounded in the results report and compile twice with xelatex to resolve cross-references.

What templates are available for math modeling contests?▼

Chinese templates cover apmcm, changsanjiao, cumcm, default, diangongbei, dongsansheng, huashubei, huaweibei, huazhongbei, mathorcup, mcm, shuweibei, stats, and wuyibei. English templates cover apmcm, default, and mcm, each in both Typst and LaTeX versions.

Should I use Typst or LaTeX for a modeling competition paper?▼

LaTeX with xelatex is the default and recommended choice since all templates are ready and it is the mainstream format for these contests. Typst is available as an alternative and uses the typst-author skill for syntax assistance.

Can I use preview figures or estimated numbers in the paper?▼

No. Final paper figures must come only from figures/final/, and all numbers must come from RESULTS_REPORT.md and the current run's authoritative results. Fabricating, estimating, or altering rounding is explicitly forbidden.

Why does my LaTeX paper show broken cross-references?▼

Cross-references and tables of contents require two compilation passes. Run xelatex -interaction=nonstopmode main.tex twice so labels, citations, and the contents page resolve correctly.

What code goes into the paper appendix?▼

The appendix is generated from delivery_manifest.json and includes only complete source programs that demonstrate the main models, core algorithms, and key validation methods. Trivial parameter-forwarding mains, simple field checks, and pure plotting scripts are excluded.