據 AlphaMoat 統計,截至 2026-09,Document Handler 累計下載 3,866 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 2,693 位,在「辦公效率」分類(435 個)中排名第 219 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 37 | 3866 | - | - |
| SkillHub ↗ | 125 | 2421 | - | — |
各平台的計數口徑不同,統計時間不一致。
它透過不同工具處理 PDF、Office 文件、EPUB、RTF 和 OpenDocument 檔案;掃描件可能需要 OCR,加密檔案需要密碼,複雜排版也可能在轉換中丟失。文件正文和後設資料可能包含敏感資訊,只處理使用者授權提供的檔案,並在向預定範圍之外分享前檢查提取結果。
資料釋出於 2026-10-29
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-09 | 3866 | — | - |
| 2026-08 | 3774 | +24.3% | - |
| 2026-07 | 3036 | +221.3% | - |
| 2026-06 | 945 | +17.8% | - |
| 2026-05 | 802 | — | - |
| 2026-03 | 381 | — | - |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
--- name: document-handler description: Read, extract, and convert document files (PDF, DOCX, XLSX, PPTX, EPUB, RTF, ODT, ODS, ODP). Use when working with any document format: extracting text, metadata, converting formats, or processing content. Triggers on mentions of document files, file paths with document extensions, or requests to read/convert documents. --- # Document Handler Extract text, metadata, and content from any document format. ## Supported Formats
| Format | Extensions | Text Extract | Metadata | Convert | |--------|------------|--------------|----------|---------| | PDF | .pdf | ✅ pdftotext | ✅ pdfinfo | ✅ pdftoppm | | Word | .docx | ✅ unzip + xml | ✅ | ✅ | | Excel | .xlsx | ✅ unzip + xml | ✅ | ✅ | | PowerPoint | .pptx | ✅ unzip + xml | ✅ | ✅ | | EPUB | .epub | ✅ unzip + html | ✅ | ✅ | | RTF | .rtf | ✅ textutil | ✅ | ✅ | | OpenDocument | .odt, .ods, .odp | ✅ unzip + xml | ✅ | ✅ | ## Quick Commands ### PDF ```bash # Extract text pdftotext -layout input.pdf output.txt # Get metadata pdfinfo input.pdf # Convert to images (for OCR or viewing) pdftoppm -png input.pdf output_prefix # Extract specific pages pdftotext -f 5 -l 10 -layout input.pdf output.txt ``` ### DOCX/XLSX/PPTX (Office Open XML) ```bash # Extract text from DOCX unzip -p input.docx word/document.xml | sed 's/<[^>]*>//g' | tr -s ' \n' # Extract text from XLSX (all sheets) unzip -p input.xlsx xl/sharedStrings.xml | sed 's/<[^>]*>//g' | tr -s '\n' # Extract text from PPTX unzip -p input.pptx ppt/slides/*.xml | sed 's/<[^>]*>//g' | tr -s ' \n' # Get metadata unzip -p input.docx docProps/core.xml ``` ### RTF (macOS) ```bash # Convert RTF to plain text textutil -convert txt input.rtf -output output.txt # Convert RTF to HTML textutil -convert html input.rtf -output output.html ``` ### EPUB ```bash # Extract and read EPUB content unzip -l input.epub # List contents unzip -p input.epub "*.html" | lynx -stdin -dump # Text via lynx unzip -p input.epub "*.xhtml" | sed 's/<[^>]*>//g' # Raw text ``` ### OpenDocument (ODT/ODS/ODP) ```bash # Extract text from ODT unzip -p input.odt content.xml | sed 's/<[^>]*>//g' | tr -s ' \n' # Extract from ODS unzip -p input.ods content.xml | sed 's/<[^>]*>//g' # Get metadata unzip -p input.odt meta.xml ``` ## Scripts ### extract_document.sh Extracts text and metadata from any supported document format. ```bash ~/Dropbox/jarvis/skills/document-handler/scripts/extract_document.sh <file> ``` Output: - Text content to stdout - Metadata as JSON comments ### pdf_to_images.sh Converts PDF pages to images for OCR or visual processing. ```bash ~/Dropbox/jarvis/skills/document-handler/scripts/pdf_to_images.sh <pdf> <output_dir> [dpi] ``` ## Workflow 1. **Identify format** — Check file extension 2. **Extract text** — Use appropriate tool 3. **Get metadata** — Author, date, pages, etc. 4. **Process content** — Summarize, search, transform ## Notes - PDFs with scanned images need OCR (pdftoppm + tesseract) - Encrypted PDFs require password - Complex formatting may be lost in text extraction - For tables in PDFs, consider tabula or camelot
透過 MCP 在騰訊文件裡新建、編輯與管理線上文件的完整操作手冊。
在保留公式、格式和活頁簿結構的前提下建立、檢查或編輯 Excel 檔案。
處理 Word 與 DOCX 文件的作業指南,著重維持樣式、編號與版面。
透過命令列存取 Gmail、日曆、Drive、Contacts、Sheets 與 Docs。
PDF和圖片文字提取 將文件文字、表格與掃描頁識別整理為文字結果。
按主題與風格自動生成 PPT 檔案的技能。
透過 kdocs-cli 操作金山文件雲文件的官方技能。
用自然語言指令改 PDF 指定頁的小工具。
資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。