Skip to content
Back to skills

Convert Url Html To Md

ASecurity

Convert HTML web pages to Markdown for documentation extraction. Use when fetching documentation from websites, extracting structured content, getting clean main content (clean=true), or getting full page with nav/sidebar to discover URLs (clean=false). Ideal for learning libraries and building context from web sources.

  • 225 stars
  • 0 votes
  • 1 copy
  • 11 views
  • Added September 4, 2026
documentationbashnodegitdocumentation

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 13 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add NeverSight/skills_feed --skill convert-url-html-to-md --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Convert Url Html To Md?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Convert Url Html To Md
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-convert-url-html-to-md/badge)](https://www.skillsdirectory.com/skills/neversight-convert-url-html-to-md)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: convert-url-html-to-md
description: "Convert HTML web pages to Markdown for documentation extraction. Use when fetching documentation from websites, extracting structured content, getting clean main content (clean=true), or getting full page with nav/sidebar to discover URLs (clean=false). Ideal for learning libraries and building context from web sources."
---

# Convert URL HTML to Markdown

Extract web content as markdown using a two-phase approach for comprehensive documentation gathering.

## Two-Phase Workflow

For optimal documentation extraction:

1. **Discovery (clean=false)**: Get full page including navigation and sidebars to discover all documentation URLs
2. **Extraction (clean=true)**: Extract main content from discovered URLs

## Usage

```bash
# From the skill directory
cd ~/.claude/skills/convert-url-html-to-md

# Clean mode - main content only (recommended for docs)
node scripts/convert_url.js <url> --clean=true

# Full page mode - includes nav/sidebar (for discovering URLs)
node scripts/convert_url.js <url> --clean=false

# Default is clean=true
node scripts/convert_url.js <url>
```

## Examples

```bash
# Get all navigation links from a docs site
node scripts/convert_url.js https://ui.shadcn.com/docs --clean=false

# Extract specific documentation content
node scripts/convert_url.js https://ui.shadcn.com/docs/components/radix/aspect-ratio --clean=true
```

## Installation

Dependencies are included. Run once:

```bash
cd ~/.claude/skills/convert-url-html-to-md
npm install
```

## Output

The script outputs markdown directly to stdout. Redirect to file if needed:

```bash
node scripts/convert_url.js <url> --clean=true > output.md
```

## Credits

This skill is based on [urltomarkdown](https://github.com/macsplit/urltomarkdown) by [Lee Hanken](https://github.com/macsplit), licensed under MIT. Modified and adapted as a Claude skill by [1naichii](https://github.com/1naichii).

Files in this skill

  • SKILL.md1.9 KB
  • description_ar.txt540 B
  • description_cn.txt297 B
  • description_de.txt409 B
  • description_en.txt322 B
  • description_es.txt367 B
  • description_fr.txt422 B
  • description_it.txt394 B
  • description_ja.txt532 B
  • description_ko.txt455 B
  • description_ru.txt694 B
  • description_tw.txt297 B
  • stats.json66 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.