# Send pdftk Server 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. 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. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "pdftk-server",
    "name": "pdftk Server",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/jhauga/pdftk-server",
    "canonicalUrl": "https://clawhub.ai/jhauga/pdftk-server",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/pdftk-server",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pdftk-server",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "references/download.md",
      "references/pdftk-cli-examples.md",
      "references/pdftk-man-page.md",
      "references/pdftk-server-license.md",
      "references/third-party-materials.md",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "pdftk-server",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-12T12:52:21.087Z",
      "expiresAt": "2026-05-19T12:52:21.087Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pdftk-server",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pdftk-server",
        "contentDisposition": "attachment; filename=\"pdftk-server-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "pdftk-server"
      },
      "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/pdftk-server"
    },
    "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/pdftk-server",
    "downloadUrl": "https://openagent3.xyz/downloads/pdftk-server",
    "agentUrl": "https://openagent3.xyz/skills/pdftk-server/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pdftk-server/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pdftk-server/agent.md"
  }
}
```
## Documentation

### PDFtk Server

PDFtk Server is a command-line tool for working with PDF documents. It can merge, split, rotate, encrypt, decrypt, watermark, stamp, fill forms, extract metadata, and manipulate PDFs in a variety of ways.

### When to Use This Skill

Merging or joining multiple PDF files into one
Splitting or bursting a PDF into individual pages
Rotating PDF pages
Encrypting or decrypting PDF files
Filling PDF form fields from FDF/XFDF data
Applying background watermarks or foreground stamps
Extracting PDF metadata, bookmarks, or form field information
Repairing corrupted PDF files
Attaching or extracting files embedded in PDFs
Removing specific pages from a PDF
Collating separately scanned even/odd pages
Compressing or decompressing PDF page streams

### Prerequisites

PDFtk Server must be installed on the system

Windows: winget install --id PDFLabs.PDFtk.Server
macOS: brew install pdftk-java
Linux (Debian/Ubuntu): sudo apt-get install pdftk
Linux (Red Hat/Fedora): sudo dnf install pdftk


Access to a terminal or command prompt
Verify installation by running pdftk --version

### Merge Multiple PDFs

pdftk file1.pdf file2.pdf cat output merged.pdf

Using handles for more control:

pdftk A=file1.pdf B=file2.pdf cat A B output merged.pdf

### Split a PDF into Individual Pages

pdftk input.pdf burst

### Extract Specific Pages

Extract pages 1-5 and 10-15:

pdftk input.pdf cat 1-5 10-15 output extracted.pdf

### Remove Specific Pages

Remove page 13:

pdftk input.pdf cat 1-12 14-end output output.pdf

### Rotate Pages

Rotate all pages 90 degrees clockwise:

pdftk input.pdf cat 1-endeast output rotated.pdf

### Encrypt a PDF

Set an owner password and a user password with 128-bit encryption (default):

pdftk input.pdf output secured.pdf owner_pw mypassword user_pw userpass

### Decrypt a PDF

Remove encryption using the known password:

pdftk secured.pdf input_pw mypassword output unsecured.pdf

### Fill a PDF Form

Populate form fields from an FDF file and flatten to prevent further edits:

pdftk form.pdf fill_form data.fdf output filled.pdf flatten

### Apply a Background Watermark

Place a single-page PDF behind every page of the input (input should have transparency):

pdftk input.pdf background watermark.pdf output watermarked.pdf

### Stamp an Overlay

Place a single-page PDF on top of every page of the input:

pdftk input.pdf stamp overlay.pdf output stamped.pdf

### Extract Metadata

Export bookmarks, page metrics, and document information:

pdftk input.pdf dump_data output metadata.txt

### Repair a Corrupted PDF

Pass a broken PDF through pdftk to attempt automatic repair:

pdftk broken.pdf output fixed.pdf

### Collate Scanned Pages

Interleave separately scanned even and odd pages:

pdftk A=even.pdf B=odd.pdf shuffle A B output collated.pdf

### Troubleshooting

IssueSolutionpdftk command not foundVerify installation; check that pdftk is in your system PATHCannot decrypt PDFEnsure you are providing the correct owner or user password via input_pwOutput file is empty or corruptCheck input file integrity; try running pdftk input.pdf output repaired.pdf firstForm fields not visible after fillUse the flatten flag to merge fields into the page contentWatermark not appearingEnsure the input PDF has transparent regions; use stamp for opaque overlaysPermission denied errorsCheck file permissions on input and output paths

### References

Bundled reference documents in the references/ folder:

pdftk-man-page.md - Complete manual reference with all operations, options, and syntax
pdftk-cli-examples.md - Practical command-line examples for common tasks
download.md - Installation and download instructions for all platforms
pdftk-server-license.md - PDFtk Server licensing information
third-party-materials.md - Third-party library licenses
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: jhauga
- Version: 1.0.1
## 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-12T12:52:21.087Z
- Expires at: 2026-05-19T12:52:21.087Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/pdftk-server)
- [Send to Agent page](https://openagent3.xyz/skills/pdftk-server/agent)
- [JSON manifest](https://openagent3.xyz/skills/pdftk-server/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/pdftk-server/agent.md)
- [Download page](https://openagent3.xyz/downloads/pdftk-server)