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

convert-documents-to-markdown

できること

Office形式のファイル、PDF、電子書籍、スプレッドシートをMarkdownのテキストに変換するコマンドラインツールを実行します。AIが直接開けない文書の中身が必要な人向けです。

使う場面

  • ✓WordまたはPDFのファイルを共有し、AIに読んで要約してほしいとき。
  • ✓スプレッドシートやプレゼンテーションを、分析のためにテキストにする必要があるとき。
  • ✓長い文書をファイルに保存し、必要な部分だけを読ませたいとき。

スキルのリンク

https://github.com/firecrawl/anydoc/blob/main/skills/convert-documents-to-markdown/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“このPDFのレポートをテキストに変換し、重要な結果を要約してください。”

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

仕組み

このスキルは変換ツールを実行します。ツールは中身からファイルの種類を判断し、別途のインストールなしで、Markdownを画面またはファイルに出力します。

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

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

Convert documents to Markdown

Run the anydoc CLI. It needs Node 20+ and no install:

npx -y @firecrawl/anydoc <file>              # Markdown to stdout
npx -y @firecrawl/anydoc <file> -o out.md    # write to a file
npx -y @firecrawl/anydoc - --format csv < f  # read stdin

Rules:

  1. Supported inputs: .doc, .docx, .docm, .odt, .rtf, .epub, .pdf, .ppt, .pps, .pot, .pptx, .pptm, .ppsx, .ppsm, .odp, .xls, .xlsx, .xlsm, .xlsb, .ods, .csv.
  2. The format is detected from the file content. Pass --format <name> only when detection cannot work: CSV from stdin, or a missing or wrong extension.
  3. Exit codes: 0 success, 1 the document could not be converted, 2 usage error, 3 pages of a PDF need OCR. Failures print one anydoc: <message> line to stderr. The CLI never prompts.
  4. For a large document, write to a file with -o and read the parts you need instead of streaming everything into context.
  5. Scanned and image-only pages need OCR, which anydoc does not do, so the document exits 3. Rerun with --ocr hosted to send it to Firecrawl Parse. No signup needed. Pass --api-key or set FIRECRAWL_API_KEY for higher limits.
  6. Inside a Node, Python, or Rust codebase, prefer the library over shelling out: @firecrawl/anydoc on npm, firecrawl-anydoc on PyPI, anydoc on crates.io. Each exposes the same to_markdown / toMarkdown API.
よくある質問

どのファイル形式を読めますか?

Word、PowerPoint、Excel、OpenDocument、RTF、EPUB、CSV、PDFのファイルを扱えます。

スキャンしたページはどうなりますか?

スキャンしたページにはOCRが必要で、ツール自体はそれを行いません。そのような場合、スキルはホスト型のFirecrawl Parseオプションに送れます。

先にインストールが必要ですか?

いいえ。npxで実行され、Node 20以降が必要です。

詳細

作者による元の説明

Convert Word (.doc, .docx), PowerPoint (.ppt, .pptx), Excel (.xls, .xlsx), OpenDocument (.odt, .ods, .odp), RTF, EPUB, CSV, and PDF files to GitHub-Flavored Markdown. Use when a task needs the contents of an office document, spreadsheet, presentation, ebook, or PDF you cannot read directly.

repo: firecrawl/anydoc

人気

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

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

0

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

コメント

  • …

似ているスキル