docpilot

document-parser

Officev1.0.1
By docpilotUpdated 2026-05-182 versions · latest released 2026-03-09@clawhub_ankylala/document-parser
DocumentsPDF#Document#PDF#文档

According to AlphaMoat, as of 2026-09, document-parser has 3,984 downloads and 0 stars — ranked #2,576 of 5,078 AI skills overall, and #211 of 435 in Office.

Installs
101
Downloads
4.0K
Stars
-
Overall Rank
#2,576
Top 51% overall · Top 49% in Office
PlatformInstallsDownloadsStarsComments
ClawHub ↗1013.9K--
SkillHub ↗974.0K-—

Platforms count differently and update at different times.

What this skill does

It can output JSON, Markdown, or both, and accepts API settings through environment variables or a local config file. The source includes service and credential configuration; protect credentials and confirm how files are transmitted and processed before sending sensitive documents.

Profile published 2026-10-29

What you can do with it

  • Extract document text, tables, and page structure.
  • Use OCR or layout analysis for scanned documents.
  • Plan task-status checks and error handling.

When to use it

  • When extracting structured information from PDFs, images, or Word files.
  • When recognizing tables, seals, contents, or page layout.
  • Before API setup or processing sensitive files, when credential security and data-transfer scope need review.

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Summarize document-parser’s inputs, parsing capabilities, and output formats.
Draft credential and data-processing checks before external parsing of sensitive files.

Monthly Trend

Downloads4.0K
8822.5K4.2K2026-03 · Downloads 1.1K2026-05 · Downloads 2.4K2026-06 · Downloads 2.7K2026-07 · Downloads 3.5K2026-08 · Downloads 3.7K2026-09 · Downloads 4.0K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-094.0K—-
2026-083.7K+5.7%-
2026-073.5K+29.9%-
2026-062.7K+11.5%-
2026-052.4K—-
2026-031.1K—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

1.9 KB · ClawHub v1.0.1
# document-parser

高精度文档解析技能,从 PDF、图片、Word 文档中提取结构化数据。

## 用途
- 解析 PDF、图片 (JPG/PNG)、Word 文档
- 版面分析与结构提取
- 表格识别(输出 HTML/Markdown)
- OCR 文字识别
- 印章检测
Show all (83 lines)
- 目录提取

## 命令

### 解析文档
```
document-parser parse <文件路径> [选项]
```

示例:
```
document-parser parse C:\docs\report.pdf
document-parser parse C:\docs\scan.jpg --layout --table
document-parser parse C:\docs\contract.docx --output markdown
```

### 查询任务状态
```
document-parser status <任务 ID>
```

## 参数说明

| 参数 | 说明 | 示例 |
|------|------|------|
| 文件路径 | PDF/图片/Word 文件路径 | `C:\docs\report.pdf` |
| --layout | 启用版面分析 | `--layout` |
| --table | 启用表格识别 | `--table` |
| --seal | 启用印章检测 | `--seal` |
| --output | 输出格式 (json/markdown/both) | `--output markdown` |
| --pages | 页码范围 | `--pages 1-5,8,10-12` |

## 配置

### 方式一:环境变量
```
DOCUMENT_PARSER_API_KEY=your_api_key
DOCUMENT_PARSER_BASE_URL=http://47.111.146.164:8088/taidp/v1/idp/general_parse
```

### 方式二:配置文件
在技能目录创建 `config.json`:
```json
{
  "api_key": "your_api_key",
  "base_url": "http://47.111.146.164:8088/taidp/v1/idp/general_parse"
}
```

## 输出格式

返回结构化 JSON 包含:
- **pages**: 解析后的页面数组
- **elements**: 版面元素(文本、表格、图片等)
- **markdown**: Markdown 格式文本
- **data**: 数据统计摘要

## 依赖
- requests
- python-docx (Word 支持)
- Pillow (图片处理)

## 错误码

| 错误码 | 消息 | 说明 |
|--------|------|------|
| 10000 | Success | 识别成功 |
| 10001 | Missing parameter | 参数缺失 |
| 10002 | Invalid parameter | 非法参数 |
| 10003 | Invalid file | 文件格式非法 |
| 10004 | Failed to recognize | 识别失败 |
| 10005 | Internal error | 内部错误 |

Popular in Office

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.