Document Processing Toolkit
Paste the following prompt into your AI chat to install this skill:
Please install @user_5b9d6131/dxt-7035 according to https://skillhub.cn/install/skillhub.md.
About this skill
What it solves
When feeding office documents into LLM workflows, the friction is rarely the model but the files: mixed formats, oversized context, and Chinese text encoding. document-skills turns PDF, DOCX, XLSX, PPTX, HTML, CSV, JSON, and TXT files into inspectable text, and keeps a repeatable path for search, summarization, and comparison.
How it works
- Text extraction: use
scripts/extract_text.py; for large files, write output to disk with-oand read portions selectively. - Format conversion:
scripts/convert_format.pysupportsPDF → txt/md,DOCX → txt/md/html,XLSX → csv/json/txt,PPTX → txt/md,HTML → txt,CSV → json/xlsx,JSON → csv, andTXT → pdf/docx. - Search and summarization:
scripts/search_doc.pysupports regex, case-insensitive matching with-i, and context lines with-C N; summarization typically extracts text first, then analyzes sections or page ranges. - Large-document strategy: PDF can be chunked with
--pages, XLSX can be processed sheet by sheet with--sheet, and other files can be exported before partial reads.
Boundaries
This skill is best for preprocessing structured or semi-structured office files for agent pipelines, not OCR, layout reconstruction, or cross-format editing. For Chinese documents, try --encoding gbk or --encoding gb18030; if dependencies are missing or files are corrupted, resolve the library or file issue before expecting stable output.
Use Cases
- Legal teams review DOCX/PDF contracts and locate clauses with regex context.
- Data ops converts multiple XLSX files to CSV/JSON, then searches and summarizes fields.
- Technical writers extract PPTX/HTML materials to Markdown for model summarization.
- QA analysts compare two XLSX or PDF documents to spot cell and text changes.
Best For
- Legal reviewers who need to locate key clauses in DOCX/PDF files and extract context.
- Data operations staff who need to consolidate multiple XLSX files into CSV/JSON and inspect field changes.
- Technical writers who need to convert PPTX/HTML to Markdown and summarize structure.
- QA analysts who need to compare two documents or spreadsheets and list differences.
Related Skills
Generate and edit .pptx decks with python-pptx, applying structured layouts, design rules, native charts, and visual QA to reduce template-like output.
Tencent Cloud Table Recognition V3 is an OCR skill for detecting and recognizing tables in images or PDFs, supporting various table types like linear and borderless tables, with Excel export.
The complete set of online document operation tools provided by Tencent Docs MCP, supporting creation, querying, and editing of smart docs, Excel, PPT, mind maps, and more.
Generates structured and consistently styled academic presentation PPTX files from paper PDFs for graduate seminars.