Skip to content
Back to skills

Text Tables And Rag

ASecurity

"Extract text, search, tables, OCR-aware textpages, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
documentationpython

Works with

  • cli

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill text-tables-and-rag --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Text Tables And Rag?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Text Tables And Rag
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-text-tables-and-rag/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-text-tables-and-rag)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

- [references/text-extraction.md](references/text-extraction.md) covers `Page.get_text()` modes, clips, sorting, `TextPage`, words/blocks/dict/rawdict, and rotated text.
- [references/table-extraction.md](references/table-extraction.md) covers `Page.find_tables()`, `TableFinder`, `Table`, strategies, headers, Markdown, pandas, and lifetime rules.
- [references/rag-ocr.md](references/rag-ocr.md) covers PyMuPDF4LLM and Tesseract OCR as optional components.
- [references/troubleshooting.md](references/troubleshooting.md) covers empty/garbled text, table misses, and optional dependency failures.
- Run [scripts/extract_text_inspect.py](scripts/extract_text_inspect.py) and [scripts/table_detection_smoke.py](scripts/table_detection_smoke.py) for safe inspections.

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

Files in this skill

  • SKILL.md1.7 KB
  • references/api-reference.md699 B
  • references/rag-ocr.md595 B
  • references/table-extraction.md515 B
  • references/text-extraction.md652 B
  • references/troubleshooting.md618 B
  • scripts/extract_text_inspect.py2.1 KB
  • scripts/table_detection_smoke.py2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.