- name
SKILL.md
스킬 파일은 게시자의 저장소에 그대로 있습니다.
복사한 명령을 터미널에 붙여넣습니다. 이 SKILL.md가 해당 에이전트에 설치됩니다.
npx skills add YaoApp/yao --skill yao-ocr -a cursor -y복사한 명령을 터미널에 붙여넣습니다. 이 SKILL.md가 해당 에이전트에 설치됩니다.
npx skills add YaoApp/yao --skill yao-ocr -a claude-code -y복사한 명령을 터미널에 붙여넣습니다. 이 SKILL.md가 해당 에이전트에 설치됩니다.
npx skills add YaoApp/yao --skill yao-ocr -a codex -y복사한 명령을 터미널에 붙여넣습니다. 이 SKILL.md가 해당 에이전트에 설치됩니다.
npx skills add YaoApp/yao --skill yao-ocr -a grok -y복사한 메시지를 Grok Bot 채팅에 보냅니다. Bot이 GitHub에서 이 SKILL.md를 가져와 모든 Bot이 공유하는 스킬에 추가합니다.
Install this skill: https://github.com/YaoApp/yao/tree/HEAD/tools/skills/yao-ocr게시자 제공
Two tools for optical character recognition, supporting both VLM-OCR (vision language models) and traditional OCR APIs (Baidu, Google, Azure, PaddleOCR).
Extract text from images or PDF files using OCR.
tai tool ocr_recognize --source /path/to/image.png
tai tool ocr_recognize --source https://example.com/document.jpg
tai tool ocr_recognize --source /path/to/table.png --type table --output_format markdown
tai tool ocr_recognize --source /path/to/invoice.pdf --type invoice --output_format json
tai tool ocr_recognize --source /path/to/doc.png --provider baidu
tai tool ocr_recognize --source /path/to/doc.png --provider llm:qwen-ocr --prompt "只提取表格中的金额列"
tai tool ocr_recognize --source /path/to/report.pdf --pages "1-5" --output_format markdown
If the chosen provider does not support the requested type, it automatically degrades to general and annotates the response metadata with degraded_from. VLM-OCR supports all types via prompt adaptation.
List available OCR providers and their supported recognition types.
tai tool ocr_providers
Returns a list of providers including VLM-OCR models (from LLM connectors with ocr capability) and traditional API providers (from OCR settings). Each entry includes id, name, type (vlm or traditional), and supported_types.
For providers that do not support PDF, use Baidu, Azure, or PaddleOCR instead.
Multi-page PDFs are automatically split page-by-page. Instead of printing all text, the tool returns a JSON summary with file paths for each page result:
{
"source": "report.pdf",
"total_pages": 10,
"pages": 3,
"results": [
{"page": 1, "file": ".tool-tmp/ocr-a1b2c3d4/page-1.txt", "preview": "Invoice No: INV-001..."},
{"page": 2, "file": ".tool-tmp/ocr-a1b2c3d4/page-2.txt", "preview": "Invoice No: INV-002..."},
{"page": 3, "file": ".tool-tmp/ocr-a1b2c3d4/page-3.txt", "preview": "Invoice No: INV-003..."}
]
}
To read full content of a specific page, use cat:
cat .tool-tmp/ocr-a1b2c3d4/page-2.txt
Single-page PDFs and images return inline text as usual (no file indirection).
output_format=text (default) when you just need the text content — simplest for LLM processingoutput_format=json for structured types (invoice, id_card, etc.) to get key-value fieldsoutput_format=markdown for documents and tables to preserve layoutprompt parameter only works with VLM-OCR providers; traditional OCR ignores itjson output to get fields with key-value pairsocr_providers first to check which providers are available and what types they supportcat <file> to read specific pagesOCR text recognition expert. ALWAYS invoke this skill when you need to extract text from images or PDFs — including invoices, receipts, ID cards, bank cards, business licenses, tables, handwritten doc
---name: yao-ocrdescription: OCR text recognition expert. ALWAYS invoke this skill when you need to extract text from images or PDFs —…---# tools/skills/yao-ocr/SKILL.md개요
OCR text recognition expert. ALWAYS invoke this skill when you need to extract text from images or PDFs — including invoices, receipts, ID cards, bank cards, business licenses, tables, handwritten documents, or any visual text content.
FAQ
게시자에게서 tools/skills/yao-ocr/SKILL.md를 다운로드하거나 경로를 복사해 저장소를 엽니다. PlugMCP는 스킬을 목록에 올릴 뿐 파일을 호스팅하지 않습니다.
게시자가 https://github.com/YaoApp/yao에서 관리합니다.
Claude, Cursor, Codex, Grok Build는 게시자의 저장소에서 추가한 SKILL.md를 읽을 수 있습니다. Grok Bot은 채팅에서 스킬의 GitHub 폴더 링크를 보내면 설치합니다.