web-site-to-documentlisted
Install: claude install-skill StefanoZaghi1987/ClaudeSkills
# web-site-to-document
This skill scrapes any public website (including all linked subpages) and converts the full
content into a single structured document: Word (.docx), PDF (.pdf), or Markdown (.md).
## Execution branches
Pick the branch that matches the environment:
- **If this environment provides the built-in document skills (claude.ai):** collect the pages
with the environment's built-in web fetch. For JavaScript-rendered sites, use the Chrome MCP
connector if the user has one (workflow: `references/chrome-mcp-extraction.md`) — otherwise
warn the user that extraction may be limited (see Step 2). Build the file with the environment's document skills: for `.docx` and
`.pdf`, read and follow their documentation when the platform exposes it; for `.md`,
write the file directly. Let the platform's file delivery present the file in the
conversation; do not construct file paths or download links yourself.
- **If it does not (Claude Code, local Python):** run the bundled pipeline. The needed packages
are `requests beautifulsoup4 lxml` (always), plus `python-docx` for Word. For PDF there are
two engines: LibreOffice headless is preferred when installed, and it builds on `python-docx`;
when LibreOffice is absent, `weasyprint` is needed instead and needs no `python-docx`.
Markdown needs no extra package.
JavaScript-rendered sites need a Chrome MCP connector (e.g. Claude in Chrome) — a plain
Chrome installation is not enough. If a package is