# Send PDF Tools to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "pdf-tools",
    "name": "PDF Tools",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/cmpdchtr/pdf-tools",
    "canonicalUrl": "https://clawhub.ai/cmpdchtr/pdf-tools",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/pdf-tools",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pdf-tools",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/libraries.md",
      "scripts/edit_text.py",
      "scripts/extract_text.py",
      "scripts/merge_pdfs.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "pdf-tools",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-06T20:39:51.887Z",
      "expiresAt": "2026-05-13T20:39:51.887Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pdf-tools",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pdf-tools",
        "contentDisposition": "attachment; filename=\"pdf-tools-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "pdf-tools"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/pdf-tools"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/pdf-tools",
    "downloadUrl": "https://openagent3.xyz/downloads/pdf-tools",
    "agentUrl": "https://openagent3.xyz/skills/pdf-tools/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pdf-tools/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pdf-tools/agent.md"
  }
}
```
## Documentation

### PDF Tools

Tools for viewing, extracting, and editing PDF files using Python libraries (pdfplumber and PyPDF2).

### Quick Start

All scripts require dependencies:

pip3 install pdfplumber PyPDF2

### Extract Text

Extract text from PDF (all pages or specific pages):

scripts/extract_text.py document.pdf
scripts/extract_text.py document.pdf -p 1 3 5
scripts/extract_text.py document.pdf -o output.txt

### Get PDF Info

View metadata and structure:

scripts/pdf_info.py document.pdf
scripts/pdf_info.py document.pdf -f json

### Merge PDFs

Combine multiple PDFs into one:

scripts/merge_pdfs.py file1.pdf file2.pdf file3.pdf -o merged.pdf

### Split PDF

Split into individual pages:

scripts/split_pdf.py document.pdf -o output_dir/

Split by page ranges:

scripts/split_pdf.py document.pdf -o output_dir/ -m ranges -r "1-3,5-7,10-12"

### Rotate Pages

Rotate all pages or specific pages:

scripts/rotate_pdf.py document.pdf -o rotated.pdf -r 90
scripts/rotate_pdf.py document.pdf -o rotated.pdf -r 180 -p 1 3 5

### Edit Text

Add text overlay on a page:

scripts/edit_text.py document.pdf -o edited.pdf --overlay "New Text" --page 1 --x 100 --y 700
scripts/edit_text.py document.pdf -o edited.pdf --overlay "Watermark" --page 1 --x 200 --y 400 --font-size 20

Replace text (limited, works best for simple cases):

scripts/edit_text.py document.pdf -o edited.pdf --replace "Old Text" "New Text"

Note: PDF text editing is complex due to the format. The overlay method is more reliable than replacement.

### Viewing PDF Content

Get basic info: scripts/pdf_info.py file.pdf
Extract text to preview: scripts/extract_text.py file.pdf -p 1
Extract full text if needed: scripts/extract_text.py file.pdf -o content.txt

### Reorganizing PDFs

Split into pages: scripts/split_pdf.py input.pdf -o pages/
Merge selected pages: scripts/merge_pdfs.py pages/page_1.pdf pages/page_3.pdf -o reordered.pdf

### Extracting Sections

Get page count: scripts/pdf_info.py document.pdf
Split by ranges: scripts/split_pdf.py document.pdf -o sections/ -m ranges -r "1-5,10-15"

### Advanced Usage

For detailed library documentation and advanced patterns, see references/libraries.md.

### Notes

Page numbers are 1-indexed in all scripts (page 1 = first page)
Text extraction works best with text-based PDFs (not scanned images)
Rotation angles: 90, 180, 270, or -90 (counterclockwise)
All scripts validate file existence before processing
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: cmpdchtr
- Version: 0.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-06T20:39:51.887Z
- Expires at: 2026-05-13T20:39:51.887Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/pdf-tools)
- [Send to Agent page](https://openagent3.xyz/skills/pdf-tools/agent)
- [JSON manifest](https://openagent3.xyz/skills/pdf-tools/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/pdf-tools/agent.md)
- [Download page](https://openagent3.xyz/downloads/pdf-tools)