Skip to content
cccskills
FreePublished on GitHub

docx

Use when EZ_math_model needs to convert paper.md to paper.docx, read a DOCX problem statement, preserve equations and tables, or package a modeling report as a Word document.

The English summary is being prepared. Showing the original description.

Works withWord
See how to install

Files included (1)

  • SKILL.md2.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

docx — Word 文档读写与打包

何时使用

  • 把 paper.md 转换为 paper.docx。
  • 读取用户上传的 .docx 题目。
  • 需要参考模板、图片嵌入、公式对象或表格保真。

优先链路

  1. 宿主 docx skill。
  2. pandoc 直调。
  3. python-docx 兜底。

Markdown 转 DOCX

pandoc paper.md `
  --from gfm+tex_math_dollars+pipe_tables `
  --to docx `
  --output paper.docx `
  --resource-path .

有参考模板时追加:

--reference-doc <template.docx>

DOCX 转文本

优先使用宿主 docx skill。没有宿主能力时,用 python-docx 提取段落和表格,再写成 Markdown 友好文本。

产出要求

  • 输出文件默认与 paper.md 同目录:paper.docx。
  • 图片必须嵌入,不保留失效本地链接。
  • $...$ 与 $$...$$ 尽量转换为 Word 可编辑公式;失败时保留原始 LaTeX 文本并写诊断。

对象级验收

DOCX 不是“文件存在就合格”。转换后必须把 .docx 当 zip 解包检查:

  • word/document.xml 必须存在且可读取。
  • 公式验收:统计 m:oMath / m:oMathPara。若 paper.md 有公式但 DOCX 中 公式对象数为 0,formal 模式失败。
  • 图片验收:统计 word/media/*。Markdown 图片引用数不得超过嵌入图片数; 缺图必须列出文件名。
  • 表格验收:统计 w:tbl。Markdown 表格应转换为 Word 表格对象;未转换时至少 降级为 warning,formal 视严重程度阻塞。
  • LaTeX fallback:统计 word/document.xml 中残留 $...$。formal 模式下残留 公式文本不得直接标为通过。

EZMM 内置 scripts/runtime/audit_export.py 会执行上述检查,生成 export_audit.json 与 export_audit.md。

失败诊断

情况处理
宿主 skill、pandoc、python-docx 都不可用保留 paper.md,在 diagnostics.md 写缺失工具
公式渲染异常formal 模式阻塞正式发布;demo 模式保留 LaTeX 文本并降级
图片路径错误检查 Markdown 相对路径和 --resource-path

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Pre-pipeline aggregator that scans AI agent cache directories (.claude, .cursor, .antigravity, .openclaw) or any user-specified directory for experimentation logs, extracts insights and numeric results, and formats them as PaperOrchestra-ready inputs (idea.md + experimental_log.md). TRIGGER when the user says "aggregate my agent logs for paper writing", "extract experiments from my coding agent history", "prepare PaperOrchestra inputs from my cache", "turn my agent logs into a paper", mentions a folder or directory they want to use as the basis for a paper, or wants to run PaperOrchestra but only has scattered agent experiment histories rather than structured inputs. Run this BEFORE paper-orchestra. Also called automatically by paper-orchestra when workspace/inputs/idea.md or workspace/inputs/experimental_log.md are missing.

The English summary is being prepared. Showing the original description.

woodfishhhh/EZ_math_model43Updated Jul 28, 2026

Use when EZ_math_model model selection is unclear after the modeling decision tree, the problem spans multiple domains, or modeler needs several candidate approaches before writing modeling_plan.md.

The English summary is being prepared. Showing the original description.

woodfishhhh/EZ_math_model43Updated Jul 28, 2026

Step 5 of the PaperOrchestra pipeline (arXiv:2604.05018). Iteratively refine drafts/paper.tex by simulating peer review and applying targeted revisions, with strict accept/revert halt rules. Maintains a worklog and snapshots each iteration so revert is real, not symbolic. TRIGGER when the orchestrator delegates Step 5 or when the user asks to "refine the draft", "iterate on the paper", or "run peer review on this paper".

The English summary is being prepared. Showing the original description.

woodfishhhh/EZ_math_model43Updated Jul 28, 2026

公开数据集发现入口。覆盖 Kaggle / UCI / HuggingFace / 天池。题目要求"自行 查找数据"或"补充外部数据"时启用;附件已含数据时**不调用**。

The English summary is being prepared. Showing the original description.

woodfishhhh/EZ_math_model43Updated Jul 28, 2026

Use when EZ_math_model runs in multi or hybrid mode and has two or more independent subtasks that can be assigned to subagents without shared files, shared state, or dataflow dependencies.

The English summary is being prepared. Showing the original description.

woodfishhhh/EZ_math_model43Updated Jul 28, 2026

Use when EZ_math_model multi or hybrid mode needs several domain-specialist subagents to gather outside knowledge, industry context, model theory, or sensitivity-analysis references in parallel.

The English summary is being prepared. Showing the original description.

woodfishhhh/EZ_math_model43Updated Jul 28, 2026

See all skills by woodfishhhh

Report a problem with this skill