pls-url-to-markdown
mattvalenta 제작
Web & Frontend Development요약
Fetch URLs and convert web pages to clean Markdown for AI processing or knowledge bases.
설명
이 스킬이 하는 일
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.
사용 시점
- 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
예시 워크플로
User asks: convert https://example.com/article to Markdown
- 1
Fetch the URL using the requests library
- 2
Parse HTML with BeautifulSoup to locate article or main element
- 3
Convert extracted HTML fragment to Markdown using markdownify
- 4
Preserve code blocks with triple-backtick formatting
- 5
Write output to a .md file or return as string
A clean Markdown file containing only the article body with properly formatted headings, links, and code blocks
설치
clawhub install mattvalenta/pls-url-to-markdownCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.