跳到正文
cccskills
免费在 GitHub 公开

pdf-processing

Extract text and tables from PDFs, fill form fields with supplied data, and merge documents. Includes a pdfplumber text extraction example and scripts for inspecting form fields and extracting text.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.

查看安装方法

适用场景

  • Extracting text from PDF pages
  • Retrieving tables from PDF documents
  • Filling PDF forms with supplied data
  • Combining multiple PDFs into one document

包含的文件(4)

  • SKILL.md1.1 KB
  • FORMS.md882 B
  • scripts/analyze_form.py1.3 KB
  • scripts/extract_text.py1.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

PDF Processing

This skill provides utilities for working with PDF documents.

Quick Start

Use pdfplumber to extract text from PDFs:

import pdfplumber

with pdfplumber.open("document.pdf") as pdf:
    text = pdf.pages[0].extract_text()
    print(text)

Available Operations

  1. Text Extraction: Extract text content from PDF pages
  2. Table Extraction: Extract tabular data from PDFs
  3. Form Filling: Fill PDF forms with provided data
  4. Document Merging: Combine multiple PDFs into one

Advanced Features

Form filling: See FORMS.md for complete guide

Utility scripts:

  • Run scripts/analyze_form.py to extract form fields
  • Run scripts/extract_text.py to extract text from a PDF

Best Practices

  1. Always validate PDF files before processing
  2. Handle password-protected PDFs gracefully
  3. Check for scanned PDFs that may require OCR

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Choose the right WeKnora command to answer questions from a knowledge base or retrieve source passages. Covers cited answers, custom agents, document searches, and continuing a conversation through the command-line tool.

中文简介正在准备中。当前显示英语简介。

  • Ask questions with citations from a knowledge base
  • Retrieve source passages for further analysis
  • Find documents by title or filename
Tencent/WeKnora3.5万2026年10月18日 更新

Use the weknora CLI to manage knowledge bases and documents, search stored material, and ask questions grounded in it. This shared guide covers authentication, structured JSON results, error handling, and previews of changes.

中文简介正在准备中。当前显示英语简介。

  • Setting up authentication for a WeKnora server
  • Managing knowledge bases and uploaded documents
  • Searching stored material and asking questions about it
Tencent/WeKnora3.5万2026年10月18日 更新

查看 Tencent 的全部技能

报告此技能的问题