The interface is localized. Skill descriptions and documents are machine-translated by AI into your language; code, commands, paths and technical terms stay in the original, and the author's document governs.
Explore skills
Documents · SKILL.md

text-tables-and-rag

text-tables-and-rag

Extract text, search, tables, OCR-aware textpages, and LLM/RAG-ready text outputs with PyMuPDF.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill documentation

GitHub

name: text-tables-and-rag description: "Extract text, search, tables, OCR-aware textpages, and LLM/RAG-ready text outputs with PyMuPDF." disable-model-invocation: true metadata: disco-role: operating license: AGPL 3.0

Text, Tables, and RAG

Use this sub-skill for text extraction, layout reconstruction, search locations, table detection/extraction, OCR boundaries, and Markdown/JSON/plain-text material for LLM and RAG pipelines.

Read or run

Boundaries

Opening/saving belongs to document-core; rendered images belong to rendering-images-and-graphics; annotation/redaction after search belongs to pdf-editing-annotations-forms; python -m pymupdf gettext belongs to cli-and-maintenance.

Default decisions

Start with page.get_text("text", sort=True) or words; use dict/rawdict for spans/fonts/coordinates; use search_for(..., quads=True) for rotated text; use find_tables() and Table.to_markdown() for visible tables. Treat OCR and PyMuPDF4LLM as optional until verified.

Saved skills