# Read Webpage Content As Markdown

> Read a webpage into cleaned markdown using curl + markitdown + codex exec. Use whenever asked to read a webpage or extract article content from a URL. Static HTML only; JS/client-rendered pages require a Playwright workflow.

- Skill: `majiayu000/read-webpage-content-as-markdown` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/read-webpage-content-as-markdown`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/read-webpage-content-as-markdown/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/read-webpage-content-as-markdown

---


# Read Webpage Content as Markdown

Use:

```bash
scripts/read-webpage-content-as-markdown.sh [--navlinks] <url> [output_md]
```

Notes:
- Uses curl (static HTML only); JavaScript is not executed.
- Temp artifacts are stored under /tmp.
- Output includes YAML frontmatter: source_url, accessed_at, commands.
- Output path defaults to `/tmp/read-webpage-content-as-markdown.<timestamp>.md`; relative output paths are written under `/tmp/`.
- --navlinks keeps only topic-relevant navigation links (e.g., in-page table of contents); it drops site-wide menus and unrelated links.
- If the script reports JS/client rendering, retry with Playwright.

