LeyuDame2

Mistral OCR

办公效率v1.0.4
作者:LeyuDame2更新于 2026-05-11共 5 个版本 · 最新版本发布于 2026-02-15mistral-ocr@clawhub_yzdame/mistral-ocr
PDF 处理#OCR#Privacy#Json#PDF

据 AlphaMoat 统计,截至 2026-09,Mistral OCR 累计下载 2,994 次、获 5 个星标,在全部 5,078 个 AI 技能中排名第 3,734 位,在「办公效率」分类(435 个)中排名第 274 位。

累计安装
313
累计下载
2,994
星标
5
全站排名
#3,734
全站前 74% · 「办公效率」前 63%
平台累计安装累计下载星标评论
ClawHub ↗882,9155-
SkillHub ↗3132,9945—

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

这个技能是做什么的

说明提取文字、表格和图片,输出 Markdown、JSON 或 HTML,需本地输出目录和 MISTRAL_API_KEY。文件会外传;尤其敏感文档需确认远程处理可接受,否则用本地OCR。固定已审 SDK、保护密钥,不可信输入生成的 HTML 开启前须审阅或净化。

资料发布于 2026-10-27

可以用来做什么

  • 准备云OCR转换

什么时候用

  • 文档上传 Mistral 已获准时

示例提示词

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

核对文档上传许可与输出目录,规划OCR,并审阅任何HTML输出。

月度数据趋势

累计下载2,994
1,7712,4283,0852026-03 · 累计下载 1,8622026-05 · 累计下载 2,1412026-06 · 累计下载 2,3202026-07 · 累计下载 2,6042026-08 · 累计下载 2,7762026-09 · 累计下载 2,99426-0326-09
星标5
4562026-03 · 星标 52026-05 · 星标 52026-06 · 星标 52026-07 · 星标 52026-08 · 星标 52026-09 · 星标 526-0326-09

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

月份累计下载环比星标
2026-092,994—5
2026-082,776+6.6%5
2026-072,604+12.2%5
2026-062,320+8.4%5
2026-052,141—5
2026-031,862—5

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.2 KB · ClawHub v1.0.4
---
name: mistral-ocr
description: "Convert PDF/images to Markdown/JSON/HTML using Mistral OCR API. Supports image extraction, table recognition, header/footer handling, and multi-column layouts. Usage: Upload a file and say Use Mistral OCR to process this."
registry:
  homepage: https://github.com/YZDame/Mistral-OCR-SKILL
  author: YZDame
  credentials:
    required: true
    env_vars:
      - MISTRAL_API_KEY
展开全部(共 90 行)
---

# ⚠️ Privacy Warning - 隐私警告

**IMPORTANT - READ BEFORE INSTALLING:**

This skill **uploads your files to Mistral's cloud servers** for OCR processing.

**Do NOT use with sensitive or confidential documents** unless:
- You trust Mistral's data handling policies
- You have reviewed Mistral's privacy policy
- You accept that file contents will be transmitted and processed remotely

**For sensitive documents, use offline/local OCR tools instead.**

---

# Mistral OCR Skill

A powerful OCR tool that converts PDF files and images into Markdown, JSON, or HTML formats using Mistral's state-of-the-art OCR API.

## Installation

```bash
# Clone or download this repository
git clone https://github.com/YZDame/Mistral-OCR-SKILL.git
cd Mistral-OCR-SKILL

# Install dependencies
pip install -r requirements.txt
```

## 🔑 API Key Setup (Required)

**Get your API key:**
👉 https://console.mistral.ai/home

**Set the environment variable:**

```bash
export MISTRAL_API_KEY=your_api_key
```

## CLI Usage

```bash
cd scripts

# Process PDF to Markdown
python3 mistral_ocr.py -i input.pdf

# Process PDF to JSON
python3 mistral_ocr.py -i input.pdf -f json

# Specify output directory
python3 mistral_ocr.py -i input.pdf -o ~/my_ocr_results
```

## Arguments

| Flag | Description |
|------|-------------|
| `-i, --input` | Input file path (required) |
| `-f, --format` | Output format: markdown/json/html (default: markdown) |
| `-o, --output` | Output directory |

## Data Privacy

**What happens to your files:**
1. Files are uploaded to Mistral's OCR API
2. Files are processed on Mistral servers
3. Processing results are returned to you
4. Files are not stored on Mistral servers (per Mistral policy)

**For more details, see:** https://mistral.ai/privacy-policy

## License

MIT

「办公效率」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。