DOCX工具 SKILL.md skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

DOCX工具 from xiaomacoltai/math-modeling-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add xiaomacoltai/math-modeling-skill/DOCX工具@git:20260724.15aa6a3

Pins git:20260724.15aa6a3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
xiaomacoltai/math-modeling-skill
Path
tools/docx/SKILL.md
Versions recorded
5
Latest version
git:20260724.15aa6a3, committed Jul 24, 2026
First version recorded
Jun 30, 2026
Size
6,764 bytes
Repository stars
1,886
License
none declared

创建、编辑、校验和转换 Word DOCX,支持把完整 LaTeX 论文转换为 DOCX,以及数学建模论文模板、原生公式、三线表、修订和批注。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# DOCX 工具

## 路径与写入

- 当前目录为本工具根目录,只读。
- 模板和脚本从本目录读取。
- 生成或修改后的 DOCX 必须写入用户 `PROJECT_ROOT`。
- 默认不覆盖输入文件或 Skill 文件。

## 数学建模论文推荐流程

采用“当届官方参考模板 + `python-docx` 构建 + OMML 公式 + OOXML 校验 + 渲染抽检”。官方模板控制页面、样式、分节、页眉页脚和编号;代码负责稳定写入内容。

```python
from pathlib import Path
import sys

scripts = Path("<SKILL_ROOT>") / "tools" / "docx" / "scripts"
sys.path.insert(0, str(scripts))
import paper_format as pf

doc = pf.new_document(
    contest="cumcm",
    template_path=Path("<PROJECT_ROOT>") / "当届官方模板.docx",
    preserve_template_content=False,
)
# 此示例只借用模板样式后追加正文。
# 若官方模板包含固定摘要页或编号页,应改为 True 并在原位置填充。
pf.title(doc, "论文题目")
pf.abstract_title(doc)
pf.body(doc, "摘要正文。")
pf.keywords(doc, "优化;预测")
pf.equation(doc, r"\min f(x)=\sum_{i=1}^{n}x_i^2")
pf.three_line_table(doc, [["符号", "说明"], ["x", "决策变量"]])
pf.save_document(doc, Path("<PROJECT_ROOT>"), contest="cumcm")
```

## 公式

### 直接写入

`scripts/equations.py` 把常用 LaTeX 子集转成 Word 原生 OMML。未知命令、未闭合分组和不支持环境会报错,不会静默生成错误文本。

