Artifact to PDF

Convert a Claude artifact (or any URL / exported .html file) into a SINGLE continuous, pixel-accurate PDF with no page cuts — one long page sized to the whole content. Use when the user wants to export, save, download, or "turn into PDF" an artifact, HTML file, or web page, especially as one long page with no page breaks / no pagination.

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add yheshamx/artifact-to-pdf --skill artifact-to-pdf
Manual install
git clone --depth 1 https://github.com/yheshamx/artifact-to-pdf.git /tmp/artifact-to-pdf
mkdir -p ~/.claude/skills
cp -r /tmp/artifact-to-pdf/. ~/.claude/skills/artifact-to-pdf

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# artifact-to-pdf

Turn a Claude artifact (or any URL / exported `.html`) into **one continuous, pixel-accurate PDF** — a single long page sized to the whole content, **no page cuts**. It renders the HTML in headless Chromium (the same engine the artifact viewer uses), so the PDF matches what you see on screen.

## When to use
The user asks to export / save / download / "turn into PDF" an artifact, an `.html` file, or a URL — especially when they want **one long page** or a PDF **without page breaks**.

## Inputs
- A path to an exported `.html` file (best fidelity for a Claude artifact), OR an `http(s)` URL.
- Optional output path and render width.

If the user did not give an input, ask for the `.html` file path or URL before running.

## How to run

The converter is a bundled Node script sitting next to this SKILL.md.

1. Set `SKILL_DIR` to the directory that contains this SKILL.md.
2. **First-run setup only** — install dependencies if missing (downloads a bundled Chromium ~120MB the first time; tell the user this is one-time):
   ```bash
   [ -d "$SKILL_DIR/node_modules/playwright" ] || ( cd "$SKILL_DIR" && npm install )
   ```
3. Run the converter (foreground; ~5–20s):
   ```bash
   node "$SKILL_DIR/artifact-to-pdf.mjs" "<input-file-or-url>" -o "<output>.pdf" [--width <px>]
   ```
   - `--width` defaults to 1200; set it to the artifact's design width if the layout is responsive and reflows.
Read the full skill on GitHub

Details

Skill name
artifact-to-pdf
License
MIT
Repo updated
1 August 2026

FAQ

What does the Artifact to PDF skill do?

Convert a Claude artifact (or any URL / exported .html file) into a SINGLE continuous, pixel-accurate PDF with no page cuts — one long page sized to the whole content. Use when the user wants to export, save, download, or "turn into PDF" an artifact, HTML file, or web page, especially as one long page with no page breaks / no pagination.

How do I install the Artifact to PDF skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add yheshamx/artifact-to-pdf --skill artifact-to-pdf. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Artifact to PDF popular?

It lives in yheshamx/artifact-to-pdf, which has 5 GitHub stars and 0 forks.

Related skills

Ats Resume Formatting

5

msdanyg/ats-resume-skill

Use this skill whenever a resume needs to be formatted, reviewed, or debugged for upload to Workday, Greenhouse, Lever, iCIMS, or any other ATS (applicant tracking system). Trigger on requests like "format my resume for ATS," "is my resume ATS-friendly," "why is Workday leaving fields blank," "clean up my resume for online applications," or "make my resume parse-safe." Also trigger proactively any time a user is building or editing a resume that will be uploaded to a job portal, even if they don't mention "ATS" by name — most resume-formatting requests have this failure mode lurking under the

Documents & Office Files

Arabic Rtl Docs

5

muhmoosa/claude-arabic-docs

Produce correctly-rendered right-to-left (RTL) Microsoft Office documents — Word (.docx), PowerPoint (.pptx), and Excel (.xlsx) — for Arabic, Hebrew, Persian, Urdu, and other RTL scripts. Use this skill whenever the user asks for a document in Arabic or another RTL language, or whenever the deliverable mixes RTL prose with English/Latin tokens (IBANs, URLs, emails, numbers). It must also be used whenever you produce a docx-js / openpyxl / python-pptx output that contains any RTL text, because those libraries do NOT apply section-level bidi, table direction, or heading bidi automatically — outp

Documents & Office Files

Concept Forge

5

FeixueCode/concept-forge

Convert everyday questions, concepts, keywords, unfamiliar terms, or "what is X / how does X differ from Y" requests into reusable Chinese knowledge cards, Quarkdown mother drafts, Slidev presentation sources, and interactive HTML explainers. Use when the user wants to understand, remember, compare, review, or build a personal knowledge base for concepts; especially for fragmented internet-era knowledge such as tools, methods, acronyms, technical terms, products, workflows, and conceptual questions. The skill researches like a lightweight hv-analysis pass, stores structured JSON plus Quarkdown

Documents & Office Files

Job Hunt

5

addsumtech/job-hunt

Help a user find, judge, apply for and rehearse for jobs. Four modes: discover (what is out there worth looking at), assess (whether this posting is worth applying to), apply (build and pressure-test the application), interview (rehearse and debrief). Use whenever the user wants to search for roles, judge their fit for a posting, tailor or optimize their CV/resume to a job, build a resume from scratch, write a cover/motivation letter, check whether an application is strong enough, or practise an interview — e.g. "help me apply to this role", "tailor my CV to this job link", "build me a resume"

Documents & Office Files

Courseware Cn Annotator

5

youngman2007/courseware-cn-annotator

当用户说“做成学习包”(例如“把这份课件做成学习包”)时,使用本技能。把课件、讲义或课堂 PPT 的 PDF 一次性做成中文学习包:逐页中文翻译、面向零基础读者的三问式逐页注释(这页在说什么、为什么、怎么用)、可直接编辑的 Markdown 源稿、离线单文件 HTML 电子书(分组目录、全文搜索、注释与原图开关、深色主题、键盘翻页、深链)、A4 打印 PDF、使用说明,以及一到两篇学科速查附录。用户提供课件 PDF 并提到翻译、逐页讲解、注释版、电子书、可打印讲义、复习资料、速查表等任一需求时,也使用本技能,即使没有明确说“技能”。默认一次产出全套,用户明确只要其中某几项时才裁剪。

Documents & Office Files

Jane First Intern Copilot

5

jo1-yo/janes-first-intern-copilot

A battle-tested playbook for landing a first internship or first job with no connections and no experience — concise resume rewriting, a high-volume application system, and cold emails to startup founders. Use this whenever the user mentions internships, job hunting, resumes, CVs, cover letters, cold emails or DMs to founders or recruiters, applying to companies, getting no replies to applications, or asks "how do I get experience with no experience" — even if they only ask about one small piece, like fixing a single resume bullet.

Documents & Office Files

Browse the most popular Claude skills, all documents & office files skills, or write your own with the skills generator.