← 返回 Skills 市场
leohuang8688

Markdown2pdf

作者 ClawMem.com · GitHub ↗ · v2.1.2 · MIT-0
cross-platform ⚠ suspicious
246
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install markdown2pdf
功能描述
Convert Markdown files to PDF or PNG with customizable professional themes and colored emoji support via CLI or API.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install markdown2pdf
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /markdown2pdf 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
Slug markdown2pdf
版本 2.1.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Markdown2pdf 是什么?

Convert Markdown files to PDF or PNG with customizable professional themes and colored emoji support via CLI or API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 246 次。

如何安装 Markdown2pdf?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install markdown2pdf」即可一键安装,无需额外配置。

Markdown2pdf 是免费的吗?

是的,Markdown2pdf 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Markdown2pdf 支持哪些平台?

Markdown2pdf 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Markdown2pdf?

由 ClawMem.com(@leohuang8688)开发并维护,当前版本 v2.1.2。

💬 留言讨论