Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Chrome Markdown to PDF

v1.0.0

使用 Chrome headless 将 Markdown 文件转为排版精美的 PDF,支持表格、代码块、中文。 Activate when user mentions: md转pdf、markdown转pdf、转PDF、导出PDF、生成PDF、chrome转pdf。

0· 61·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for earl-chen/chrome-markdown2pdf.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Chrome Markdown to PDF" (earl-chen/chrome-markdown2pdf) from ClawHub.
Skill page: https://clawhub.ai/earl-chen/chrome-markdown2pdf
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install chrome-markdown2pdf

ClawHub CLI

Package manager switcher

npx clawhub@latest install chrome-markdown2pdf
Security Scan
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description and included script both implement Markdown→HTML→PDF via Chrome headless, which matches the stated purpose. Minor incoherence: registry metadata lists no required binaries, but SKILL.md and the script require a local 'google-chrome' binary (Chrome headless) to render PDF.
Instruction Scope
SKILL.md instructs running the provided Python script on local files in the workspace; the script only reads the specified Markdown file, writes a temporary HTML file and the output PDF, and invokes Chrome to print the PDF. It does not access environment variables, network endpoints, or other system configuration beyond invoking 'google-chrome' and deleting the temp file.
Install Mechanism
There is no install spec (instruction-only plus a local script). No external downloads or archives; the only runtime dependency is a system Chrome/Chromium binary. This is low-risk from an install perspective.
Credentials
The skill requests no environment variables, credentials, or config paths. The script operates on user-specified input/output file paths and does not attempt to read secrets or unrelated config.
Persistence & Privilege
always is false and the skill does not request persistent/system-wide changes. It does not modify other skills or global agent settings.
Assessment
This skill appears to honestly implement Markdown→PDF conversion using a local Chrome headless process and does not ask for credentials. Before installing, ensure you have a trusted Chrome/Chromium binary available (the script calls 'google-chrome'); the registry metadata should ideally list that binary as a requirement. Review and run the included script in a safe environment if you have concerns, and remember the script will read the Markdown file you point it to and write the resulting PDF to the specified location.

Like a lobster shell, security has layers — review code before you run it.

latestvk97e802g42yfmbzy46017saf2s84zf3m
61downloads
0stars
1versions
Updated 1w ago
v1.0.0
MIT-0

Markdown 转 PDF 工具

将 Markdown 文件转为带样式的 PDF,排版支持标题、表格、代码块、引用等。

使用方法

python3 ~/.openclaw/workspace/skills/chrome-markdown2pdf/scripts/md2pdf.py \
  --input "/path/to/file.md" \
  --output "/path/to/output.pdf"

如果不指定 --output,默认输出到输入文件同目录,后缀改为 .pdf

参数

参数必填说明
--input / -i输入 Markdown 文件路径
--output / -o输出 PDF 路径(默认同目录替换后缀)

依赖

  • Google Chrome(headless 模式渲染 PDF)

检查是否安装:

google-chrome --version

转换流程

  1. Markdown → HTML(内置转换器,支持表格、代码块、标题、加粗、斜体、行内代码、引用)
  2. HTML → PDF(Chrome headless --print-to-pdf

PDF 样式

  • 中文字体:Microsoft YaHei / PingFang SC
  • 表格带边框和斑马纹
  • 代码块灰色背景
  • 标题彩色层级(H1黑色/H2蓝色/H3绿色/H4紫色)

示例

# 基本用法
python3 ~/.openclaw/workspace/skills/chrome-markdown2pdf/scripts/md2pdf.py \
  -i /home/robot-01/work/report.md

# 指定输出路径
python3 ~/.openclaw/workspace/skills/chrome-markdown2pdf/scripts/md2pdf.py \
  -i /home/robot-01/work/report.md \
  -o /tmp/output.pdf

Comments

Loading comments...