Neckr0ik

Document Handler

オフィス効率化v1.0.0
作者:Neckr0ik更新日 2026-05-11document-handler@clawhub_neckr0ik/document-handler
文書処理PDF 処理#Document#PDF

AlphaMoatによると、2026-09時点でDocument Handlerのダウンロード数は3,866、スター数は0で、AIスキル全体5,078件中2,693位、オフィス効率化では435件中219位です。

インストール数
125
ダウンロード数
3866
スター数
-
総合順位
#2,693
全体の上位 54% · オフィス効率化の上位 51%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗373866--
SkillHub ↗1252421-—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

PDF、Office 文書、EPUB、RTF、OpenDocument を各種ツールで処理します。スキャン文書には OCR が必要な場合があり、暗号化ファイルにはパスワードが必要です。複雑なレイアウトは変換時に失われることがあります。本文やメタデータには機微情報が含まれる可能性があるため、ユーザーが処理を許可したファイルだけを扱い、意図した範囲を超えて共有する前に抽出結果を確認してください。

資料公開日 2026-10-29

できること

  • ユーザーが提供した文書からテキストやメタデータを抽出する
  • PDF ページを OCR や目視確認用の画像に変換する

使う場面

  • ファイルの処理が許可され、抽出結果を利用前に確認できる場合

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

内容をアップロードまたは共有せずに、この文書のテキストとメタデータを抽出する手順を計画して。
スキャン文書や複雑な文書の抽出で人が確認すべき箇所を挙げて。

月次の推移

ダウンロード数3866
102212441452026-03 · ダウンロード数 3812026-05 · ダウンロード数 8022026-06 · ダウンロード数 9452026-07 · ダウンロード数 30362026-08 · ダウンロード数 37742026-09 · ダウンロード数 386626-0326-09
スター数-
0112026-03 · スター数 -2026-05 · スター数 -2026-06 · スター数 -2026-07 · スター数 -2026-08 · スター数 -2026-09 · スター数 -26-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093866—-
2026-083774+24.3%-
2026-073036+221.3%-
2026-06945+17.8%-
2026-05802—-
2026-03381—-

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

3.1 KB・ClawHub v1.0.0
---
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
すべて表示(全 122 行)

| 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

オフィス効率化の人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。