Er3mit4

Docling

知識管理v1.0.2
作者:Er3mit4更新於 2026-05-17共 3 個版本 · 最新版本釋出於 2026-02-12docling@clawhub_er3mit4/docling
資訊檢索檔案問答#Web Search#Document

據 AlphaMoat 統計,截至 2026-09,Docling 累計下載 2,917 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 3,792 位,在「知識管理」分類(442 個)中排名第 325 位。

累計安裝
299
累計下載
2917
星標
-
全站排名
#3,792
全站前 75% · 「知識管理」前 74%
平台累計安裝累計下載星標評論
ClawHub ↗842889--
SkillHub ↗2992917-—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

CLI 將網頁、PDF、辦公檔案和圖像解析為 Markdown、文字或結構格式,支援 OCR 及可選加速。使用受控輸出路徑,在受限環境處理可信 URL。固定包版本;遠端服務和外部外掛需審查後才傳送文件或載入程式碼。

資料釋出於 2026-10-27

可以用來做什麼

  • 提取內容供分析

什麼時候用

  • 已知文件或連結需要解析時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

規劃提取到受控目錄,保持遠端服務和外部外掛關閉。

月度資料趨勢

累計下載2917
1170210830462026-03 · 累計下載 12992026-05 · 累計下載 19372026-06 · 累計下載 21502026-07 · 累計下載 24962026-08 · 累計下載 27252026-09 · 累計下載 291726-0326-09
星標-
0112026-03 · 星標 -2026-05 · 星標 -2026-06 · 星標 -2026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -26-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-092917—-
2026-082725+9.2%-
2026-072496+16.1%-
2026-062150+11.0%-
2026-051937—-
2026-031299—-

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

2.5 KB · ClawHub v1.0.2
---
name: docling
description: Extract and parse content from web pages, PDFs, documents (docx, pptx), and images using the docling CLI with GPU acceleration. Use INSTEAD of web_fetch for extracting content from specific URLs when you need clean, structured text. Use Brave (web_search) for searching/discovering pages. Use docling when you HAVE a URL and need its content parsed.
version: 1.0.2
metadata:
  requires:
    bins: ["docling"]
---

# Docling - Document & Web Content Extraction
展開全部(共 78 行)

CLI tool for parsing documents and web pages into clean, structured text. Uses GPU acceleration for OCR and ML models.

## Prerequisites

- `docling` CLI must be installed (e.g., via `pipx install docling`)
- For GPU support: NVIDIA GPU with CUDA drivers

## When to Use

- **Extract content from a URL** → Use docling (not web_fetch)
- **Search for information** → Use web_search (Brave)
- **Parse PDFs, DOCX, PPTX** → Use docling
- **OCR on images** → Use docling

## Quick Commands

### Web Page → Markdown (default)
```bash
docling "<URL>" --from html --to md
```
Output: creates a `.md` file in current directory (or use `--output`)

### Web Page → Plain Text
```bash
docling "<URL>" --from html --to text --output /tmp/docling_out
```

### PDF with OCR
```bash
docling "/path/to/file.pdf" --ocr --device cuda --output /tmp/docling_out
```

## Key Options

| Option | Values | Description |
|--------|--------|-------------|
| `--from` | html, pdf, docx, pptx, image, md, csv, xlsx | Input format |
| `--to` | md, text, json, yaml, html | Output format |
| `--device` | auto, cuda, cpu | Accelerator (default: auto) |
| `--output` | path | Output directory (recommended: use controlled temp dir) |
| `--ocr` | flag | Enable OCR for images/scanned PDFs |
| `--tables` | flag | Extract tables (default: on) |

## Security Notes

⚠️ **Avoid these flags unless you trust the source:**
- `--enable-remote-services` - can send data to remote endpoints
- `--allow-external-plugins` - loads third-party code
- Custom `--headers` with untrusted values - can redirect requests

## Workflow

1. **For web content extraction**: Use `docling "<URL>" --from html --to text --output /tmp/docling_out`
2. **Read the output file** from the specified output directory
3. **Clean up** the output directory after reading

## GPU Support

Docling supports GPU acceleration via CUDA (NVIDIA). Verify CUDA is available:
```bash
python -c "import torch; print(torch.cuda.is_available())"
```

## Full CLI Reference

See [references/cli-reference.md](references/cli-reference.md) for complete option list.

「知識管理」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。