pdf-splitter-ocr
暂无简介
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-11
- Stars
- ★ 80
- Forks
- 17
01 前言 Front Matter
- name
- pdf-splitter-ocr
- track
- ai-productivity
- summary
- Split PDFs and perform OCR for searchability
- version
- 0.1.0
02 资源文件 4
- 参考文档README.md2.5 KB
- 脚本scripts/main.py7.1 KB
- 参考文档SOURCE.md368 B
- 参考文档TRUST.auto.yaml2.1 KB
03 SKILL.md 正文
Description
Split PDF documents and perform optical character recognition (OCR) for text extraction and searchability. Supports batch processing and text indexing.
Inputs
{
"pdf_path": "Path to PDF file",
"action": "split|ocr|extract",
"pages": "1-5|all"
}
Outputs
{
"ok": true,
"data": {
"text": "Extracted text",
"pages": 5
}
}
Usage
Demo Mode
python scripts/main.py --demo
Extract Text
echo '{"pdf_path":"document.pdf","action":"extract"}' | python3 scripts/main.py
Examples
Example 1: OCR PDF
$ echo '{"pdf_path":"document.pdf","action":"ocr","pages":"1-3"}' | python3 scripts/main.py
{
"ok": true,
"data": {
"text": "Extracted text content...",
"pages": 3
}
}
Error Handling
When an error occurs, the skill returns:
{
"ok": false,
"error": "Error description",
"details": {
"pdf_path": "File not found"
}
}
04 同仓库更多 Skills
recipe-performance
Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold/warm/background-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout/paint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.
mexc-spot-websocket
MEXC Spot WebSocket workflows for public streams, protobuf handling, depth maintenance, listen keys, and private streams without exposing API keys.
mexc-spot-rest
MEXC Spot REST workflows for public data, signed account requests, orders, wallet/admin actions, and secure signing without exposing API keys.
mexc-futures-websocket
MEXC Futures WebSocket workflows for public streams, private account/order/position streams, ping/pong, subscriptions, and depth maintenance.
0xklen-version-and-refresh-sanctions-lists
暂无简介
verify-tests-cover-changed-lines
Use when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.