處理 PDF 文件
也可从以下获取: sickn33,Azeem-2,92Bilal26,92Bilal26,anthropics,ZhanlinCui,AutumnsGrove,DYAI2025,K-Dense-AI,davila7,Cam10001110101,ComposioHQ
PDF 文件需要專門的工具來進行擷取、修改和表單填寫。此技能提供全面的 PDF 處理功能,包括使用 Python 庫進行文字擷取、表格偵測、文件合併、拆分和表單欄位操作。
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“pdf”。 Extract text from report.pdf
预期结果:
- Extracted 15 pages from report.pdf
- Saved text to report.txt (45,230 characters)
- Found 3 tables on pages 5, 8, and 12
正在使用“pdf”。 Merge all invoices into one file
预期结果:
- Combined 12 PDF files into merged_invoices.pdf
- Total pages: 48
- Used pypdf for document merging
正在使用“pdf”。 Fill out the application form
预期结果:
- Identified 8 fillable form fields
- Filled all fields with provided data
- Saved to completed_application.pdf
安全审计
低风险This is a legitimate PDF manipulation skill containing 8 Python scripts for document processing. The 227 static findings are false positives: documentation examples showing command syntax are not actual shell execution; legitimate file I/O uses standard PDF libraries (pypdf, pdfplumber); cryptographic references are for PDF password protection; and flagged keywords like 'command' appear only in documentation context. No network calls, no command injection, no credential handling.
低风险问题 (1)
风险因素
质量评分
你能构建什么
自動化表單填寫
使用擷取的欄位資訊和驗證檢查,以程式方式填寫 PDF 表單
擷取結構化資料
從 PDF 報告中提取表格和文字,以進行試算表分析和資料處理
管理文件集合
合併、拆分和重新組織 PDF 文件,以實現高效的檔案管理流程
试试这些提示
Extract all text from document.pdf and save it to a text file
Merge report1.pdf, report2.pdf, and report3.pdf into quarterly_report.pdf
Fill in application_form.pdf with the following data: name=John Smith, email=john@example.com, and save the completed form
Extract tables from all PDFs in the /invoices directory and save each to a separate CSV file
最佳实践
- 在處理前驗證 PDF 文件,以妥善處理損壞或加密的文件
- 填寫不可填寫的 PDF 表單時使用邊界框驗證以確保準確放置
- 分塊處理大型 PDF 以有效管理記憶體使用
避免
- 嘗試處理需要密碼的 PDF 文件而未先取得密碼
- 填寫不可填寫的 PDF 表單時跳過邊界框驗證
- 處理極大型 PDF 而未進行分塊或記憶體管理