← Back to Skills Marketplace
glory904649854

MD2DOC 文档转换器

by 冢猫 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
84
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install md2doc
Description
Markdown 转 Word/PDF/HTML 文档转换器。支持 6 种样式模板(商务蓝、技术灰、简洁白、产品红、学术风、默认),自动生成封面、目录、页眉页脚。当用户需要将 Markdown 转成 Word、PDF 或 HTML,生成带样式的文档,或提到文档导出、格式转换时,使用此技能。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install md2doc
  3. After installation, invoke the skill by name or use /md2doc
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
修复:清理硬编码凭证
Metadata
Slug md2doc
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is MD2DOC 文档转换器?

Markdown 转 Word/PDF/HTML 文档转换器。支持 6 种样式模板(商务蓝、技术灰、简洁白、产品红、学术风、默认),自动生成封面、目录、页眉页脚。当用户需要将 Markdown 转成 Word、PDF 或 HTML,生成带样式的文档,或提到文档导出、格式转换时,使用此技能。 It is an AI Agent Skill for Claude Code / OpenClaw, with 84 downloads so far.

How do I install MD2DOC 文档转换器?

Run "/install md2doc" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is MD2DOC 文档转换器 free?

Yes, MD2DOC 文档转换器 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does MD2DOC 文档转换器 support?

MD2DOC 文档转换器 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created MD2DOC 文档转换器?

It is built and maintained by 冢猫 (@glory904649854); the current version is v1.0.1.

💬 Comments