Agent skill

Md To PDF

by huangserva in huangserva/servasyy_skills

Convert markdown documents to PDF with optional illustrations.

No licenceAuto-check: notesDocuments & Office

Install Md To PDF

skills CLI
$ npx skills add huangserva/servasyy_skills --skill md-to-pdf -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install huangserva/servasyy_skills md-to-pdf --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/huangserva/servasyy_skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/md-to-pdf .claude/skills/md-to-pdf && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
md-to-pdf
GitHub stars
168
Token cost
~210 tokens
SKILL.md length
47 words
Files
3 (incl. scripts)
Skills in repo
9
Repo updated
First seen
Licence
None found

At a glance

Convert markdown documents to PDF with optional illustrations.

  • Works in 4 steps: 检查图片是否存在 → 如果 --with-illustrations:调用… → 使用 WeasyPrint 转换 MD → PDF → …
  • Tasks that involve PDF
  • SKILL.md covers 功能, 使用方法, 输出 and 依赖
  • Runs Python scripts from its folder

What it does

Md To PDF is an agent skill from huangserva/servasyy_skills. Convert markdown documents to PDF with optional illustrations. Can automatically call illustration-generator if images are missing. Supports Chinese fonts and custom styling.

Its SKILL.md is about 210 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/convert.py`).

It sits in Documents & Office, covering PDF and Markdown. The repository describes itself as: AI驱动的多媒体内容生产skills集合:document-writer(写作)、illustration-generator(配图)、ppt-generator(PPT风格)、podcast-generator(TTS)、remoti….

When your agent uses it

  • Tasks that involve PDF
  • Tasks that involve Markdown

Example prompts

  • “/md-to-pdf”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Bash, Read, Write, Edit, Glob, Grep, TodoWrite

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 检查图片是否存在
  2. 如果 --with-illustrations:调用 illustration-generator
  3. 使用 WeasyPrint 转换 MD → PDF
  4. 输出 PDF 文件

What it can do on your machine

Read from SKILL.md and the folder at commit 84ee474. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write
    • Edit
    • Glob
    • Grep
    • TodoWrite

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Md To PDF loads about 210 tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 47 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~46
When it runs · the whole SKILL.md, loaded when a task matches
~210

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write, Edit, Glob, Grep, TodoWrite

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 47 words (~210 tokens).

name
md-to-pdf
allowed-tools
Bash, Read, Write, Edit, Glob, Grep, TodoWrite

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (scripts) in md-to-pdf of huangserva/servasyy_skills.

  • SKILL.md
  • md-to-pdf
  • scripts/convert.py

Open the folder on GitHubat commit 84ee474

Compare with similar skills

Md To PDF next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Md To PDF compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Md To PDF this skillhuangserva/servasyy_skills168—~210Automated safety check: NotesNone
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Gzh Designisjiamu/gzh-design-skill4k—~2.2kAutomated safety check: PassAGPL-3.0
Bookforge Korean Ebook PDF Makergongnyang/bookforge3161 repos~1.7kAutomated safety check: PassMIT
Huashu Markdown Publishing Pipelinealchaincyf/huashu-md-html910—~4.8kAutomated safety check: PassMIT
Gzh DesignZJU-REAL/Easel3.4k—~2.1kAutomated safety check: PassAGPL-3.0

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    4k GitHub stars~2.2k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Produces book-style Korean ebook PDFs from a topic or finished manuscript, with six design styles, real book parts and quality-check gates before output.

    316 GitHub starsUsed in 1 repo~1.7k tokens
    Documents & OfficeAuto-check passed
  • Huashu Markdown Publishing Pipeline

    alchaincyf/huashu-md-html

    Converts files and web pages into clean Markdown, then turns Markdown into polished HTML, Word, PDF and EPUB using four templates.

    910 GitHub stars~4.8k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Gzh Design

    ZJU-REAL/Easel

    微信公众号文章排版引擎:把 Markdown / Word(.docx) / PDF / 纯文本转成可直接粘贴进公众号编辑器的 HTML,自动章节编号、关键词标记、引言卡、目录、代码块、图片/GIF、作者签名;主题从 references/theme-index.md…

    3.4k GitHub stars~2.1k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • 从论文 PDF 文件或论文 PDF URL 生成通俗易懂、图文并茂、带批判性评估的中文 Markdown 解读,并保存到当前项目的 markdown 目录。Use when the user asks to interpret,精读,解读,summarize,explain,analyze, or write an article from an academic paper PDF…

    8.6k GitHub stars~1.5k tokensUpdated yesterday
    Documents & OfficeAuto-check passed

More from huangserva/servasyy_skills

All 9 skills in this repo
  • Document Writer

    huangserva/servasyy_skills

    多风格文档写作技能。支持乔木、小红书、Dankoe、微信公众号、Twitter等5种写作风格。Claude 根据内容智能选择风格,按规范撰写文章。

    168 GitHub stars~1.1k tokensUpdated 8 days ago
    Auto-check: notes
  • Ppt Generator

    huangserva/servasyy_skills

    生成专业 PPT 演示文稿,支持 22 种风格,自动根据内容选择最佳风格,输出到 ~/ppt-output/. An agent skill from huangserva/servasyy_skills.

    168 GitHub stars~1.8k tokensUpdated 8 days ago
    Auto-check passed
  • Tts Script Generator

    huangserva/servasyy_skills

    Intelligently compress and rewrite documents into TTS-friendly scripts.

    168 GitHub stars~936 tokensUpdated 8 days ago
    Auto-check: notes
  • Twitter Crawler

    huangserva/servasyy_skills

    Twitter 推文爬取器 - 指定用户名爬取推文,保存为 Markdown 格式,支持自定义数量和字段. An agent skill from huangserva/servasyy_skills.

    168 GitHub stars~672 tokensUpdated 8 days ago
    Auto-check: notes
  • Comic Generator

    huangserva/servasyy_skills

    知识漫画生成器,支持多种风格(Ligne Claire/漫画教程风/武侠风等)。将文章/教程/人物传记转换为漫画形式. An agent skill from huangserva/servasyy_skills.

    168 GitHub stars~1k tokensUpdated 8 days ago
    Auto-check: notes
  • Illustration Generator

    huangserva/servasyy_skills

    黄总的统一个人生图与提示词收藏入口:文章配图、封面海报、产品电商、人物摄影、角色、艺术风格、游戏场景、参考图编辑、多图一致性和社交卡片。按分类调用既有风格库、模板及生图后端,收藏和复用认可的提示词。

    168 GitHub stars~556 tokensUpdated 8 days ago
    Auto-check passed

Questions about Md To PDF

What does Md To PDF do?

Convert markdown documents to PDF with optional illustrations. Md To PDF is an agent skill from huangserva/servasyy_skills. Convert markdown documents to PDF with optional illustrations.

When should I use Md To PDF?

Md To PDF fits situations like: tasks that involve PDF; tasks that involve Markdown.

How do I install Md To PDF in Claude Code?

Run `npx skills add huangserva/servasyy_skills --skill md-to-pdf -a claude-code`. Or copy the skill folder (md-to-pdf in huangserva/servasyy_skills) into .claude/skills/md-to-pdf in your project. Claude Code loads it when a task matches its description.

How do I install Md To PDF in Codex?

Run `npx skills add huangserva/servasyy_skills --skill md-to-pdf -a codex`. Or copy the skill folder (md-to-pdf in huangserva/servasyy_skills) into .agents/skills/md-to-pdf in your project. Codex loads it when a task matches its description.

Can I use Md To PDF in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add huangserva/servasyy_skills --skill md-to-pdf -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/md-to-pdf, .gemini/skills/md-to-pdf, .github/skills/md-to-pdf and .opencode/skills/md-to-pdf in your project.

What does Md To PDF need to run?

Going by SKILL.md and its folder, Md To PDF needs Python for the scripts in its folder. Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash, Read, Write, Edit, Glob, Grep, TodoWrite.

Does Md To PDF access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Md To PDF safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Md To PDF use?

No licence was found for Md To PDF or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Md To PDF use?

About 210 tokens (SKILL.md is roughly 840 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Md To PDF?

Skills that share tags, products or a category with Md To PDF: Markitdown (ImCa0/just-laws, 781 stars), Gzh Design (isjiamu/gzh-design-skill, 4k stars), Bookforge Korean Ebook PDF Maker (gongnyang/bookforge, 316 stars) and Huashu Markdown Publishing Pipeline (alchaincyf/huashu-md-html, 910 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Md To PDF?

huangserva (a GitHub user) maintains it in huangserva/servasyy_skills, which has 168 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 2, 2026.

Source: huangserva/servasyy_skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.