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.
Convert any markdown file to a clean PDF. An agent skill from hamzafarooq/claude-code-starter.
$ npx skills add hamzafarooq/claude-code-starter --skill md-to-pdf -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install hamzafarooq/claude-code-starter md-to-pdf --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/hamzafarooq/claude-code-starter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/md-to-pdf .claude/skills/md-to-pdf && rm -rf skills-srcUse ~/.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/
Install the "md-to-pdf" agent skill from https://github.com/hamzafarooq/claude-code-starter/tree/main/.claude/skills/md-to-pdf into .claude/skills/md-to-pdf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md-to-pdf", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/hamzafarooq/claude-code-starter/tree/main/.claude/skills/md-to-pdfType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add hamzafarooq/claude-code-starter --skill md-to-pdf -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install hamzafarooq/claude-code-starter md-to-pdf --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hamzafarooq/claude-code-starter.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/md-to-pdf .agents/skills/md-to-pdf && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "md-to-pdf" agent skill from https://github.com/hamzafarooq/claude-code-starter/tree/main/.claude/skills/md-to-pdf into .agents/skills/md-to-pdf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md-to-pdf", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add hamzafarooq/claude-code-starter --skill md-to-pdf -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install hamzafarooq/claude-code-starter md-to-pdf --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hamzafarooq/claude-code-starter.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/md-to-pdf .cursor/skills/md-to-pdf && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "md-to-pdf" agent skill from https://github.com/hamzafarooq/claude-code-starter/tree/main/.claude/skills/md-to-pdf into .cursor/skills/md-to-pdf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md-to-pdf", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/hamzafarooq/claude-code-starter.git --path .claude/skills/md-to-pdf--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add hamzafarooq/claude-code-starter --skill md-to-pdf -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install hamzafarooq/claude-code-starter md-to-pdf --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hamzafarooq/claude-code-starter.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/md-to-pdf .gemini/skills/md-to-pdf && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "md-to-pdf" agent skill from https://github.com/hamzafarooq/claude-code-starter/tree/main/.claude/skills/md-to-pdf into .gemini/skills/md-to-pdf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md-to-pdf", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install hamzafarooq/claude-code-starter md-to-pdfInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add hamzafarooq/claude-code-starter --skill md-to-pdf -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/hamzafarooq/claude-code-starter.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/md-to-pdf .github/skills/md-to-pdf && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "md-to-pdf" agent skill from https://github.com/hamzafarooq/claude-code-starter/tree/main/.claude/skills/md-to-pdf into .github/skills/md-to-pdf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md-to-pdf", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add hamzafarooq/claude-code-starter --skill md-to-pdf -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install hamzafarooq/claude-code-starter md-to-pdf --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hamzafarooq/claude-code-starter.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/md-to-pdf .opencode/skills/md-to-pdf && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "md-to-pdf" agent skill from https://github.com/hamzafarooq/claude-code-starter/tree/main/.claude/skills/md-to-pdf into .opencode/skills/md-to-pdf/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "md-to-pdf", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
md-to-pdfConvert any markdown file to a clean PDF. An agent skill from hamzafarooq/claude-code-starter.
Md To PDF is an agent skill from hamzafarooq/claude-code-starter. Convert any markdown file to a clean PDF. Use when asked to make a PDF from a .md file, export a document, or convert markdown to PDF.
Its SKILL.md is about 600 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Documents & Office, covering PDF and Markdown. It works with Pandoc. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 172c531. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pandocbrewFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Md To PDF loads about 598 tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 184 words of instructions outside code blocks.
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.
The automated check found no risky patterns in SKILL.md.
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); files beside SKILL.md are not scanned.
The full file from hamzafarooq/claude-code-starter at commit 172c531, republished under its MIT licence (© hamzafarooq). 184 words, ~598 tokens.
.claude/skills/md-to-pdf/SKILL.md (or your agent's skills folder).When the user asks to convert a markdown file to PDF, follow these steps exactly:
Ask the user for the path to the .md file if not already provided. Confirm the output PDF path (default: same folder, same name, .pdf extension).
Run this command (replace INPUT and OUTPUT paths):
pandoc "INPUT.md" \
-o "OUTPUT.html" \
--standalone \
--metadata title="Document" \
--css=/dev/stdin <<'EOF'
body { font-family: "Helvetica Neue", Arial, sans-serif; max-width: 800px; margin: 40px auto; padding: 0 40px; font-size: 13px; line-height: 1.7; color: #1a1a1a; }
h1 { font-size: 26px; font-weight: 700; margin-bottom: 4px; }
h2 { font-size: 16px; font-weight: 700; margin-top: 32px; border-bottom: 1px solid #e0e0e0; padding-bottom: 6px; }
strong { font-weight: 600; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 12px; }
th { background: #f5f5f5; padding: 8px; text-align: left; border: 1px solid #ddd; }
td { padding: 8px; border: 1px solid #ddd; }
hr { border: none; border-top: 1px solid #e0e0e0; margin: 24px 0; }
ul, ol { padding-left: 20px; }
li { margin-bottom: 6px; }
EOF"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
--headless \
--disable-gpu \
--no-sandbox \
--print-to-pdf="OUTPUT.pdf" \
--print-to-pdf-no-header \
--no-pdf-header-footer \
"file://OUTPUT.html"Note: encode spaces in the file path as %20 in the file:// URL.
Delete the intermediate HTML file:
rm "OUTPUT.html"Tell the user the PDF is ready and give them the full path.
pandoc must be installed (which pandoc to check)/Applications/Google Chrome.app/ (standard Mac install)pandoc is not found: tell the user to run brew install pandocls /Applications/ | grep -i chrome and adjust the pathfile:// URL likely has unencoded spaces — encode them as %20© hamzafarooq, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/md-to-pdf of hamzafarooq/claude-code-starter.
Open the folder on GitHubat commit 172c531
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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Md To PDF this skillhamzafarooq/claude-code-starter | 145 | — | ~598 | Automated safety check: Pass | MIT | |
| Huashu Markdown Publishing Pipelinealchaincyf/huashu-md-html | 910 | — | ~4.8k | Automated safety check: Pass | MIT | |
| Pandic OfficeTeam-Commonly/commonly | 1.4k | — | ~642 | Automated safety check: Pass | Apache-2.0 | |
| Doc To Markdowndaymade/claude-code-skills | 1.4k | — | ~2.5k | Automated safety check: Pass | MIT | |
| Bio Reporting Rmarkdown ReportsGPTomics/bioSkills | 1.2k | 1 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Md To PDFMathews-Tom/armory | 329 | — | ~2.4k | Automated safety check: Pass | MIT |
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.
Team-Commonly/commonly
Convert Markdown to PDF (or DOCX/EPUB/HTML) using the pandoc CLI.
daymade/claude-code-skills
Converts DOCX/PDF/PPTX and saved HTML/HTM to high-quality Markdown with automatic post-processing.
GPTomics/bioSkills
Creates reproducible R Markdown analysis reports (HTML, PDF, Word) with knitr, covering the render pipeline, the interactive-vs-knit session trap, cache invalidation, bookdown cross-references…
Mathews-Tom/armory
Convert Markdown to styled PDFs with Mermaid diagrams, LaTeX/KaTeX math, tables, and code highlighting.
wentorai/research-plugins
Convert Markdown to publication-quality PDF with LaTeX math rendering
hamzafarooq/claude-code-starter
Turn any document, proposal, report, or outline into a stunning single-file HTML presentation using 34 pre-built professional templates.
hamzafarooq/claude-code-starter
Generate a complete, ready-to-share HTML presentation explaining Claude Code, Skills, Sub Agents, Hooks, and Multi-Agent Systems — designed for product managers.
hamzafarooq/claude-code-starter
Research 3–5 competitors for any product or feature. An agent skill from hamzafarooq/claude-code-starter.
hamzafarooq/claude-code-starter
Create stunning, animation-rich single-file HTML presentations from scratch or by converting a PowerPoint (.pptx) file.
hamzafarooq/claude-code-starter
Converts feature ideas or rough bullets into user stories with acceptance criteria.
hamzafarooq/claude-code-starter
Create a production-ready Dockerfile and deployment config for any project.
Works with
Categories
Convert any markdown file to a clean PDF. An agent skill from hamzafarooq/claude-code-starter. Md To PDF is an agent skill from hamzafarooq/claude-code-starter. Convert any markdown file to a clean PDF.
Md To PDF fits situations like: asked to make a PDF from a .md file; export a document; convert markdown to PDF.
Run `npx skills add hamzafarooq/claude-code-starter --skill md-to-pdf -a claude-code`. Or copy the skill folder (.claude/skills/md-to-pdf in hamzafarooq/claude-code-starter) into .claude/skills/md-to-pdf in your project. Claude Code loads it when a task matches its description.
Run `npx skills add hamzafarooq/claude-code-starter --skill md-to-pdf -a codex`. Or copy the skill folder (.claude/skills/md-to-pdf in hamzafarooq/claude-code-starter) into .agents/skills/md-to-pdf in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hamzafarooq/claude-code-starter --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.
Going by SKILL.md and its folder, Md To PDF needs the command-line tools its instructions call (pandoc and brew).
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.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Md To PDF is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 598 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Md To PDF: Huashu Markdown Publishing Pipeline (alchaincyf/huashu-md-html, 910 stars), Pandic Office (Team-Commonly/commonly, 1.4k stars), Doc To Markdown (daymade/claude-code-skills, 1.4k stars) and Bio Reporting Rmarkdown Reports (GPTomics/bioSkills, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
hamzafarooq (a GitHub user) maintains it in hamzafarooq/claude-code-starter, which has 145 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on September 13, 2026.
Source: hamzafarooq/claude-code-starter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.