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がスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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:
- Supported inputs:
.doc,.docx,.docm,.odt,.rtf,.epub,.pdf,.ppt,.pps,.pot,.pptx,.pptm,.ppsx,.ppsm,.odp,.xls,.xlsx,.xlsm,.xlsb,.ods,.csv. - 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. - 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. - For a large document, write to a file with
-oand read the parts you need instead of streaming everything into context. - Scanned and image-only pages need OCR, which anydoc does not do, so the document exits 3. Rerun with
--ocr hostedto send it to Firecrawl Parse. No signup needed. Pass--api-keyor setFIRECRAWL_API_KEYfor higher limits. - Inside a Node, Python, or Rust codebase, prefer the library over shelling out:
@firecrawl/anydocon npm,firecrawl-anydocon PyPI,anydocon crates.io. Each exposes the sameto_markdown/toMarkdownAPI.
よくある質問
どのファイル形式を読めますか?
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
コメント
- …
似ているスキル
feishu-doc
394kテキスト、画像、表を含むFeishuのクラウドドキュメントを、ドキュメントツールを使って読み、作成し、編集するようエージェントを支援します。
feishu-drive
394kボットと共有されたFeishuのクラウドフォルダ内のファイルを閲覧、整理、コメントできるようエージェントを支援します。
feishu-perm
394kFeishuのファイルにアクセスできる人を確認し、変更するようエージェントを支援します。依頼を満たす最小の権限を選びます。