Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 91
  • 14k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-pdf

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install report-to-pdf in Claude Code

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

A

No 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 →

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.

report-to-pdf Install

Add to stack

Loading.