文档

Pdf Power

试用

PDF toolkit: extract, merge, split, compress, convert, watermark, and protect PDFs.

它能做什么

Complete PDF toolkit. Extract text, merge documents, split pages, compress files, convert formats, add watermarks, and protect with passwords.

技能文档

PDF Power 🦁

Complete PDF toolkit. Extract text, merge documents, split pages, compress files, convert formats, add watermarks, and protect with passwords.

Dependencies

The skill uses Python with pypdf + PyMuPDF (fitz). Install on first use:

pip install pypdf PyMuPDF Pillow

Operations

📄 Extract Text

Read all text from a PDF. Clean output, preserves paragraph structure.

🔗 Merge PDFs

Combine multiple PDFs into one file. Maintains page order.

✂️ Split PDF

Split a PDF by page ranges or extract specific pages.

📦 Compress PDF

Reduce file size. Offers two levels: light (fast, minimal loss) and heavy (smaller, may reduce quality).

🖼️ Convert PDF to Images

Convert each page to PNG/JPEG image. Useful for previews or presentations.

🖼️ Extract Images

Extract embedded images from PDF pages. Saves to output folder.

💧 Watermark

Add text or image watermark to every page. Configurable opacity and position.

🔒 Protect / Unprotect

Add or remove password protection on PDF files.

Usage Pattern

  1. Identify the PDF path and desired operation.
  2. Run the appropriate Python script.
  3. Output file is saved beside the input file (or in specified output path).
  4. Confirm result with the user.

Output

  • Text extraction → clean text content
  • Merge/Split/Compress/Protect → PDF file
  • Convert to images → folder of image files
  • Extract images → folder of image files
  • Watermark → watermarked PDF

Critical Rules

  • Never overwrite the original file unless user explicitly asks. Append _output to output filename.
  • For large PDFs (>100 pages), warn the user and ask before proceeding.
  • Validate PDF is not corrupted before processing.
  • For password-protected PDFs, ask for the password upfront.
  • Use pypdf for simple operations (merge, split, compress). Use PyMuPDF for rendering and image extraction.
  • Compress only when user asks — don't compress silently.

⭐ Gostou desta skill? Deixe uma estrela no ClawHub para ajudar outros a encontrá-la!

相关技能

把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。

作者 nssa.io1.0k 次安装47 星标

诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。

作者 Iván855 次安装69 星标

以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。

作者 johnpatternai22 次安装8 星标

在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。

作者 Iván559 次安装18 星标

从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。

作者 fly0pants4.3k 次安装296 星标

andreataide86 的更多技能

浏览全部技能

Extrai tarefas, prazos e responsáveis de atas, transcrições ou notas de reunião. Gera lista organizada de action items com prioridade e dono.

作者 andreataide863 次安装

Transforma notas diárias e atividades em relatórios de progresso profissionais (semanal, mensal ou executivo).

作者 andreataide863 次安装

Performs competitor research and generates detailed analysis reports with market positioning insights. Covers feature comparison, pricing analysis, SWOT, and...

作者 andreataide86

Writes professional blog posts, social media content, and email newsletters optimized for SEO and engagement. Follows proven content frameworks to deliver pu...

作者 andreataide86

Extracts structured data from websites and APIs, delivering clean datasets in multiple formats. Handles pagination, deduplication, and data enrichment for re...

作者 andreataide86

Creates professional cold email sequences, follow-up templates, and outreach campaigns. Builds multi-step sequences with personalization tokens, A/B subject...

作者 andreataide86