本文へスキップ
Skillpedia
分析とスプレッドシート8.3k · #12477

yao-ocr

できること

このスキルは、請求書、レシート、表などのスキャンされた画像やPDFファイルから文字を読み取ります。印刷された文字や手書きの文字を、編集できる文字に変換したい人向けです。

使う場面

  • ✓スキャンされた請求書やレシートがあり、その詳細を文字で取り出したいとき。
  • ✓PDFがスキャンで、検索や編集ができる文字が必要なとき。
  • ✓画像にある表を、扱える形式に変換する必要があるとき。

スキルのリンク

https://github.com/YaoApp/yao/blob/main/tools/skills/yao-ocr/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/YaoApp/yao/blob/main/tools/skills/yao-ocr/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このスキャンされた請求書のPDFから、すべての金額と明細を表として抜き出してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、画像またはPDFを文字認識エンジンに送ります。これは画像認識モデルでも、従来のOCRサービスでもかまいません。プレーンテキスト、Markdownの表、または構造化データを返します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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
Parameter Type Required Description
source string yes Image or PDF file path/URL to recognize
provider string no LLM connector ID (llm:xxx) or OCR settings key (baidu/paddleocr/google/azure). Auto-selects if omitted
type string no Recognition type (default: general). See type table below
output_format string no text (default), json (with coordinates/fields), or markdown (structured)
mode string no accurate (default, best quality) or standard (faster)
language string no Language hint (ISO 639-1, e.g. en, zh, ja). Auto-detected if omitted
prompt string no Custom instruction for VLM-OCR only, appended to system prompt. Ignored by traditional OCR
pages string no PDF page range, e.g. 1-5 or 1,3,7. All pages if omitted
extra JSON no Provider-specific parameters as a JSON object

Recognition types

Type Description Best output_format
general General text (default) text
table Table extraction markdown
handwriting Handwritten text text
document Document layout parsing markdown
invoice Invoice (VAT) json
receipt Receipt / ticket json
id_card ID card json
bank_card Bank card json
license Business license json
vehicle_license Vehicle license json
passport Passport json
license_plate License plate json

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

Provider PDF Notes
Baidu yes pdf_file parameter
Azure yes Document Intelligence native support
PaddleOCR yes pdf + fileType=0
Google no
よくある質問

どのような出力形式がありますか?

プレーンテキスト、Markdownの表、JSONなどの構造化データです。

ページの範囲を選べますか?

はい。PDFの場合は、ページの範囲を選べます。

手書きにも対応していますか?

スキルは手書きの文書も対象に含めていると記されていますが、結果は使われるエンジンによって異なります。

詳細

作者による元の説明

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.

repo: YaoApp/yao

人気

GitHubのスター
8.3k
ランキング
#12477
ライセンス
—
更新日
2026/10/19

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル