Agent skill

5writing

数学建模竞赛论文撰写阶段,支持 Typst 和 LaTeX 双引擎。根据 ANALYSIS_MODELING_REPORT.md、RESULTS_REPORT.md 和 figures/*.pdf 选择比赛模板、排版引擎、组织章节,并在论文正文中按章节直接插入图表。

jihe520github.com/jihe520GitHub ↗
claude-codecan modify files
Install
npx skills add jihe520/MathModelAgent --skill 5writing --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 383
SKILL.md size: 8 KB
Bundled scripts: none
Allowed tools: Bash(*)ReadWriteEditGrepGlobAgentWebSearchWebFetch
Path: skills/5writing/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 3,177
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 竞赛论文撰写(Typst / LaTeX) 本 skill 承接 `3coding-visual` 和 `4drawio`。前序阶段只提供真实数据、图表 PDF 和记录文件;本阶段负责选择比赛模板和排版引擎、组织论文结构,并决定每张图表放入哪个章节。 **Typst 引擎**下可调用 typst-author skill 学习 typst 写法;**LaTeX 引擎**参考本文件末尾的"LaTeX 写作要点"小节。 ## 数学建模规范参考 如需领域判断,读取 `../_references/math_modeling_norms.md` 中的“论文写作”“图表与可视化”和“非数据图工具选择”小节。该文件只作为规范知识库,论文结构仍按比赛模板和当前赛题内容决定。 ## 模板族 本技能内捆绑的模板位于: ```text templates/zh/<竞赛>/main.typ # Typst 模板 templates/zh/<竞赛>-latex/main.tex # LaTeX 模板 templates/en/<竞赛>/main.typ # Typst 模板 templates/en/<竞赛>-latex/main.tex # LaTeX 模板 ``` **LaTeX 模板覆盖范围**:所有中文模板和英文模板均已提供 LaTeX 版本(`-latex` 后缀),使用 xelatex 编译。 支持的中文模板(Typst + LaTeX 双版本): ```text apmcm, changsanjiao, cumcm, default, diangongbei, dongsansheng, huashubei, huaweibei, huazhongbei, mathorcup, mcm, shuweibei, stats, wuyibei ``` 华为杯、华中杯、五一杯统一使用 `huaweibei`、`huazhongbei`、`wuyibei` 作为模板。 支持的英文模板(Typst + LaTeX 双版本): ```text apmcm, default, mcm ``` 论文中的所有数值图表结论必须来自 `reports/RESULTS_REPORT.md` 或 `figures/*`。不得编造、估算或使用不同的四舍五入方式。 ## 工作流 ### 步骤 0:确定排版引擎 **撰写论文前必须让用户选择排版引擎。** 引擎决定后续所有步骤(模板路径、章节文件扩展名、图片插入语法、编译命令),选错会导致整篇论文格式错误。 使用 AskUserQuestion 工具向用户询问:"撰写论文使用哪种排版引擎?" - 选项 1:LaTeX(xelatex 编译,数学建模竞赛主流,模板已全部就绪)— 推荐选项放第一位 - 选项 2:Typst(typst 编译,调用 t

What's inside
Steps it walks through
  1. 数学建模规范参考
  2. 模板族
  3. 工作流
  4. 步骤 0:确定排版引擎
  5. 步骤 1:选择语言和模板
  6. 步骤 2:准备模板
  7. 步骤 3:构建图表规划
  8. 步骤 4:撰写各节
  9. 步骤 5:参考文献
  10. 步骤 6:最后撰写摘要或总结
  11. LaTeX 写作要点
  12. 编译命令
  13. 文档结构
  14. 图表插入
Ships with 24 files
  • templates/en/apmcm-latex/main.tex
  • templates/en/apmcm-latex/references.tex
  • templates/en/apmcm-latex/sections/1_introduction.tex
  • templates/en/apmcm-latex/sections/2_assumptions.tex
  • templates/en/apmcm-latex/sections/3_model_design.tex
  • templates/en/apmcm-latex/sections/4_solution.tex
  • templates/en/apmcm-latex/sections/5_sensitivity.tex
  • templates/en/apmcm-latex/sections/6_strengths_weaknesses.tex
  • templates/en/apmcm-latex/sections/7_conclusions.tex
  • templates/en/apmcm-latex/sections/A_code.tex
  • templates/en/apmcm/main.typ
  • templates/en/apmcm/references.typ
  • templates/en/apmcm/sections/1_introduction.typ
  • templates/en/apmcm/sections/2_assumptions.typ
  • templates/en/apmcm/sections/3_model_design.typ
  • templates/en/apmcm/sections/4_solution.typ
  • templates/en/apmcm/sections/5_sensitivity.typ
  • templates/en/apmcm/sections/6_strengths_weaknesses.typ
  • templates/en/apmcm/sections/7_conclusions.typ
  • templates/en/apmcm/sections/A_code.typ
  • templates/en/default-latex/main.tex
  • templates/en/default-latex/references.tex
  • templates/en/default-latex/sections/1_introduction.tex
  • templates/en/default-latex/sections/2_assumptions.tex
first 24 of 383
Commands it runs
ls "$SKILL_DIR/templates/zh/<竞赛>/main.typ" 2>/dev/null && echo "OK" || echo "MISSING"
ls "$SKILL_DIR/templates/zh/<竞赛>-latex/main.tex" 2>/dev/null && echo "OK" || echo "MISSING"
xelatex main.tex && xelatex main.tex
More from MathModelAgent
All skills →
About this skill
What does the 5writing skill do?

数学建模竞赛论文撰写阶段,支持 Typst 和 LaTeX 双引擎。根据 ANALYSIS_MODELING_REPORT.md、RESULTS_REPORT.md 和 figures/*.pdf 选择比赛模板、排版引擎、组织章节,并在论文正文中按章节直接插入图表。

How do I install it?

Run `npx skills add jihe520/MathModelAgent --skill 5writing --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From jihe520/MathModelAgent, a repository with 3,177 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going