evo-document-text-extraction

SkillFiles & storage

Extracts text from PDF, DOCX, and PPTX files using PyPDF2, pdfplumber, pdftotext CLI, and stdlib zipfile+XML fallbacks.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the evo-document-text-extraction skill

What this skill tells your AI

The instructions your AI receives, as published by openlair/openskill in tasks-evolved/organize-messy-files/environment/skills/evo-document-text-extraction/SKILL.md and read by ahel’s review.

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-document-text-extraction/scripts')
from utils import extract_text, extract_text_pdf, extract_text_docx, extract_text_pptx

text = extract_text('/path/to/file.pdf')  # auto-detects format

Key Functions

  • extract_text(filepath, max_pages=3) - unified interface, auto-detects by extension
  • extract_text_pdf(filepath, max_pages=3) - PDF with fallback chain: PyPDF2 -> pdftotext -> pdfplumber
  • extract_text_docx(filepath) - DOCX via zipfile+XML stdlib
  • extract_text_pptx(filepath) - PPTX via zipfile+XML stdlib
  • extract_text_pdftotext_cli(filepath, max_pages=3) - pdftotext CLI wrapper

Signals

GitHub stars
91
Forks
4
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
evo-document-text-extraction
Source
github.com/openlair/openskill