report-to-pdf
Skill by XiaomiMiMo
Converts an existing Data Analytics report, dashboard, or chart export into a PDF file. It is for users who explicitly ask for a PDF from one of these artifacts. It works from a static HTML source using headless Chrome.
Install report-to-pdf
Built from the published package, never by AI.
git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code /tmp/MiMo-Code && mkdir -p ~/.claude/skills && cp -r /tmp/MiMo-Code/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-pdf ~/.claude/skills/report-to-pdfRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code /tmp/MiMo-Code && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/MiMo-Code/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-pdf ~/.gemini/antigravity-cli/skills/report-to-pdfAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
report-to-pdf is a narrow conversion skill. It should only run when the user explicitly asks to turn an existing Data Analytics report, dashboard, or inline chart export into a PDF. It prefers a static HTML export as the source and does not rebuild the report from memory or draw a new layout.
The main path prints the static HTML to PDF with Chrome in headless mode. If Chrome is unavailable or fails, the skill uses another local renderer that prints the same HTML. It then checks the PDF's page count, selectable text, and rendered pages, and it removes app-only controls and internal metadata. The skill is aimed at people who need a shareable PDF version of an analytics report.
Written from the project's SKILL.md and checked against it.
What it can do
- Static HTML to PDFPrints a static HTML report or export to PDF with Chrome headless print-to-PDF.
- Renderer fallbackUses another local renderer that prints the same static HTML when Chrome cannot.
- PDF verificationChecks page count, metadata, selectable text, and rendered pages with poppler-style tools.
- Source resolutionFinds a static HTML or export source, or uses an artifact payload to create one.
- Reader-facing cleanupOmits app-only controls and internal runtime, package, and debug labels from the PDF.
What you need
- Google Chrome, Chromium, or a compatible Chrome executable
- macOS or Linux
- A static HTML export or validated artifact payload of the report
Try asking
- Convert this Data Analytics dashboard export into a PDF.
- Turn the static HTML version of this report into a PDF and check the pages.
- Make a PDF of this chart export and confirm the text is selectable.
Good to know
- Only for explicit requests to convert an existing report, dashboard, or chart export.
- Stops with a blocker if no static export or artifact payload is available.
- Image-only PDFs may not have selectable or searchable text.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-pdf/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
agents/openai.yaml289 B
Alternatives to report-to-pdf
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
report-to-pdf: common questions
What source does report-to-pdf convert?
It converts an existing Data Analytics report, dashboard, or inline chart export. The source describes a static HTML export as the preferred input.
Does it rebuild reports from memory?
No. The skill says the static HTML or export stays the source of truth and the report should not be reconstructed from memory.
What happens if Chrome is not installed?
The skill uses another local renderer that prints the same static HTML, and the PDF must pass the same verification checks.
How do I install report-to-pdf?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is report-to-pdf free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is report-to-pdf safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to report-to-pdf?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
