
Report to PDF
Converts an existing analytics report or dashboard export into a clean, verified PDF file
- Repository
- XiaomiMiMo/MiMo-Code
- Stars
- 13,743
- Licence
- MIT
- Files
- 2 files
What it does
When you ask for a PDF of an existing Data Analytics report, dashboard, or chart, the agent looks for a static HTML export of that report, prints it to PDF using a headless Chrome browser (with fallbacks if Chrome is missing), and then checks the resulting file for page count, selectable text, blank or clipped charts, and leftover app buttons or internal labels. It is designed to avoid rebuilding the report from memory or drawing a new PDF layout by hand.
Great for
- Analysts who need a shareable PDF copy of an existing analytics report
- Teams that export dashboards to static HTML and want consistent PDF output
- Developers building report pipelines who want a checked, repeatable HTML-to-PDF step
Skip it if
- Creating new reports or charts from raw data, since it only converts an existing source (it will stop with a blocker if no static export exists)
- Hosted dashboards that require sign-in or only expose an app shell, because the skill will stop rather than guess the content
- Sensitive reports where the PDF or HTML source should not be processed by a local browser and command-line tools without review
Try asking
- “Convert this static HTML export of our Q3 revenue dashboard into a PDF and check that the charts rendered.”
- “Turn the report at /Users/me/reports/churn/index.html into a PDF with selectable text.”
- “Export the chart artifact I exported from the analytics app as a PDF for the board pack.”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 2 original files, the MIT licence and an attribution note.
report-to-pdf.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip report-to-pdf.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip report-to-pdf.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Provide an absolute local path to a static HTML export so the skill can use the preferred route without fetching anything.
- Review the generated PDF and page previews, since the skill checks layout but you should confirm the numbers and caveats are correct.
- If the skill reports a blocker, export the report as static HTML from your analytics tool and try again.
What's inside
- agents/openai.yaml
- SKILL.md
Redistributed unmodified from XiaomiMiMo/MiMo-Code under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.