본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

html2md

saikatkumardey 제작

Web & Frontend Development
—아직 평가 없음
내 평가

요약

Convert HTML pages to clean, agent-friendly markdown using Readability + Turndown.

설명

이 스킬이 하는 일

Converts HTML pages to clean markdown using Mozilla Readability for content extraction and Turndown for conversion. Strips navigation, ads, footers, cookie banners, and other noise. Supports URL fetching, local files, stdin, token budgeting, and JSON output.

Readability-based extraction removes nav and ad noise that raw HTML fetchers leave in, so token usage stays low and content arrives clean for LLM consumption.

사용 시점

  • Extracting article content from news sites for LLM summarization
  • Converting documentation pages to markdown for offline reference
  • Feeding cleaned web content to sub-agents in research pipelines
  • Token-budgeted page extraction to fit LLM context windows
  • Batch scraping blog posts in cron-based agent workflows

예시 워크플로

입력

User asks: Summarize the key points from https://paulgraham.com/greatwork.html, keeping it under 2000 tokens

에이전트
  1. 1

    Run html2md --max-tokens 2000 https://paulgraham.com/greatwork.html

  2. 2

    Readability isolates the main article body, discarding nav, footers, and sidebars

  3. 3

    Turndown converts the cleaned HTML to markdown

  4. 4

    Post-processing removes remaining noise and truncates at the 2000-token budget

  5. 5

    Agent receives clean markdown and generates the summary

출력

Clean markdown of the article body truncated to 2000 tokens, ready for summarization

설치

clawhub install saikatkumardey/html2md

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크