web-to-markdown

Converts JavaScript-rendered web pages to clean Markdown using Puppeteer and Readability.

Updated Jul 24, 2026
One-click install
npx skills add https://github.com/imMamdouhaboammar/kaku-chatgpt-harness --skill web-to-markdown-immamdouhaboammar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-to-markdown
Source: https://github.com/imMamdouhaboammar/kaku-chatgpt-harness/tree/main/.agents/skills/web-to-markdown
Command: npx skills add https://github.com/imMamdouhaboammar/kaku-chatgpt-harness --skill web-to-markdown-immamdouhaboammar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires puppeteer-core, readability, turndown.

What problem does it solve?

This skill solves the challenge of extracting clean, usable content from complex or JavaScript-heavy websites that standard fetchers cannot process, ensuring you get readable text instead of raw HTML or broken layouts.

Core Features & Use Cases

  • JavaScript Rendering: Uses Puppeteer to fully render dynamic content before extraction.
  • Smart Extraction: Leverages Mozilla Readability to isolate main article content from ads and navigation.
  • Use Case: Use this skill to archive documentation, convert news articles for offline reading, or scrape data from modern single-page applications into a portable Markdown format.

Quick Start

Use the skill web-to-markdown to convert the URL https://example.com/article and save the result to article.md.

Frequently Asked Questions about web-to-markdown

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a JavaScript-rendered webpage into clean Markdown?

To convert a JavaScript-rendered webpage into Markdown, use Puppeteer to fully render the dynamic content before extraction. This ensures you capture the complete text rather than broken layouts or raw HTML.

What is the best way to extract main article content from ads and navigation?

The best way to extract main article content from ads and navigation is using Mozilla Readability. It isolates the primary text from clutter before the content is converted into a portable Markdown format.

Do I need a local Chromium-based browser to scrape dynamic web pages?

Yes, you need a local Chromium-based browser to scrape dynamic web pages. The conversion process requires a local installation of the web2md CLI tool alongside the browser to properly render and extract the content.

Can I use this web scraping approach for interactive login sessions?

Yes, you can use this web scraping approach for interactive login sessions. The browser automation supports logging in interactively before extracting the rendered content into Markdown.

How do I batch process multiple URLs for content extraction?

You can batch process multiple URLs for content extraction by passing them to the web2md CLI tool. This allows you to automate the conversion of several web pages into Markdown files sequentially.

Why does standard web scraping fail on modern single-page applications?

Standard web scraping fails on modern single-page applications because it cannot process JavaScript-rendered content. It fetches raw HTML instead of waiting for the dynamic layouts to render the readable text.