markdown-fetch

Convert web pages, YouTube transcripts, and PDFs into Markdown format.

60|2|Updated Apr 16, 2015
One-click install
npx skills add https://github.com/davidgasquez/dotfiles --skill markdown-fetch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: markdown-fetch
Source: https://github.com/davidgasquez/dotfiles/tree/main/agents/skills/markdown-fetch
Command: npx skills add https://github.com/davidgasquez/dotfiles --skill markdown-fetch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires markitdown, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of converting various online content formats (web pages, PDFs, YouTube transcripts) into a unified Markdown format, saving tokens and simplifying information retrieval.

Core Features & Use Cases

  • Web Page Conversion: Transforms entire web pages into Markdown, preserving headings, lists, tables, and links.
  • YouTube Transcript Extraction: Fetches and converts YouTube video transcripts into Markdown.
  • PDF to Markdown: Converts the content of PDF files into Markdown format.
  • Fallback Mechanisms: Includes fallback options using curl with r.jina.ai or defuddle.md if the primary tool fails.

Quick Start

Use the markdown-fetch skill to convert the webpage at https://example.com into a markdown file named page.md.

Frequently Asked Questions about markdown-fetch

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

FAQPage Schema
How do I convert web pages and PDFs to markdown for token-efficient processing?

You can convert web pages and PDFs to markdown by fetching URLs directly and extracting content, which unifies various online formats into a single markdown structure for efficient token usage and simplified information retrieval.

Can I extract YouTube video transcripts into markdown format?

Yes, YouTube transcript extraction fetches video transcripts and converts them into markdown format, allowing you to process video content as text efficiently without manual transcription.

Do I need markitdown installed to convert PDF content to markdown?

Yes, markitdown is a required dependency for converting PDF content to markdown. You also need curl installed optionally for content retrieval and to enable fallback conversion mechanisms.

What is the best way to fetch web content as markdown when the primary conversion tool fails?

The best way to handle primary tool failures is using fallback services with curl and r.jina.ai or defuddle.md, which provide enhanced reliability by offering alternative content retrieval and conversion paths.

What are the limitations of web scraping and PDF conversion when extracting markdown?

Limitations include potential failures with complex web page structures or protected PDFs, though fallback mechanisms using curl with r.jina.ai or defuddle.md help mitigate these issues for enhanced reliability during content retrieval.