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
累計下載
2994
星標
5
全站排名
#3,734
全站前 74% · 「辦公效率」前 63%
平台累計安裝累計下載星標評論
ClawHub ↗8829155-
SkillHub ↗31329945—

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

這個技能是做什麼的

說明提取文字、表格和圖片,輸出 Markdown、JSON 或 HTML,需本地輸出目錄和 MISTRAL_API_KEY。檔案會外傳;尤其敏感文件需確認遠端處理可接受,否則用本地OCR。固定已審 SDK、保護金鑰,不可信輸入生成的 HTML 開啟前須審閱或淨化。

資料釋出於 2026-10-27

可以用來做什麼

  • 準備雲OCR轉換

什麼時候用

  • 文件上傳 Mistral 已獲准時

示例提示詞

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

核對文件上傳許可與輸出目錄,規劃OCR,並審閱任何HTML輸出。

月度資料趨勢

累計下載2994
1771242830852026-03 · 累計下載 18622026-05 · 累計下載 21412026-06 · 累計下載 23202026-07 · 累計下載 26042026-08 · 累計下載 27762026-09 · 累計下載 299426-0326-09
星標5
4562026-03 · 星標 52026-05 · 星標 52026-06 · 星標 52026-07 · 星標 52026-08 · 星標 52026-09 · 星標 526-0326-09

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

月份累計下載環比星標
2026-092994—5
2026-082776+6.6%5
2026-072604+12.2%5
2026-062320+8.4%5
2026-052141—5
2026-031862—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),按月更新。口徑說明見資料方法。