document-pro
Automates the parsing, extraction, and summarization of PDF, Word, and PowerPoint documents.
Install
mkdir -p .claude/skills/document-pro && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16419" && unzip -o skill.zip -d .claude/skills/document-pro && rm skill.zipInstalls to .claude/skills/document-pro
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
文档处理技能 - 让 AI 能够读取、解析、提取 PDF、DOCX、PPT 等文档的关键信息。当用户要求分析文档、提取内容、总结报告时触发此技能。Key capabilities
- →Read and parse PDF documents.
- →Extract text from DOCX files.
- →Extract text from PPTX presentations.
- →Extract data from XLSX spreadsheets.
- →Identify document types and select appropriate tools.
- →Summarize document content and extract key points.
How it works
The skill identifies the document type, uses specific Python libraries to read and extract content, then analyzes and summarizes the information.
Inputs & outputs
When to use document-pro
- →Extracting table data from PDF invoices
- →Summarizing long technical reports
- →Converting DOCX content to structured text
- →Parsing key insights from project presentations
About this skill
Document Pro - 文档处理技能
概述
赋予 AI 强大的文档处理能力:
- PDF 读取与提取
- Word 文档解析
- PowerPoint 提取
- Excel 数据提取
- 文档格式转换
触发场景
- 用户发送文档并要求"分析"、"总结"
- 用户要求"提取文档内容"
- 用户要求"转换成 PDF"
- 用户询问文档中的具体信息
- 用户要求"从报告/论文中提取要点"
支持的格式
| 格式 | 读取 | 写入 | 工具 |
|---|---|---|---|
| ✅ | ✅ | pdfplumber, PyPDF2 | |
| DOCX | ✅ | ✅ | python-docx |
| PPTX | ✅ | ❌ | python-pptx |
| XLSX | ✅ | ✅ | openpyxl |
| TXT | ✅ | ✅ | 内置 |
| Markdown | ✅ | ✅ | 内置 |
工具使用
PDF 处理
# 提取文本
import pdfplumber
with pdfplumber.open("document.pdf") as pdf:
for page in pdf.pages:
text = page.extract_text()
print(text)
# 提取表格
with pdfplumber.open("document.pdf") as pdf:
table = pdf.pages[0].extract_tables()
Word 文档
from docx import Document
doc = Document("document.docx")
for para in doc.paragraphs:
print(para.text)
# 提取表格
for table in doc.tables:
for row in table.rows:
print([cell.text for cell in row.cells])
PowerPoint
from pptx import Presentation
prs = Presentation("presentation.pptx")
for slide in prs.slides:
for shape in slide.shapes:
if shape.has_text_frame:
print(shape.text)
工作流
1. 识别文档类型 → 选择正确的工具
2. 读取内容 → 提取文本、表格、图片
3. 分析信息 → 理解结构、提取要点
4. 总结呈现 → 用中文总结给用户
进阶功能
文档摘要
- 提取文档主要观点
- 生成简短摘要
- 列出关键要点
表格处理
- 识别表格结构
- 提取表格数据
- 转换为 CSV/Excel
关键词提取
- 找出重要名词/术语
- 识别主题
- 提取关键信息
输出格式
向用户呈现文档时:
- 文档类型和页数
- 主要内容摘要
- 关键要点(3-5条)
- 建议的后续操作
限制
- 扫描版 PDF 需要 OCR
- 复杂格式可能丢失
- 图片/图表无法完全理解
When not to use it
- →When the user does not require document analysis or content extraction.
- →When the user does not need a summary or report from a document.
Limitations
- →Scanned PDFs require OCR for text extraction.
- →Complex document formats may lead to content loss.
- →Images and charts cannot be fully understood.
How it compares
This workflow provides a unified interface for processing various document formats, automating content extraction and summarization, unlike manual parsing or using separate tools for each format.
Compared to similar skills
document-pro side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| document-pro (this skill) | 0 | 3mo | No flags | Beginner |
| biorxiv-database | 7 | 9mo | Review | Beginner |
| local-deep-research-guide | 0 | 5mo | Review | Intermediate |
| office-docs | 1 | 6mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
biorxiv-database
lifangda
Efficient database search tool for bioRxiv preprint server. Use this skill when searching for life sciences preprints by keywords, authors, date ranges, or categories, retrieving paper metadata, downloading PDFs, or conducting literature reviews.
local-deep-research-guide
wentorai
Deep research agent searching 10+ sources with local or cloud LLMs
office-docs
Xxiii8322766509
Extract text and tables from .docx and .xlsx using local scripts (no external deps).
report-research
numerai
Write a complete Numerai experiment report in experiment.md (abstract, methods, results tables, decisions, next steps) and generate/link the standard show_experiment plot(s). Use after running any Numerai research experiments, or when a user asks for a “full report”, “write up”, “experiment.md update”, or “generate the standard plot”.
doc
ansys
Write, review, or edit PyMechanical documentation. Use when writing reStructuredText (RST) files, Python docstrings, Sphinx configurations, example scripts, README files, or any doc content for the PyMechanical library. This covers NumPy docstrings, RST file formatting, Google developer style guide
catalog-extractor
sogrim
Extract academic degree catalogs from Technion PDF course catalogs into structured JSON. Use when asked to extract, parse, or convert a Technion catalog PDF into JSON format.