Mercury Agent adds markdown-to-pdf skill
Mercury Agent users can now install the markdown-to-pdf skill to automate document generation using Pandoc, WeasyPrint, and ReportLab. The playbook supports custom page styling, themes, and layouts for agent-generated PDF reports.
Automating document compilation directly within agent environments bridges the gap between text-based reasoning and formal business deliverables. By packaging Pandoc and WeasyPrint into a reusable skill, developers can outsource complex styling and layout generation to autonomous agents.
- –Standardized toolchains: Combines HTML-to-PDF (WeasyPrint) and programmatic PDF generation (ReportLab) into a single, agent-accessible environment.
- –Context efficiency: Standardizing the workflow as a port-ready skill prevents developers from needing to feed long CLI conversion scripts into agent prompts.
- –Cross-agent compatibility: Designed for the Agent Skills specification, meaning the playbook can run on Cursor, Claude Code, and other supporting systems.
- –Production-ready layouts: Includes pre-configured templates for headers, footers, page numbering, and CSS styling to ensure professional output.
DISCOVERED
1h ago
2026-06-26
PUBLISHED
2h ago
2026-06-26
RELEVANCE
AUTHOR
mercury__agent