pdf-tool

Work with PDF files including merge, split, extract text, and convert. Use when user needs to combine multiple PDFs, split a PDF into pages, extract text from PDF, convert PDF to images, or compress PDF files.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "pdf-tool" with this command: npx skills add dinghaibin/dinghaibin-pdf-tool

PDF Tool

Work with PDF files including merge, split, extract text, and convert.

Quick Start

# Extract text from PDF
python scripts/pdf.py document.pdf --extract-text

# Merge PDFs
python scripts/pdf.py --merge file1.pdf file2.pdf --output combined.pdf

Usage

python scripts/pdf.py [OPTIONS]

Options:
  --extract-text      Extract text from PDF
  --extract-images    Extract images from PDF
  --merge FILES       Merge multiple PDFs
  --split N           Split into N pages per file
  --page PAGE         Extract specific page
  --info              Show PDF information
  --output PATH       Output file path

Examples

# Extract all text
python scripts/pdf.py doc.pdf --extract-text

# Extract page 5
python scripts/pdf.py doc.pdf --page 5 --output page5.pdf

# Merge files
python scripts/pdf.py --merge a.pdf b.pdf c.pdf --output merged.pdf

# Split into single pages
python scripts/pdf.py doc.pdf --split 1 --output split/

# Get PDF info
python scripts/pdf.py doc.pdf --info

Features

  • Extract text from PDF
  • Extract images from PDF
  • Merge multiple PDFs
  • Split PDF into pages
  • Extract specific pages
  • Get PDF metadata
  • Basic compression

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Xiaohongshu

Use when the user wants to write, analyze, or improve Xiaohongshu (小红书) content — drafting notes, coaching writing skills, diagnosing AI-speak or Jarvis-trap...

Registry SourceRecently Updated
General

Openclaw Nextcloud

Manage Notes, Tasks, Calendar, Files, and Contacts in your Nextcloud instance via CalDAV, WebDAV, and Notes API. Use for creating notes, managing todos and c...

Registry SourceRecently Updated
General

Twenty CRM

Twenty CRM API integration with managed authentication. Manage companies, people, opportunities, notes, and tasks. Use this skill when users want to interact...

Registry SourceRecently Updated
General

Vercel

Vercel API integration with managed OAuth. Manage projects, deployments, domains, teams, and environment variables. Use this skill when users want to interac...

Registry SourceRecently Updated