Summary
处理 Microsoft Word 文档(.docx/.doc/.rtf):转换(PDF/Markdown/HTML/TXT)、提取(文本/表格/图片)、批量替换、合并/拆分、统一排版/套模板、格式校验/报告。用户提到 Word、docx、doc、论文排版、格式检查、表格提取、导出 PDF 时使用。
smithery.ai
处理 Microsoft Word 文档(.docx/.doc/.rtf):转换(PDF/Markdown/HTML/TXT)、提取(文本/表格/图片)、批量替换、合并/拆分、统一排版/套模板、格式校验/报告。用户提到 Word、docx、doc、论文排版、格式检查、表格提取、导出 PDF 时使用。
处理 Microsoft Word 文档(.docx/.doc/.rtf):转换(PDF/Markdown/HTML/TXT)、提取(文本/表格/图片)、批量替换、合并/拆分、统一排版/套模板、格式校验/报告。用户提到 Word、docx、doc、论文排版、格式检查、表格提取、导出 PDF 时使用。
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybr…
568.2K installsPower BI semantic modeling assistant for building optimized data models. Use when working with …
9.8K installsPower BI report visualization design prompt for creating effective, user-friendly, and accessib…
9.3K installsComprehensive Power BI DAX formula optimization prompt for improving performance, readability, …
9.1K installsComprehensive Power BI data model design review prompt for evaluating model architecture, relat…
8.9K installsOther skills from smithery.ai · top by installs.
npx skills add https://smithery.ai
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Parsed from SKILL.md frontmatter.
Read, Write, Edit, Grep, Glob, Bash(python:*), Bash(python3:*), Bash(pip:*), Bash(pip3:*)Files included with this skill beyond the listing page.
SKILL.md
3,746 B
SUMMARY.md
326 B
本 Skill 的目标:让 Claude Code 在本地(Linux/macOS/Windows)把 Word 文档当作可编程文档来可靠处理。
必须优先使用本 Skill 提供的脚本 scripts/word_tool.py,最好不要自己编写临时脚本或一次性代码。
所有文档操作都应通过 word_tool.py 的子命令完成,确保可复现性和稳定性。
-o/--output)。依赖自检(推荐每个新环境先跑一次):
python scripts/word_tool.py doctor
文档概览:
python scripts/word_tool.py info path/to/file.docx
python scripts/word_tool.py outline path/to/file.docx
提取:
python scripts/word_tool.py extract-text path/to/file.docx -o out.txt
python scripts/word_tool.py extract-tables path/to/file.docx -o tables/ --format xlsx
python scripts/word_tool.py extract-images path/to/file.docx -o images/
转换:
python scripts/word_tool.py convert input.doc --to docx -o output.docx
python scripts/word_tool.py convert input.docx --to pdf -o output.pdf
python scripts/word_tool.py convert input.docx --to md -o output.md
批量替换(YAML 规则):
python scripts/word_tool.py replace input.docx --rules templates/replace_rules.example.yaml -o replaced.docx
写入元数据(作者/标题等):
python scripts/word_tool.py set-metadata input.docx --metadata templates/metadata.example.yaml -o meta.docx
插入目录(TOC 字段,需要在 Word 里“更新域”才能渲染):
python scripts/word_tool.py toc input.docx --levels 1-3 -o with_toc.docx
排版校验 + 应用统一格式(YAML 配置):
python scripts/word_tool.py lint input.docx --config templates/format_thesis_qfnu_science.yaml -o report.md
python scripts/word_tool.py format input.docx --config templates/format_thesis_qfnu_science.yaml -o fixed.docx
合并/拆分:
python scripts/word_tool.py merge a.docx b.docx c.docx -o merged.docx
python scripts/word_tool.py split input.docx --by heading1 -o split_out/
生成新文档骨架(论文/报告模板化):
python scripts/word_tool.py new --template templates/thesis_skeleton.example.yaml -o thesis.docx
docs/INSTALL.mddocs/USAGE.mddocs/FORMAT_RULES.mddocs/TROUBLESHOOTING.mddocs/SECURITY.md