Saltar al contenido
Skillpedia
PDF, Word y diapositivas12 mil · #11572

ocr-and-documents

Qué hace

Esta skill extrae texto de escaneos y documentos basados en imágenes que la lectura normal no puede procesar. Está pensada para personas cuyos documentos en papel o PDF escaneados necesitan recuperar su texto.

Cuándo usarla

  • ✓Cuando tienes un PDF escaneado y necesitas su texto como documento con búsqueda.
  • ✓Cuando tienes una foto de un documento y quieres copiar las palabras.
  • ✓Cuando un documento con diseño complejo, tablas o fórmulas debe convertirse en texto estructurado.

Link de la skill

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/ocr-and-documents/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/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/ocr-and-documents/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

“Este PDF escaneado de un contrato no tiene texto seleccionable. ¿Puedes extraer el texto por mí?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente primero prueba la extracción normal y después usa una herramienta de OCR local más ligera antes que una herramienta de diseño más pesada. Mantiene tus archivos en tu ordenador salvo que permitas una subida.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

OCR and scanned documents

Use this Skill when ordinary document extraction fails because the source is scanned, image-based, or layout-heavy.

Start here

Call skill_view for this Skill and use its returned baseDirectory. Helpers live in <baseDirectory>/scripts.

Prefer local processing. Do not upload a private document to an external OCR service unless the user explicitly authorizes that transfer.

Choose the lightest path

  1. Normal extraction first. For PDFs, try the bundled pdf Skill. For .docx, use docx. Do not OCR born-digital text.
  2. A few scanned pages. Render pages with the pdf Skill and inspect images using view_image; transcribe only the requested pages.
  3. Text-oriented scanned PDF. Try extract_pymupdf.py; this is the lighter local path.
  4. Complex layout, tables, math, or many scanned pages. Use extract_marker.py only after confirming the need and checking resources.

Helpers

python3 <baseDirectory>/scripts/extract_pymupdf.py input.pdf -o extracted.md
python3 <baseDirectory>/scripts/extract_marker.py --check
python3 <baseDirectory>/scripts/extract_marker.py input.pdf -o extracted.md

Run helpers with terminal_exec, using python3 as the command and arguments as an array. Use --help for exact options.

extract_pymupdf.py requires PyMuPDF:

python3 -m pip install pymupdf

Its --markdown mode additionally requires pymupdf4llm.

extract_marker.py uses marker-pdf, which can require several gigabytes of packages and model downloads. Never install it automatically. Check available disk space and ask the user before installing or downloading large models.

URLs

If the source is a URL, first use an available browser or HTTP tool to identify whether it points to HTML or a document. Download only the requested document, respect authentication and access boundaries, and then process the local copy. Do not assume a specific web tool exists.

Verification

  • Preserve reading order, page references, headings, tables, footnotes, and confidence caveats.
  • Compare extracted text against representative rendered pages with view_image.
  • Mark uncertain characters and fields instead of guessing.
  • For tables, verify column alignment and numeric values separately.
  • Return both the extracted artifact path and the original source/page mapping when possible.
Preguntas frecuentes

¿Se enviará mi documento a un servicio en línea?

No. La skill prefiere el procesamiento local y no sube un documento privado a menos que lo permitas de forma explícita.

¿Cuándo no debe usarse el OCR?

Para PDF con texto o archivos de Word, donde la extracción normal ya funciona, el OCR no hace falta.

¿Cuándo se usa la herramienta más pesada?

Solo después de que el agente confirme que es necesaria y compruebe que el ordenador tiene recursos suficientes para ella.

Detalles

Descripción original del autor

Extract and structure text from scanned PDFs and document images with a local-first OCR workflow, layout-aware fallbacks, and explicit heavyweight dependency controls.

repo: EKKOLearnAI/ekko-studio

Popularidad

Estrellas en GitHub
12 mil
Posición en el ranking
#11572
Licencia
—
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas