本文へスキップ
Skillpedia
PDF・Word・スライド7.4k · #13235

markdown-converter

できること

このスキルは、別途インストールせずに使えるコマンドを使って、多くの種類のファイルを Markdown に変換します。文書を、読んだり検索したり編集したりできるプレーンテキストにしたい人向けです。

使う場面

  • ✓PDF、Word の文書、スプレッドシートを Markdown のテキストに変えたいとき。
  • ✓画像や録音から文字を取り出す必要があるとき。
  • ✓YouTube のリンクや Web ページを、読めるテキストにしたいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/steipete/agent-scripts/blob/main/skills/markdown-converter/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“この Word の報告書を、編集できる Markdown のファイルに変換してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、パッケージのランナーを通して変換ツールを実行します。別途インストールは不要です。ファイルを読み、結果を画面に出すか、指定したファイルに書き出します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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)
よくある質問

先に何かをインストールする必要がありますか?

いいえ。スキルはパッケージのランナーを通して変換ツールを実行するため、別途のインストールは不要です。

どの形式に対応していますか?

PDF、Word、PowerPoint、Excel、HTML、CSV、JSON、画像、音声、ZIP ファイル、YouTube の URL、EPUB です。

画像の文字を読み取れますか?

はい。スキルは、画像の OCR と、音声の文字起こしを挙げています。

詳細

作者による元の説明

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

repo: steipete/agent-scripts

人気

GitHubのスター
7.4k
ランキング
#13235
ライセンス
MIT
更新日
2026/10/30

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル