← 返回 Skills 市场
84
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install md2doc
功能描述
Markdown 转 Word/PDF/HTML 文档转换器。支持 6 种样式模板(商务蓝、技术灰、简洁白、产品红、学术风、默认),自动生成封面、目录、页眉页脚。当用户需要将 Markdown 转成 Word、PDF 或 HTML,生成带样式的文档,或提到文档导出、格式转换时,使用此技能。
安全使用建议
This skill appears to do what it says: convert Markdown to .docx/.pdf/.html and apply templates. Before installing or running it: 1) Review any Markdown files for remote image URLs you don't trust (the skill will download them, making outbound requests). 2) Install dependencies in a controlled environment (virtualenv) and verify you are comfortable running arbitrary Python scripts from an unknown source. 3) If you don't need AI image suggestions or chart generation, inspect ai_analyzer.py to confirm it doesn't call external APIs (the provided snippet shows only local analysis and matplotlib usage). 4) Because package.json looks like a leftover/npm-style file, treat this as a Python project — no hidden installers were found. If you want higher assurance, run the scripts in a sandbox and review the full ai_analyzer and convert code paths for any network POSTs or unexpected subprocess calls.
功能分析
Type: OpenClaw Skill
Name: md2doc
Version: 1.0.1
The md2doc skill bundle is a legitimate Markdown-to-document converter supporting Word, PDF, and HTML formats. It includes an AI-based document analyzer (ai_analyzer.py) that uses keyword matching to suggest styles and generates data visualizations using matplotlib. The core logic in convert.py handles image downloading via the requests library and PDF conversion through Microsoft Word COM or LibreOffice (via subprocess), which are standard functional requirements for this utility. No evidence of data exfiltration, malicious command execution, or prompt injection was found; the code is well-structured, documented, and performs expected cleanup of temporary files.
能力评估
Purpose & Capability
Name/description match the included code: scripts implement Markdown parsing, style templates, image downloading, table extraction, chart generation and .docx creation. Required binaries/env vars are none, which is proportionate for a local converter. Minor incongruities: package.json is structured like an npm file but the project is Python (it lists "python" in dependencies and points main to SKILL.md) — this is a packaging oddity but not a security problem.
Instruction Scope
SKILL.md instructs the agent to run the included Python scripts via subprocess (expected). The code will download network images referenced in Markdown (requests.get), generate charts (matplotlib if installed) and write files (output docx/.temp_images). These actions are appropriate for the stated purpose, but note that downloading images causes outbound network requests to arbitrary URLs present in user-supplied Markdown (expected functionality but a privacy/network consideration). There are also small code-quality mismatches: convert.py imports analyze_document from ai_analyzer but the shown ai_analyzer defines DocumentAnalyzer class (this may be a naming wrapper elsewhere or a minor bug).
Install Mechanism
There is no install spec; this is an instruction-and-script skill that relies on host Python and pip-installed packages. Dependencies listed in SKILL.md and README (python-docx, requests, markdown, beautifulsoup4, Pillow) are reasonable. No remote binary downloads or extract-from-URL installs are used.
Credentials
The skill requests no environment variables or credentials and does not declare config paths. The only external access is optional network image downloads triggered by Markdown content — appropriate for embedding images but worth noting because it causes outbound HTTP(S) requests to hosts referenced in the Markdown.
Persistence & Privilege
The skill does not request always:true and does not attempt to modify other skills or system-wide configs. It writes output files and a temporary images directory inside the output location — normal and scoped to its purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install md2doc - 安装完成后,直接呼叫该 Skill 的名称或使用
/md2doc触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
修复:清理硬编码凭证
元数据
常见问题
MD2DOC 文档转换器 是什么?
Markdown 转 Word/PDF/HTML 文档转换器。支持 6 种样式模板(商务蓝、技术灰、简洁白、产品红、学术风、默认),自动生成封面、目录、页眉页脚。当用户需要将 Markdown 转成 Word、PDF 或 HTML,生成带样式的文档,或提到文档导出、格式转换时,使用此技能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 84 次。
如何安装 MD2DOC 文档转换器?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install md2doc」即可一键安装,无需额外配置。
MD2DOC 文档转换器 是免费的吗?
是的,MD2DOC 文档转换器 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
MD2DOC 文档转换器 支持哪些平台?
MD2DOC 文档转换器 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 MD2DOC 文档转换器?
由 冢猫(@glory904649854)开发并维护,当前版本 v1.0.1。
推荐 Skills