← Back to Skills Marketplace
haoyt27

Markdown2Doc

by Haoyt27 · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ⚠ suspicious
117
Downloads
3
Stars
0
Active Installs
5
Versions
Install in OpenClaw
/install markdown2doc
Description
Lightweight document utility designed to convert Markdown (MD) files to PDF or DOCX format. Supports multiple template themes. Preserves document structure,...
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
cryptorequires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install markdown2doc
  3. After installation, invoke the skill by name or use /markdown2doc
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug markdown2doc
Version 1.0.4
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 5
Frequently Asked Questions

What is Markdown2Doc?

Lightweight document utility designed to convert Markdown (MD) files to PDF or DOCX format. Supports multiple template themes. Preserves document structure,... It is an AI Agent Skill for Claude Code / OpenClaw, with 117 downloads so far.

How do I install Markdown2Doc?

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

Is Markdown2Doc free?

Yes, Markdown2Doc is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Markdown2Doc support?

Markdown2Doc is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Markdown2Doc?

It is built and maintained by Haoyt27 (@haoyt27); the current version is v1.0.4.

💬 Comments