filesystem-v23: A Smart PDF Processing Skill for Agents

Introduction

In Agent workflows, contracts, reports, and scanned documents often appear as PDFs. If you rely solely on the model to “read files”, it is difficult to stably complete table export, scanned document OCR, merging/splitting, or encryption and redaction. Writing these steps into a Skill allows the Agent to call a Python toolchain via fixed modules, rather than piecing together scripts on the fly every time.

Below we introduce filesystem-v23 on SkillHub (coordinates @user_9ebebf30/filesystem-v2). What actually gets installed is the PDF Intelligence Suite (the skill name inside SKILL.md is pdf-intelligence-suite). The current brief description on the SkillHub listing page says “Rust headless browser automation”, which is inconsistent with the documentation in the package; the functionality and usage should be based on the SKILL.md and README.md inside the installed package.

What This Is

filesystem-v23 is a Skill of the ai-agent category published by community publisher user_9ebebf30 on SkillHub, version 1.0.2, source community, tagged requires_api_key=false (no additional API key required).

The package documentation positions it as an all-in-one PDF processing tool: text and layout extraction, table recognition, OCR, format conversion, page operations, encryption and watermarking, etc., aimed at developers who need their Agent to reliably process local PDFs. The upstream homepage marked in SKILL.md is https://github.com/kaiyuelv/pdf-intelligence-suite.

SkillHub page statistics (based on crawled data): rating approximately 100000, 817 downloads, 1 install.

Core Features

The following capabilities all come from the package’s SKILL.md and README.md, organized by module:

  1. Text extraction (PDFExtractor): plain text or layout-preserving; extract by page or by region (bbox); supports keyword search.
  2. Table recognition (TableExtractor): recognize tables and export to CSV/Excel; supports lattice (bordered) and stream (borderless) strategies.
  3. OCR (OCRProcessor): for scanned documents and image-based PDFs, relies on local Tesseract, with configurable language packs such as Chinese and English.
  4. Format conversion (PDFConverter): convert PDF to Word, Excel, images, plain text, HTML, etc.
  5. Page operations (PDFManipulator): merge, split, rotate, delete, extract, insert, and reorder pages.
  6. Security processing (PDFSecurity): encryption, decryption, text or image watermarking, etc.
  7. Utility functions: such as get_pdf_info to read the number of pages, metadata, whether it is encrypted, etc.

Technical dependencies are documented: PyPDF2, pdfplumber, camelot-py, pytesseract, pdf2image, reportlab, Pillow, etc.; OCR and PDF-to-image conversion usually also require system-level components such as Tesseract and Poppler.

Installation and Activation

1. Install the SkillHub CLI (if not already installed)

command -v skillhub && skillhub --version

If not installed, follow the official SkillHub instructions:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install the Skill into the Agent’s skills directory

SkillHub requires you to use --dir to point to the directory actually recognized by the Agent; otherwise the default install location ./skills/ may not be loaded. Common path examples:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Search and install commands (as returned by skillhub search):

skillhub search filesystem-v2

skillhub install filesystem-v2 --namespace user_9ebebf30 --dir ~/.cursor/skills

You can also have the Agent follow the SkillHub page instructions and install @user_9ebebf30/filesystem-v2 by referencing https://skillhub.cn/install/skillhub.md.

After successful installation, the directory looks like: .../skills/@user_9ebebf30/filesystem-v2/.

3. Install Python dependencies and system components

Navigate to the skill directory and install Python dependencies:

cd ~/.cursor/skills/@user_9ebebf30/filesystem-v2
pip install -r requirements.txt

OCR requires local Tesseract. Ubuntu/Debian example:

sudo apt-get install tesseract-ocr tesseract-ocr-chi-sim tesseract-ocr-chi-tra

On macOS you can use brew install tesseract tesseract-lang. On Windows you need to install it yourself using the official Tesseract installer; if the path is not in the default location, you can set the environment variable TESSDATA_PREFIX or set pytesseract.pytesseract.tesseract_cmd in code.

After completing the above steps, restart or refresh the Agent so it loads the new Skill.

Typical Usage

The quick-start example in the package’s SKILL.md is as follows. Before running, add src to the Python path, or use from src.pdf_intelligence_suite import ... as described in README.md.

from pdf_intelligence_suite import PDFExtractor, TableExtractor, OCRProcessor

extractor = PDFExtractor()
text = extractor.extract_text("document.pdf")

tables = TableExtractor.extract_tables("report.pdf", output_format="excel")

ocr = OCRProcessor(lang='chi_sim+eng')
text = ocr.process("scanned.pdf")

README.md also provides more complete usage examples, such as extracting by page, with layout elements, switching table methods, converting PDF to Word, merging PDFs, etc. The examples/basic_usage.py file in the repository demonstrates APIs for text extraction, conversion, page operations, and security processing; you can run it in the skill directory:

python examples/basic_usage.py

Unit test entry point (as documented):

python -m pytest tests/ -v

Use Cases and Notes

Who it is for

  • Those who need their Agent to process PDFs locally: extracting text for RAG, exporting tables, OCR on scanned documents, batch merging or adding watermarks.
  • Those who want clear dependency declarations and module boundaries, rather than having the model rewrite PyPDF/pdfplumber scripts every time.

Limitations and cautions

  1. Metadata and content mismatch: The SkillHub display name is filesystem-v23 and the brief description is browser automation, which does not match the PDF suite inside the package; before choosing it, it is recommended to open the SKILL.md in the install directory to confirm.
  2. Heavy environment dependencies: camelot, pdf2image, and OCR are sensitive to system libraries; CI or headless environments need to separately verify whether Poppler and Tesseract are available.
  3. Conversion quality: The documentation notes that converting complex layouts to Word may distort the result; you can extract text first or take the “convert to image + OCR” path.
  4. Category discrepancy: SkillHub classifies it as ai-agent, while the SKILL.md frontmatter says productivity; this does not affect usage, but may cause ambiguity when searching by tags.

Conclusion

filesystem-v23 is a community Skill on SkillHub that requires no API key; what it delivers is the PDF Intelligence Suite, suitable for orchestrating PDF extraction, tables, OCR, and page/security operations into Agent workflows. When the listing information differs from the package documentation, the installed package takes precedence.

Official entry points:

  • SkillHub page: https://www.skillhub.cn/skills/user_9ebebf30/filesystem-v2
  • API coordinates page: https://api.skillhub.cn/user_9ebebf30/filesystem-v2
  • Package homepage (SKILL.md): https://github.com/kaiyuelv/pdf-intelligence-suite
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye