Any2pdf — AI skill for Claude Code
Markdown to professionally typeset PDF — an agent skill for AI coding assistants.
How to install Any2pdf
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open lovstudio/any2pdf and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Any2pdf does
Markdown to professionally typeset PDF — an agent skill for AI coding assistants.
Alternatives in AI
- Context Engineering Intro — GitHub Repo stars Context engineering - the new way of AI coding assistants Context engineering guide 12.8k ★
- Geo SEO Claude — GEO-first SEO skill for Claude Code 3.6k ★
- AutoGroq — AutoGroq is a groundbreaking tool that revolutionizes the way users interact with Autogen™ and other AI assist 1.5k ★
README
any2pdf
**Tell your AI assistant "转PDF" and get a publication-quality document.** No config, no templates, no LaTeX.
An [agent skill](https://agentskills.io) that gives AI coding assistants (Claude Code, Cursor, Copilot, Gemini CLI, etc.) the ability to convert Markdown into professionally typeset PDFs — with a single natural language request.
Why This Exists
Every existing Markdown-to-PDF tool falls into one of two traps:
**Too simple** — Pandoc/wkhtmltopdf produce passable output for English, but CJK mixed text gets butchered: wrong fonts, broken line wraps, "Claude Code" split across lines, 年月日 rendered as □□□.
**Too complex** — LaTeX produces beautiful output but requires a 4GB TeX distribution, arcane syntax, and breaks on every CJK edge case. No AI assistant can reliably drive it.
**any2pdf** is the sweet spot: one Python file, one dependency (`reportlab`), zero config — and it handles every CJK/Latin edge case because we hit them all building real 200-page Chinese technical reports.
What Makes It Different
For AI Agents — Zero-Friction Workflow
The skill teaches your AI assistant an **interactive workflow**, not just a CLI command:
You: "把这个报告转成PDF"
Agent: asks about design style, frontispiece, watermark, back cover
Agent: runs the conversion with all your choices
One sentence from you → a complete, branded document.
For CJK Users — Battle-Tested on Real Reports
Every fix in this codebase came from a real rendering bug in a real report:
- Mixed text wrapping: "Chaofan Shou" won't split across lines; Chinese text breaks naturally at character boundaries
- Canvas CJK: Dates like "2026年4月1日" render correctly everywhere — cover, headers, footers
- Book-quality fonts: Palatino + 宋体 (macOS), Times + SimSun (Windows) — not Arial + fallback
- Rich Markdown blocks: Obsidian callouts, inline images, emoji, and LaTeX-style formulas render instead of disappearing
- Merged heading recovery: Input like `# Pa
Related Skills
Docproof
Fact-grounded documents with automated verification: a Python CLI plus AI agents that build, tailor, fact-chec
Pdf2md Skill
A Claude Code / Cursor skill that converts any PDF into clean, structured Markdown using LLM vision.
PDF Audio Video To Markdown With AI
Convert PDF, Audio, Video to Markdown with smart processing
PDF To Md
Zero-dependency Claude Code skill for converting PDF to Markdown. No venvs, no AI models, works offline.
Pdfx
Self-contained Claude Code skill for any PDF task — generate publication-quality PDFs/ebooks from Markdown (We
For My Self Skills
15 个可公开的 Agent Skills,按用途分四类:网页与前端(单文件 HTML、网页设计、移动端规范、Markdown 修复)、文档与交付(MD 转 Word、HTML 转 PDF、AI 做 PPT)、工程流程与
Related Agents
Callstackincubator
A collection of agent-optimized React Native skills for AI coding assistants.
Rememora Triage
Use this agent when triaging issues, feature requests, or bugs for the Rememora project — a cross-agent persis
AI Code Security Auditor
Security reviewer for AI-generated and vibe-coded apps — hunts the hardcoded secrets, broken row-level securit