en un clic
Render Markdown and HTML documents to PDF using pandoc plus WeasyPrint with shared themes and a reproducible CLI workflow. Use when creating research papers, one-pagers, printable reports, or any artifact that should end up as a PDF.
Menu
Render Markdown and HTML documents to PDF using pandoc plus WeasyPrint with shared themes and a reproducible CLI workflow. Use when creating research papers, one-pagers, printable reports, or any artifact that should end up as a PDF.
Shared agent infrastructure repo for Claude Code and Codex CLI. Use when updating global agent instructions, skills, symlink setup, tool configs, rules, or the generic agents attachments manifest contract and helper tooling.
Guide for creating effective skills. Use when users want to create a new skill (or update an existing skill) that extends the agent's capabilities with specialized knowledge, workflows, or tool integrations. Also use when setting up, installing, or configuring skill installation (setup.sh, symlinks, copy to .agents). Triggers: create skill, new skill, skill setup, setup skill, install skill, настроить скил, создать скил, сетап скила, установить скил, скил креатор.
| name | |
| description | Render Markdown and HTML documents to PDF using pandoc plus WeasyPrint with shared themes and a reproducible CLI workflow. Use when creating research papers, one-pagers, printable reports, or any artifact that should end up as a PDF. |
| triggers | ["pdf","render pdf","export pdf","markdown to pdf","html to pdf","weasyprint","pandoc pdf","printable artifact","pdf theme","сгенерировать pdf","сделать pdf","экспорт в pdf","тема для pdf"] |
Use this skill when the output should be a real PDF artifact rather than just markdown.
This skill provides:
scripts/render-pdf.shassets/template.html5assets/themes/alexis-agents-infra source repo:
./setup.sh --with-pdf-tools./.scripts/setup-pdf-tools.shPreferred stack:
pandoc for Markdown -> HTML normalizationweasyprint for HTML -> PDF renderingpdftotext for validation that text survived renderingFrom the alexis-agents-infra source repo, install them with:
./setup.sh --with-pdf-tools
Preflight-check the toolchain with:
./.scripts/setup-pdf-tools.sh --check
Or install/check only the PDF toolchain without reinstalling the whole runtime:
./.scripts/setup-pdf-tools.sh
./.scripts/setup-pdf-tools.sh --check
From this skill directory, render a markdown file with the default theme:
scripts/render-pdf.sh notes/report.md -o .temp/report.pdf
Render with an explicit theme and title:
scripts/render-pdf.sh notes/report.md \
-o artifacts/report.pdf \
--theme report-clean \
--title "Quarterly Research Report"
List available themes:
scripts/render-pdf.sh --list-themes
The renderer can be called from the source repo or via the installed runtime
skill link such as ~/.agents/skills/pdf/scripts/render-pdf.sh. It resolves
its template and bundled themes relative to the script location.
Current built-in themes:
prose-classic — serif, print-like, good for papers and long-form prosereport-clean — cleaner sans-serif report style for short memos and executive summariesIf the task needs a custom look:
assets/themes/@pageAfter rendering:
pdfinfo output.pdf to confirm page count and metadata.pdftotext output.pdf - and inspect the first section to confirm text was not dropped../.scripts/setup-pdf-tools.sh --check and confirm pandoc plus weasyprint are visible on PATH.Store generated PDFs in project artifact locations such as .temp/ unless the repo has a more specific package/output convention.