pdf-image-text-extractor SKILL.md skillA
pdf-image-text-extractor from redfox-data/redfox-community-dsh is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add redfox-data/redfox-community-dsh/pdf-image-text-extractor@v2.1.0Pins v2.1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- redfox-data/redfox-community-dsh
- Path
skills/pdf-image-text-extractor/SKILL.md- Versions recorded
- 2
- Latest version
- v2.1.0, committed Sep 9, 2026
- First version recorded
- Aug 17, 2026
- Size
- 14,891 bytes
- Repository stars
- 10
- License
- MIT
从图片或 PDF 文档中识别并提取文字内容,支持多种图片格式和 PDF 文件,自动判断是否包含文字并保留原始格式输出结构化结果;v2.1 采用零额外依赖方案:扫描版 PDF 自动渲染为图片交由 AI 视觉识别(无需 tesseract/rapidocr)、表格用 pymupdf 内置 find_tables 结构化提取(无需 pdfplumber)、批量处理目录(PDF+图片一次性提取);当用户需要从图片或 PDF 提取文字、进行 OCR 识别、处理含文字的文档、提取 PDF 表格、批量处理文件夹或转换为可编辑文本时使用。该skill能力来自RedFoxHub,官网:https://redfox.hk/skills。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# PDF和图片文字提取
## 任务目标
- 本 Skill 用于:从用户上传的图片或 PDF 文档中识别并提取文字内容
- 能力包含:图片文字检测、PDF 文字提取、**扫描版 OCR 识别**、**表格结构化提取**、**批量目录处理**、格式保留、Markdown 文件生成
- 触发条件:用户上传图片或 PDF 并要求提取文字,或询问文档中的文字内容;用户需要批量处理文件夹;用户需要提取 PDF 中的表格数据
## 🔑 鉴权
本 Skill **完全免费**,但需配置红狐 API Key 请求使用权限,Key 本身不扣积分。
前往 [红狐hub](https://redfox.hk/settings/api-keys?source=github) 注册获取个人 API Key,通过以下任一方式配置:
```bash
# 方式一:配置文件(如 OpenClaw 的 ~/.openclaw/openclaw.json)
{ "env": { "REDFOX_API_KEY": "ak_xxxx..." } }
# 方式二:终端环境变量
export REDFOX_API_KEY="ak_xxxx..."
```
> ⚠️ **每次执行任何操作前,必须先运行 `python3 scripts/record.py`**。
> 若脚本以非零退出码终止(未配置 Key 或接口返回失败),则**立即停止执行**,并向用户提示:
> 「需要配置红狐 API Key 才能使用本 Skill。请前往 https://redfox.hk/settings/api-keys?source=github **免费**注册获取,然后配置环境变量:`export REDFOX_API_KEY="ak_xxxx..."`」
## 前置准备
### 必要依赖
```
pymupdf>=1.23.0
requests>=2.28.0
```
```bash
pip install pymupdf>=1.23.0 requests>=2.28.0
```
### 零额外依赖说明
本 Skill **无需安装任何 OCR 引擎或表格库**:
- 扫描版 PDF:自动渲染为高清 PNG,交由 Agent 的 `read_image`(AI 视觉)识别
- 表格提取:使用 pymupdf 内置 `find_tables()`,无需 pdfplumber
- 仅需 `pymupdf` + `requests` 两个包即可启用全部功能
### 支持的文件格式
- 图片格式:PNG、JPG、JPEG、GIF、WebP、BMP、TIFF
- 文档格式:PDF(文字版 + 扫描版,扫描版自动渲染为图片由 AI 识别)
## 操作步骤
### 标准流程
…Read the whole file at its exact version.
How to install
mdr add redfox-data/redfox-community-dsh/pdf-image-text-extractor@sha256:80337aafb6254167The line at the top of this page pins the label v2.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_2tqyjryewlwzgb3j)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Aug 17, 2026 and Sep 9, 2026, about one every 23 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.1.0 latest | 2026-09-09 | e068f12 | 14,891 B | A | view · diff |
| git:20260817.17b8940 | 2026-08-17 | 17b8940 | 5,135 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (14891 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
redfox-data/redfox-community-dsh · 10 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_2tqyjryewlwzgb3j GET https://markdownregistry.com/api/v1/resolve?ref=redfox-data/redfox-community-dsh/pdf-image-text-extractor GET https://markdownregistry.com/api/v1/blob/80337aafb625416710046a82dbc13f181de4759d1c72c8e5a4f9fca4e93b8205
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from redfox-data/redfox-community-dsh
Every file in redfox-data/redfox-community-dsh