← Back to Skills Marketplace
Markdown2pdf
by
ClawMem.com
· GitHub ↗
· v2.1.2
· MIT-0
246
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install markdown2pdf
Description
Convert Markdown files to PDF or PNG with customizable professional themes and colored emoji support via CLI or API.
Usage Guidance
What to check before installing:
- Verify provenance: the SKILL.md / README point to a GitHub repo but the registry lists source=unknown and versions mismatch — confirm the repository and maintainer identity (inspect https://github.com/leohuang8688/markdown2pdf) and prefer upstream releases.
- Inspect SKILL.md and other docs for invisible characters (unicode control chars) flagged by the scanner; those should be removed or explained. Invisible control characters are not required for conversion and may be malicious in agent contexts.
- Confirm and install wkhtmltopdf from the official site (https://wkhtmltopdf.org) before using the skill; the registry metadata omitted this required binary. Running the included install.sh will pip-install Python packages but will not install wkhtmltopdf for you.
- Review install.sh and the Python source (src/converter.py and src/emoji_replacer.py) for any network calls or unexpected behavior before running tests. Run tests and the conversion in an isolated/sandboxed environment if possible.
- Because the package includes example output files with financial reports and an email contact, be cautious about any automatic uploading or external-posting behavior if you integrate this skill into an automated pipeline — search the code for HTTP endpoints or credentials usage (none were obvious in the provided excerpts, but a full search is prudent).
If the SKILL.md is cleaned of control characters, the required binary (wkhtmltopdf) is clearly documented in the registry metadata, and the GitHub source/provenance is validated, this assessment would likely move to benign. Until then treat it as suspicious and validate manually.
Capability Analysis
Type: OpenClaw Skill
Name: markdown2pdf
Version: 2.1.2
The markdown2pdf skill is a legitimate utility designed to convert Markdown documents into PDF and PNG formats with support for themes and emoji replacement. The core logic in src/converter.py uses standard libraries (markdown, pdfkit, imgkit) to process text and generate documents, with no evidence of unauthorized network activity, data exfiltration, or malicious command execution. The installation script (install.sh) and documentation (SKILL.md, README.md) are well-structured and align perfectly with the tool's stated purpose, providing clear instructions for setup and usage without any signs of prompt injection or obfuscation.
Capability Assessment
Purpose & Capability
The skill's stated purpose (Markdown→PDF/PNG) matches the shipped code (converter, emoji replacer). However there are inconsistencies: SKILL.md and README clearly require the wkhtmltopdf binary, but the registry metadata lists "Required binaries: none" — that omission is incoherent and could surprise users. SKILL.md/README point to a GitHub repo (leohuang8688/markdown2pdf) while the registry lists source as unknown and the published version differs (registry version 2.1.2 vs SKILL.md version 1.0.0), which reduces provenance confidence.
Instruction Scope
Runtime instructions are narrowly scoped to installing Python deps, installing wkhtmltopdf, running the CLI and Python API, and running tests. They do not request unrelated system files or external credentials. However SKILL.md contains unicode-control-chars (prompt-injection signal) flagged by the pre-scan — the file should be inspected for invisible characters that could try to manipulate downstream tools/agents.
Install Mechanism
There is no platform install spec in the registry (instruction-only), but the package ships an install.sh that runs pip installs (markdown, pdfkit, imgkit) and checks for wkhtmltopdf. Installing Python packages via the provided script is expected for this type of skill, but users should review the script before running. The skill relies on wkhtmltopdf, which is an external binary users must install manually from a trusted source (SKILL.md points to wkhtmltopdf.org). No remote downloads from obscure hosts were observed in the provided files.
Credentials
The skill does not request environment variables, credentials, or config paths. Its runtime behavior (local HTML generation, calling wkhtmltopdf via pdfkit/imgkit) is proportionate to converting markdown to PDF/PNG.
Persistence & Privilege
The skill does not request elevated platform privileges nor set always:true. It includes no code that modifies other skills' configuration. Normal autonomous invocation is allowed by default and is not by itself a concern here.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install markdown2pdf - After installation, invoke the skill by name or use
/markdown2pdf - Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.1.2
- Expanded and redesigned SKILL.md documentation with detailed sections for features, installation, usage, API, theming, emoji support, and project structure.
- Added clear usage examples and configuration tables.
- Included comprehensive changelog, support links, and use cases.
- Improved clarity and accessibility for all users.
v2.1.0
Version 2.1.0 of markdown2pdf brings enhanced document conversion with emoji and theme support:
- Convert Markdown files to PDF and PNG formats with customizable, professional themes
- Colored emoji support for visually appealing documents
- Custom CSS and multiple output formats in a single command
- CLI and API interfaces for flexible integration
- OpenClaw compatibility and expanded theme selection
Metadata
Frequently Asked Questions
What is Markdown2pdf?
Convert Markdown files to PDF or PNG with customizable professional themes and colored emoji support via CLI or API. It is an AI Agent Skill for Claude Code / OpenClaw, with 246 downloads so far.
How do I install Markdown2pdf?
Run "/install markdown2pdf" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Markdown2pdf free?
Yes, Markdown2pdf is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Markdown2pdf support?
Markdown2pdf is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Markdown2pdf?
It is built and maintained by ClawMem.com (@leohuang8688); the current version is v2.1.2.
More Skills