```powershell
python scripts/equations.py replace "输入.docx" `
  --replace "EQ_OBJECTIVE" "\min f(x)=\sum_{i=1}^{n}x_i^2" `
  --output "<PROJECT_ROOT>/输出.docx"
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add xiaomacoltai/math-modeling-skill/DOCX工具@sha256:f81aa71a841ed285

The line at the top of this page pins the label git:20260724.15aa6a3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_yuxoaz7d3baxguzc.svg)](https://markdownregistry.com/a/art_yuxoaz7d3baxguzc)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jun 30, 2026 and Jul 24, 2026, about one every 6 days.

versioncommittedcommitsizeaudit
git:20260724.15aa6a3 latest2026-07-24 15aa6a3 6,764 BA view · diff
git:20260724.b846ffb2026-07-24 b846ffb 5,356 BA view · diff
git:20260722.60361802026-07-22 6036180 5,320 BA view · diff
git:20260710.6a77adb2026-07-10 6a77adb 3,923 BA view · diff
git:20260630.7acf3742026-06-30 7acf374 37,952 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6764 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

xiaomacoltai/math-modeling-skill · 1,886 stars · license none declared · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_yuxoaz7d3baxguzc
GET https://markdownregistry.com/api/v1/resolve?ref=xiaomacoltai/math-modeling-skill/DOCX工具
GET https://markdownregistry.com/api/v1/blob/f81aa71a841ed285dc155dd6f2df4c84e9b5e6ab9fd94eba8553329ce56f3a37

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from xiaomacoltai/math-modeling-skill

math-modeling SKILL.md skill
xiaomacoltai/math-modeling-skill · SKILL.md · 当用户要求数学建模、建模竞赛、建模分析、代码求解、结果可视化或生成数学建模论文时使用。支持完整三阶段流程、单独执行任一角色,以及在关键节点使用独立 Subagent 进行阶段内质检;默认只启用质检 Subagent,用户可明确选择额外协作。
git:20260914.4c1f692 · audit A · 1,886 stars
math-modeling SKILL.md skill
xiaomacoltai/math-modeling-skill · dsh-plugin/math-modeling-agent/skills/math-modeling/SKILL.md · 当用户要求数学建模、建模竞赛、建模分析、代码求解、结果可视化或生成数学建模论文时使用。支持完整三阶段流程、单独执行任一角色,以及在关键节点使用独立 Subagent 进行阶段内质检;默认只启用质检 Subagent,用户可明确选择额外协作。
git:20260914.4c1f692 · audit A · 1,886 stars
建模手 SKILL.md skill
xiaomacoltai/math-modeling-skill · dsh-plugin/math-modeling-agent/skills/math-modeling/references/roles/建模手/SKILL.md · 数学建模的题目理解、模型选择和算法设计阶段。输出题目分析报告与术语表格。
git:20260914.9a4fece · audit A · 1,886 stars
编程手 SKILL.md skill
xiaomacoltai/math-modeling-skill · dsh-plugin/math-modeling-agent/skills/math-modeling/references/roles/编程手/SKILL.md · 数学建模的 Python 或 MATLAB 实现、运行、表格输出、可视化和复现阶段。
git:20260914.4c1f692 · audit A · 1,886 stars
论文手 SKILL.md skill
xiaomacoltai/math-modeling-skill · dsh-plugin/math-modeling-agent/skills/math-modeling/references/roles/论文手/SKILL.md · 根据题目、建模分析和真实代码结果生成完整 Word 数学建模论文,用户显式要求时同时生成 LaTeX 论文。
git:20260914.722996b · audit A · 1,886 stars
DOCX工具 SKILL.md skill
xiaomacoltai/math-modeling-skill · dsh-plugin/math-modeling-agent/skills/math-modeling/tools/docx/SKILL.md · 创建、编辑、校验和转换 Word DOCX,支持把完整 LaTeX 论文转换为 DOCX,以及数学建模论文模板、原生公式、三线表、修订和批注。
git:20260815.5bb9419 · audit A · 1,886 stars
科研可视化工具 SKILL.md skill
xiaomacoltai/math-modeling-skill · dsh-plugin/math-modeling-agent/skills/math-modeling/tools/figure/SKILL.md · 从数据剖析到出版级成图的完整可视化工具。先做数据剖析(列类型/样本量/分布/异常值/分组结构/相关性), 再结合论证目标推荐图型,主动拦截科研画图经典错误,产出 Nature / Science / IEEE / Elsevier /…
git:20260914.733aeb5 · audit A · 1,886 stars
LaTeX工具 SKILL.md skill
xiaomacoltai/math-modeling-skill · dsh-plugin/math-modeling-agent/skills/math-modeling/tools/latex/SKILL.md · 从官方或内置模板创建、编译和校验数学建模 LaTeX 论文项目,并可配合 DOCX 工具把完整 LaTeX 论文转换为 Word。
git:20260815.5bb9419 · audit A · 1,886 stars
双引擎论文搜索 SKILL.md skill
xiaomacoltai/math-modeling-skill · dsh-plugin/math-modeling-agent/skills/math-modeling/tools/paper_search/SKILL.md · 使用 OpenAlex 与 AnySearch 两个真实数据源并行搜索、交叉匹配和输出可追溯论文元数据。
git:20260815.5bb9419 · audit A · 1,886 stars
pdf SKILL.md skill
xiaomacoltai/math-modeling-skill · dsh-plugin/math-modeling-agent/skills/math-modeling/tools/pdf/SKILL.md · Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables…
git:20260815.5bb9419 · audit A · 1,886 stars
Excel工具 SKILL.md skill
xiaomacoltai/math-modeling-skill · dsh-plugin/math-modeling-agent/skills/math-modeling/tools/xlsx/SKILL.md · 读取、创建、修改和验证 XLSX,支持模板保留、公式重算和错误检查。
git:20260815.5bb9419 · audit A · 1,886 stars
建模手 SKILL.md skill
xiaomacoltai/math-modeling-skill · references/roles/建模手/SKILL.md · 数学建模的题目理解、模型选择和算法设计阶段。输出题目分析报告与术语表格。
git:20260914.9a4fece · audit A · 1,886 stars

Every file in xiaomacoltai/math-modeling-skill

Other files named DOCX工具

DOCX工具 SKILL.md skill
xiaomacoltai/math-modeling-skill · dsh-plugin/math-modeling-agent/skills/math-modeling/tools/docx/SKILL.md · 创建、编辑、校验和转换 Word DOCX,支持把完整 LaTeX 论文转换为 DOCX,以及数学建模论文模板、原生公式、三线表、修订和批注。
git:20260815.5bb9419 · audit A · 1,886 stars

Browse by kind, by grade A, or by owner.