← Back to Skills Marketplace
190
Downloads
1
Stars
0
Active Installs
5
Versions
Install in OpenClaw
/install markdown-export
Description
Convert a Markdown file or raw Markdown string into polished DOCX or HTML output from one unified skill. Supports custom DOCX reference templates, custom Pan...
Usage Guidance
This skill appears to do what it claims: it runs the included Python script and calls your local pandoc to produce DOCX/HTML using bundled or user-supplied templates/CSS. Before using it: ensure pandoc is installed and trusted; only pass trusted custom templates (reference.docx / Pandoc templates) because the script unzips and edits .docx files; avoid running it on untrusted Markdown if your pandoc setup uses external filters or custom executables (those could execute code); and review the bundled script if you want to confirm there are no network calls or other behaviors not covered here. If you need a deeper audit, provide the rest of scripts/export_markdown.py (full file was truncated) so I can check for subtle calls (network, subprocess with unescaped input, or unexpected file accesses).
Capability Analysis
Type: OpenClaw Skill
Name: markdown-export
Version: 0.5.0
The skill is a legitimate utility for converting Markdown files or strings into DOCX and HTML formats using Pandoc. The core logic in `scripts/export_markdown.py` uses subprocess.run with a list of arguments to safely invoke the Pandoc CLI, and it includes specialized XML manipulation logic to enhance code block styling within DOCX files. No evidence of data exfiltration, shell injection, or malicious prompt injection was found; all file operations and system calls are consistent with the stated purpose of document conversion.
Capability Assessment
Purpose & Capability
The name/description match the included assets: a Python converter (scripts/export_markdown.py), built-in HTML/CSS templates, and DOCX template metadata. The skill correctly documents that pandoc must be on PATH — that is proportionate to exporting Markdown to DOCX/HTML.
Instruction Scope
SKILL.md only instructs running the bundled Python script with local file paths and template choices. The runtime behavior described (reading Markdown from a file or raw string, applying templates/CSS, writing docx/html output) matches the code and templates. There are no instructions to read unrelated system files or to send data externally.
Install Mechanism
There is no install spec (instruction-only + bundled script), so nothing is downloaded or written during installation. The only external dependency is pandoc on PATH, which is documented in SKILL.md.
Credentials
The skill declares no environment variables, no credentials, and no config paths. The code uses local filesystem, zip/xml manipulation (for .docx templates), and subprocess to invoke pandoc only — all expected for this functionality.
Persistence & Privilege
The skill is not always-enabled and does not request any elevated platform privileges. It does not modify other skills or global agent settings in the provided files.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install markdown-export - After installation, invoke the skill by name or use
/markdown-export - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.5.0
- Adds new HTML layout controls: optional TOC panel and plain article body rendering via `--no-body-background` and flexible TOC inclusion.
- Updates documentation to include new examples for HTML export without TOC card or background.
- Enhances HTML template and CSS support for full-width body and panel-less layouts based on user options.
- Removes unused agents/openai.yaml configuration.
- Various template and style updates for consistency across all HTML built-in themes.
v0.4.0
- No user-facing changes.
- Internal changes likely made to scripts/export_markdown.py with no documentation updates.
v0.3.0
- Localized sample Markdown examples updated to use English instead of Chinese.
- Example commands in documentation now feature English content and field names.
- No changes to core functionality; updates are for clarity and accessibility.
v0.2.0
- Updated all command-line usage examples to remove absolute paths and use `scripts/export_markdown.py` relative paths instead.
- No changes to syntax, features, or behavior—documentation update only.
v0.1.0
Initial release of the markdown-export skill for unified Markdown conversion.
- Export Markdown source to DOCX, HTML, or both from one CLI command.
- Supports built-in and custom templates for both DOCX (reference.docx) and HTML (Pandoc template + CSS).
- Accepts input from either a Markdown file or a raw Markdown string.
- Optional features include built-in templates, table of contents, numbered headings, metadata, and resource paths.
- Lists available templates per format, with example usage provided for each scenario.
- Requires Pandoc to be installed and available in the system PATH.
Metadata
Frequently Asked Questions
What is markdown-export?
Convert a Markdown file or raw Markdown string into polished DOCX or HTML output from one unified skill. Supports custom DOCX reference templates, custom Pan... It is an AI Agent Skill for Claude Code / OpenClaw, with 190 downloads so far.
How do I install markdown-export?
Run "/install markdown-export" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is markdown-export free?
Yes, markdown-export is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does markdown-export support?
markdown-export is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created markdown-export?
It is built and maintained by King (@mutour); the current version is v0.5.0.
More Skills