Saltar al contenido
Skillpedia
Análisis y hojas de cálculo8,3 mil · #12477

yao-ocr

Qué hace

Esta habilidad lee texto de imágenes escaneadas y archivos PDF, como facturas, recibos y tablas. Es para quien necesita convertir texto impreso o manuscrito en texto editable.

Cuándo usarla

  • ✓Cuando tienes una factura o un recibo escaneado y necesitas sus datos en texto.
  • ✓Cuando un PDF es un escaneo y necesitas que su texto sea buscable o editable.
  • ✓Cuando una tabla en una imagen tiene que pasar a un formato con el que puedas trabajar.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/YaoApp/yao/blob/main/tools/skills/yao-ocr/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Extrae todos los importes y las líneas de detalle de esta factura escaneada en PDF, en forma de tabla.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente envía la imagen o el PDF a un motor de reconocimiento de texto, que puede ser un modelo de visión o un servicio OCR tradicional. Devuelve texto plano, una tabla en markdown o datos estructurados.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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
Preguntas frecuentes

¿Qué formatos de salida hay?

Texto plano, tablas en markdown y datos estructurados, como JSON.

¿Puedo elegir un rango de páginas?

Sí. En los PDF puedes elegir un rango de páginas.

¿Reconoce la escritura a mano?

La habilidad incluye los documentos manuscritos entre lo que cubre, aunque los resultados dependen del motor usado.

Detalles

Descripción original del autor

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

Popularidad

Estrellas en GitHub
8,3 mil
Posición en el ranking
#12477
Licencia
—
Actualizada
19/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas