← 返回 Skills 市场
117
总下载
3
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install markdown2doc
功能描述
Lightweight document utility designed to convert Markdown (MD) files to PDF or DOCX format. Supports multiple template themes. Preserves document structure,...
安全使用建议
This skill will read the specified markdown file and any local images (in the same directory or subdirectories) and upload them to https://lab.hjcloud.com/llmdoc for conversion. That network transfer is clearly documented in SKILL.md—do not use this skill on sensitive, confidential, or proprietary documents or images. If you need offline conversion, consider local tools instead. If you plan to use this in a sensitive environment, verify the service's privacy policy and the trustworthiness of the lab.hjcloud.com domain and the linked GitHub repository before proceeding. Finally, because the skill is implemented as a script included in the package, you can review or run the script locally to confirm behavior prior to giving it files to process.
功能分析
Type: OpenClaw Skill
Name: markdown2doc
Version: 1.0.4
The markdown2doc skill is a utility for converting Markdown files to PDF or DOCX formats using a remote conversion service (https://lab.hjcloud.com/llmdoc). The script scripts/markdown2doc.js reads the markdown content and any locally referenced images, then uploads them via a multipart/form-data request. Notably, the script includes a security check (isPathSafe) to prevent path traversal attacks by ensuring only files within the markdown's directory or subdirectories are accessed. The data transmission to the third-party service is clearly disclosed in the SKILL.md documentation, and the code lacks any indicators of malicious intent, obfuscation, or unauthorized execution.
能力标签
能力评估
Purpose & Capability
Name/description match the included script and SKILL.md. The only declared runtime dependency is node, which is correct for the provided JavaScript implementation. The script's behavior (converting markdown by calling a remote conversion service) matches the stated purpose.
Instruction Scope
SKILL.md and the script explicitly instruct reading the markdown file and any locally referenced images (from the same directory or subdirectories) and uploading them to the documented endpoint (lab.hjcloud.com). There are no instructions or code paths that read unrelated system files, environment variables, or other credentials; data transmission is declared in the Data & Privacy section.
Install Mechanism
This is an instruction-only skill with an included Node script; there is no install spec that downloads or extracts external artifacts. No risky install URLs or package managers are used.
Credentials
The skill requests no environment variables or credentials. It does perform network uploads to a single hard-coded service (lab.hjcloud.com), and that behavior is disclosed in SKILL.md. The absence of extra secrets or config paths is proportionate to the stated functionality.
Persistence & Privilege
The skill is not marked always:true, is user-invocable, and does not attempt to modify other skills or system-wide settings. It runs only when invoked and does not request elevated or persistent privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install markdown2doc - 安装完成后,直接呼叫该 Skill 的名称或使用
/markdown2doc触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
**Added DOCX output support and template themes.**
- Now supports converting Markdown files to both PDF and DOCX formats.
- Added the ability to select from multiple template themes when converting to DOCX; list available themes with `list-themes`.
v1.0.3
- Minor internal updates to scripts/markdown2doc.js.
- No changes to user-facing features or documentation.
- Functionality and usage remain the same.
v1.0.2
- Only embed images in the markdown file directory or its subdirectories; For safety reasons, images outside of this range are skipped.
v1.0.1
- Clarified Data & Privacy section to specify that both markdown content and all locally referenced image files are transmitted to the cloud service.
- Added guidance and responsibility disclaimer regarding sensitive or confidential information in both markdown and image files.
- Explained that any local image referenced in the markdown will be uploaded during conversion.
- Minor adjustment in Capabilities list to reflect only local images are embedded (removed mention of URL images).
v1.0.0
- Initial release of markdown2doc: a tool to convert Markdown files to PDF format.
- Preserves structure, headings, lists, tables, code blocks, and embeds both local and online images.
- Generates a navigable table of contents.
- Requires no external dependencies beyond Node.js; no API key or account needed.
- All conversions are handled via a secure cloud service at lab.hjcloud.com.
- Output PDF is saved in the same directory as the source Markdown file.
元数据
常见问题
Markdown2Doc 是什么?
Lightweight document utility designed to convert Markdown (MD) files to PDF or DOCX format. Supports multiple template themes. Preserves document structure,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 117 次。
如何安装 Markdown2Doc?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install markdown2doc」即可一键安装,无需额外配置。
Markdown2Doc 是免费的吗?
是的,Markdown2Doc 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Markdown2Doc 支持哪些平台?
Markdown2Doc 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Markdown2Doc?
由 Haoyt27(@haoyt27)开发并维护,当前版本 v1.0.4。
推荐 Skills