본문으로 건너뛰기
cccskills
무료GitHub에 공개

yao-ocr

Extract text from images and PDFs, including handwriting, tables, invoices, and receipts. Return plain text, Markdown tables, or structured JSON fields, with options to select a recognition provider and specific PDF pages.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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.

연동 도구Azure
설치 방법 보기

이럴 때 유용합니다

  • Extract text from scanned documents
  • Convert table images into Markdown
  • Extract invoice and receipt fields as JSON
  • Transcribe handwritten documents
  • Read selected pages from a PDF

포함된 파일(1)

  • SKILL.md6.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

OCR Tools

Two tools for optical character recognition, supporting both VLM-OCR (vision language models) and traditional OCR APIs (Baidu, Google, Azure, PaddleOCR).

ocr_recognize

Extract text from images or PDF files using OCR.

Basic usage (plain text output):

tai tool ocr_recognize --source /path/to/image.png

With URL:

tai tool ocr_recognize --source https://example.com/document.jpg

Table extraction as Markdown:

tai tool ocr_recognize --source /path/to/table.png --type table --output_format markdown

Invoice structured extraction:

tai tool ocr_recognize --source /path/to/invoice.pdf --type invoice --output_format json

With specific provider:

tai tool ocr_recognize --source /path/to/doc.png --provider baidu

VLM-OCR with custom prompt:

tai tool ocr_recognize --source /path/to/doc.png --provider llm:qwen-ocr --prompt "只提取表格中的金额列"

PDF page range:

tai tool ocr_recognize --source /path/to/report.pdf --pages "1-5" --output_format markdown
ParameterTypeRequiredDescription
sourcestringyesImage or PDF file path/URL to recognize
providerstringnoLLM connector ID (llm:xxx) or OCR settings key (baidu/paddleocr/google/azure). Auto-selects if omitted
typestringnoRecognition type (default: general). See type table below
output_formatstringnotext (default), json (with coordinates/fields), or markdown (structured)
modestringnoaccurate (default, best quality) or standard (faster)
languagestringnoLanguage hint (ISO 639-1, e.g. en, zh, ja). Auto-detected if omitted
promptstringnoCustom instruction for VLM-OCR only, appended to system prompt. Ignored by traditional OCR
pagesstringnoPDF page range, e.g. 1-5 or 1,3,7. All pages if omitted
extraJSONnoProvider-specific parameters as a JSON object

Recognition types

TypeDescriptionBest output_format
generalGeneral text (default)text
tableTable extractionmarkdown
handwritingHandwritten texttext
documentDocument layout parsingmarkdown
invoiceInvoice (VAT)json
receiptReceipt / ticketjson
id_cardID cardjson
bank_cardBank cardjson
licenseBusiness licensejson
vehicle_licenseVehicle licensejson
passportPassportjson
license_plateLicense platejson

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.

ocr_providers

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.

PDF support

ProviderPDFNotes
Baiduyespdf_file parameter
AzureyesDocument Intelligence native support
PaddleOCRyespdf + fileType=0
GooglenoSync API does not support PDF
VLM (llm:)noVision models accept images only

For providers that do not support PDF, use Baidu, Azure, or PaddleOCR instead.

Multi-page PDF response

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).

Guidelines

  • Use output_format=text (default) when you just need the text content — simplest for LLM processing
  • Use output_format=json for structured types (invoice, id_card, etc.) to get key-value fields
  • Use output_format=markdown for documents and tables to preserve layout
  • The prompt parameter only works with VLM-OCR providers; traditional OCR ignores it
  • For structured document types (invoice, receipt, id_card, etc.), prefer json output to get fields with key-value pairs
  • Use ocr_providers first to check which providers are available and what types they support
  • Multi-page PDFs return a JSON summary with temporary file paths; use cat <file> to read specific pages
  • Google Vision and VLM providers do not support PDF input directly; use Baidu, Azure, or PaddleOCR for PDF files

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

yao-agent

무료

Manage agents on a host by listing their capabilities, reading source code, and downloading or deploying agents in the smith namespace. Check available language model connections and their roles without exposing API keys.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Find available agents and check their capabilities
  • Study existing agent source code
  • Download and deploy smith agents for editing
YaoApp/yao8.1천2026년 10월 18일 업데이트

yao-audio

무료

Turn recorded speech into text from supported audio files such as mp3, m4a, and wav. Detect the language automatically or specify it, and list available speech recognition providers and models before choosing one.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Transcribe a meeting recording
  • Convert an audio recording into text
  • Transcribe audio in a specified language
YaoApp/yao8.1천2026년 10월 18일 업데이트

yao-board

무료

Check kanban boards, which organize tasks into columns, and retrieve task lists filtered by status, assistant, or board. Use the returned data to see task counts and review work in progress.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing board columns and task counts
  • Finding tasks that are running or waiting
  • Checking tasks assigned to a specific assistant
YaoApp/yao8.1천2026년 10월 18일 업데이트

Start and manage long-running background services such as development servers. Check their status and output logs, verify listening ports, retrieve local URLs, and restart services while keeping the same service ID.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Starting a development server in the background
  • Checking service status and output logs
  • Restarting a service while keeping its ID
YaoApp/yao8.1천2026년 10월 18일 업데이트

Classify messages, rate content, or estimate probabilities using defined question types. Receive machine-readable answers, with confidence scores for classification and ratings, and apply the same questions to multiple inputs in a batch.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Routing customer inquiries to departments
  • Rating support quality against defined criteria
  • Classifying sentiment across multiple messages
YaoApp/yao8.1천2026년 10월 18일 업데이트

yao-doc

무료

Look up callable processes in Yao, inspect their arguments and return types, and check whether a process name is valid. Use the documentation to prepare calls and find suggested alternatives for misspelled names.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Find Yao processes by keyword
  • Check arguments and return types before calling a process
  • Validate process names when a call fails
YaoApp/yao8.1천2026년 10월 18일 업데이트

YaoApp의 스킬 모두 보기

이 스킬의 문제 신고