Saltar al contenido
TakoAPI
Volver a skills

pls-url-to-markdown

por mattvalenta

Web & Frontend Development
602Descargas según clawskills.sh
0Vistas
0 me gustaInicia sesión para dar me gusta a esta skill
—Aún sin valoraciones
Tu valoración

Resumen

Fetch URLs and convert web pages to clean Markdown for AI processing or knowledge bases.

Descripción

Qué hace esta skill

Fetches web pages and converts HTML content to clean Markdown using Python libraries or CLI tools. Supports article body extraction, code block preservation, and retry logic for failed requests.

Stripping HTML to clean Markdown removes navigation, ads, and boilerplate that inflate token usage and reduce LLM response quality.

Cuándo usarla

  • Converting blog posts into Markdown for a local knowledge base
  • Feeding article content to an LLM without HTML noise
  • Archiving documentation pages as plain text files
  • Extracting main content from news articles for summarization
  • Batch converting web pages to Markdown for offline reading

Flujo de trabajo de ejemplo

ENTRADA

User asks: convert https://example.com/article to Markdown

AGENTE
  1. 1

    Fetch the URL using the requests library

  2. 2

    Parse HTML with BeautifulSoup to locate article or main element

  3. 3

    Convert extracted HTML fragment to Markdown using markdownify

  4. 4

    Preserve code blocks with triple-backtick formatting

  5. 5

    Write output to a .md file or return as string

SALIDA

A clean Markdown file containing only the article body with properly formatted headings, links, and code blocks

Instalación

clawhub install mattvalenta/pls-url-to-markdown

Ejecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.

Enlaces