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
累计下载
2,917
星标
-
全站排名
#3,792
全站前 75% · 「知识管理」前 74%
平台累计安装累计下载星标评论
ClawHub ↗842,889--
SkillHub ↗2992,917-—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

CLI 将网页、PDF、办公文件和图像解析为 Markdown、文本或结构格式,支持 OCR 及可选加速。使用受控输出路径,在受限环境处理可信 URL。固定包版本;远程服务和外部插件需审查后才发送文档或加载代码。

资料发布于 2026-10-27

可以用来做什么

  • 提取内容供分析

什么时候用

  • 已知文档或链接需要解析时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

规划提取到受控目录,保持远程服务和外部插件关闭。

月度数据趋势

累计下载2,917
1,1702,1083,0462026-03 · 累计下载 1,2992026-05 · 累计下载 1,9372026-06 · 累计下载 2,1502026-07 · 累计下载 2,4962026-08 · 累计下载 2,7252026-09 · 累计下载 2,91726-0326-09
星标-
0112026-03 · 星标 -2026-05 · 星标 -2026-06 · 星标 -2026-07 · 星标 -2026-08 · 星标 -2026-09 · 星标 -26-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-092,917—-
2026-082,725+9.2%-
2026-072,496+16.1%-
2026-062,150+11.0%-
2026-051,937—-
2026-031,299—-

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),按月更新。口径说明见数据方法。