Agent Skills: Fetch As Markdown Skill

Fetch a URL using Playwright and convert its content to Markdown.

UncategorizedID: paulirish/dotfiles/fetch-as-markdown

Install this agent skill to your local

pnpm dlx add-skill https://github.com/paulirish/dotfiles/tree/HEAD/agents/skills/fetch-as-markdown

Skill Files

Browse the full folder contents for fetch-as-markdown.

Download Skill

Loading file tree…

agents/skills/fetch-as-markdown/SKILL.md

Skill Metadata

Name
fetch-as-markdown
Description
Fetch a URL using Playwright and convert its content to Markdown.

Fetch As Markdown Skill

This skill allows fetching any web page, rendering it using a headless browser (Playwright) to ensure client-side content is loaded, and converting the resulting HTML into clean Markdown using markpaste.

Usage

node agents/skills/fetch-as-markdown/scripts/fetch-as-markdown.ts <URL>

Example:

node agents/skills/fetch-as-markdown/scripts/fetch-as-markdown.ts https://example.com

The script will output the converted markdown to stdout.