mschwarzmueller/ai-agents-workflows-course/export-report-pdf
Claude Code and agent skill by mschwarzmueller/ai-agents-workflows-course
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Exports an existing self-contained HTML report to a print-ready PDF with a pinned headless-browser workflow. Use this skill when the user asks for a PDF copy of an HTML analytics report or requests both HTML and PDF deliverables. Do not use to author the report (use create-report), analyze data (use data-analytics), or read, edit, merge, split, or fill existing PDFs.
Install
npx vskill@latest install mschwarzmueller/ai-agents-workflows-course/export-report-pdfSKILL.md
Export Report PDF
Required resources
- Before export, read `references/print-export-guide.md`. It defines prerequisites, print CSS expectations, failure recovery, and visual checks.
- Resolve `scripts/html-to-pdf.mjs` relative to this
SKILL.md; execute it rather than recreating conversion code.
Rules
- Start from a completed, validated local HTML file. Use
create-reportfirst when no HTML report exists. - Export local files only. Do not use this workflow for arbitrary remote URLs.
- Never overwrite an existing PDF unless the user requested replacement and
--overwriteis supplied. - Keep the HTML as the source of truth; do not manually patch the generated PDF.
Workflow
- Confirm the HTML report exists and passes the
create-reportvalidator. - Read `references/print-export-guide.md` and apply its print-readiness checks.
- Run
node scripts/html-to-pdf.mjs --input <absolute-html-path> --output <absolute-pdf-path>after resolving the script from this skill directory. - If Chromium is missing, run the pinned installation command printed by the script, then retry once.
- Confirm the script exits
0and reports a non-empty PDF beginning with%PDF-. - Visually inspect every PDF page for clipping, awkward page breaks, missing colors, and unreadable charts. Fix the HTML/CSS and re-export when needed.
- Report both HTML and PDF paths.
Validation
- Run
node scripts/html-to-pdf.mjs --help; expect concise usage and documented exit codes. - Test one representative report using the default A4 format.
- Re-run with an existing output path without
--overwrite; expect a safe failure.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcode/claude-data-analysis/.agents/skills/export-report-pdf/SKILL.md
Popularity
- Repository stars
- 71
- Repository forks
- 70
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 4 Nov 2026, 4 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mschwarzmueller/ai-agents-workflows-course/export-report-pdf)