Chuyển đến nội dung
Skillpedia
PDF, Word và slide7.4k · #13235

markdown-converter

Skill này làm gì

Skill này chuyển nhiều loại file thành Markdown bằng một lệnh không cần cài đặt riêng. Dành cho bất kỳ ai cần biến tài liệu thành văn bản thuần để đọc, tìm kiếm hoặc chỉnh sửa.

Khi nào nên dùng

  • ✓Khi bạn muốn một file PDF, Word hoặc bảng tính được chuyển thành văn bản Markdown.
  • ✓Khi bạn cần lấy văn bản từ một hình ảnh hoặc một bản ghi âm.
  • ✓Khi bạn muốn một liên kết YouTube hoặc một trang web dưới dạng văn bản dễ đọc.

Liên kết skill

https://github.com/steipete/agent-scripts/blob/main/skills/markdown-converter/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/steipete/agent-scripts/blob/main/skills/markdown-converter/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Chuyển báo cáo Word này thành một file Markdown mà tôi có thể chỉnh sửa.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chạy một công cụ chuyển đổi qua trình chạy gói không cần cài riêng. Nó đọc file và ghi kết quả ra màn hình hoặc vào một file bạn chỉ định.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Markdown Converter

Convert files to Markdown using uvx --from "markitdown[all]" markitdown — no installation required.

Basic Usage

# Convert to stdout
uvx --from "markitdown[all]" markitdown input.pdf

# Save to file
uvx --from "markitdown[all]" markitdown input.pdf -o output.md
uvx --from "markitdown[all]" markitdown input.docx > output.md

# From stdin
cat input.pdf | uvx --from "markitdown[all]" markitdown

Supported Formats

  • Documents: PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls)
  • Web/Data: HTML, CSV, JSON, XML
  • Media: Images (EXIF + OCR), Audio (EXIF + transcription)
  • Other: ZIP (iterates contents), YouTube URLs, EPub

Options

-o OUTPUT      # Output file
-x EXTENSION   # Hint file extension (for stdin)
-m MIME_TYPE   # Hint MIME type
-c CHARSET     # Hint charset (e.g., UTF-8)
-d             # Use Azure Document Intelligence
-e ENDPOINT    # Document Intelligence endpoint
--use-plugins  # Enable 3rd-party plugins
--list-plugins # Show installed plugins

Examples

# Convert Word document
uvx --from "markitdown[all]" markitdown report.docx -o report.md

# Convert Excel spreadsheet
uvx --from "markitdown[all]" markitdown data.xlsx > data.md

# Convert PowerPoint presentation
uvx --from "markitdown[all]" markitdown slides.pptx -o slides.md

# Convert with file type hint (for stdin)
cat document | uvx --from "markitdown[all]" markitdown -x .pdf > output.md

# Use Azure Document Intelligence for better PDF extraction
uvx --from "markitdown[all]" markitdown scan.pdf -d -e "https://your-resource.cognitiveservices.azure.com/"

Notes

  • Output preserves document structure: headings, tables, lists, links
  • First run caches dependencies; subsequent runs are faster
  • For complex PDFs with poor extraction, use -d with Azure Document Intelligence
  • If automatic charset detection picks the wrong encoding for a text file, pass -c UTF-8 (or the known charset)
Câu hỏi thường gặp

Tôi có phải cài gì trước không?

Không. Skill chạy công cụ chuyển đổi qua trình chạy gói, nên không cần cài riêng.

Những định dạng nào được hỗ trợ?

PDF, Word, PowerPoint, Excel, HTML, CSV, JSON, hình ảnh, âm thanh, file ZIP, URL YouTube và EPUB.

Nó có đọc được chữ trong hình ảnh không?

Có. Skill liệt kê OCR cho hình ảnh và chuyển âm thanh thành văn bản cho bản ghi âm.

Chi tiết

Mô tả gốc của tác giả

Markdown conversion: PDF, Office, HTML, data, OCR, audio, ZIP, YouTube.

repo: steipete/agent-scripts

Độ phổ biến

Sao GitHub
7.4k
Vị trí xếp hạng
#13235
Giấy phép
MIT
Cập nhật
30/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự