{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/pdftk-server",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pdftk-server",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "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"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/pdftk-server",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "PDFtk Server",
        "body": "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."
      },
      {
        "title": "When to Use This Skill",
        "body": "Merging or joining multiple PDF files into one\nSplitting or bursting a PDF into individual pages\nRotating PDF pages\nEncrypting or decrypting PDF files\nFilling PDF form fields from FDF/XFDF data\nApplying background watermarks or foreground stamps\nExtracting PDF metadata, bookmarks, or form field information\nRepairing corrupted PDF files\nAttaching or extracting files embedded in PDFs\nRemoving specific pages from a PDF\nCollating separately scanned even/odd pages\nCompressing or decompressing PDF page streams"
      },
      {
        "title": "Prerequisites",
        "body": "PDFtk Server must be installed on the system\n\nWindows: winget install --id PDFLabs.PDFtk.Server\nmacOS: brew install pdftk-java\nLinux (Debian/Ubuntu): sudo apt-get install pdftk\nLinux (Red Hat/Fedora): sudo dnf install pdftk\n\n\nAccess to a terminal or command prompt\nVerify installation by running pdftk --version"
      },
      {
        "title": "Merge Multiple PDFs",
        "body": "pdftk file1.pdf file2.pdf cat output merged.pdf\n\nUsing handles for more control:\n\npdftk A=file1.pdf B=file2.pdf cat A B output merged.pdf"
      },
      {
        "title": "Split a PDF into Individual Pages",
        "body": "pdftk input.pdf burst"
      },
      {
        "title": "Extract Specific Pages",
        "body": "Extract pages 1-5 and 10-15:\n\npdftk input.pdf cat 1-5 10-15 output extracted.pdf"
      },
      {
        "title": "Remove Specific Pages",
        "body": "Remove page 13:\n\npdftk input.pdf cat 1-12 14-end output output.pdf"
      },
      {
        "title": "Rotate Pages",
        "body": "Rotate all pages 90 degrees clockwise:\n\npdftk input.pdf cat 1-endeast output rotated.pdf"
      },
      {
        "title": "Encrypt a PDF",
        "body": "Set an owner password and a user password with 128-bit encryption (default):\n\npdftk input.pdf output secured.pdf owner_pw mypassword user_pw userpass"
      },
      {
        "title": "Decrypt a PDF",
        "body": "Remove encryption using the known password:\n\npdftk secured.pdf input_pw mypassword output unsecured.pdf"
      },
      {
        "title": "Fill a PDF Form",
        "body": "Populate form fields from an FDF file and flatten to prevent further edits:\n\npdftk form.pdf fill_form data.fdf output filled.pdf flatten"
      },
      {
        "title": "Apply a Background Watermark",
        "body": "Place a single-page PDF behind every page of the input (input should have transparency):\n\npdftk input.pdf background watermark.pdf output watermarked.pdf"
      },
      {
        "title": "Stamp an Overlay",
        "body": "Place a single-page PDF on top of every page of the input:\n\npdftk input.pdf stamp overlay.pdf output stamped.pdf"
      },
      {
        "title": "Extract Metadata",
        "body": "Export bookmarks, page metrics, and document information:\n\npdftk input.pdf dump_data output metadata.txt"
      },
      {
        "title": "Repair a Corrupted PDF",
        "body": "Pass a broken PDF through pdftk to attempt automatic repair:\n\npdftk broken.pdf output fixed.pdf"
      },
      {
        "title": "Collate Scanned Pages",
        "body": "Interleave separately scanned even and odd pages:\n\npdftk A=even.pdf B=odd.pdf shuffle A B output collated.pdf"
      },
      {
        "title": "Troubleshooting",
        "body": "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"
      },
      {
        "title": "References",
        "body": "Bundled reference documents in the references/ folder:\n\npdftk-man-page.md - Complete manual reference with all operations, options, and syntax\npdftk-cli-examples.md - Practical command-line examples for common tasks\ndownload.md - Installation and download instructions for all platforms\npdftk-server-license.md - PDFtk Server licensing information\nthird-party-materials.md - Third-party library licenses"
      }
    ],
    "body": "PDFtk Server\n\nPDFtk 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.\n\nWhen to Use This Skill\nMerging or joining multiple PDF files into one\nSplitting or bursting a PDF into individual pages\nRotating PDF pages\nEncrypting or decrypting PDF files\nFilling PDF form fields from FDF/XFDF data\nApplying background watermarks or foreground stamps\nExtracting PDF metadata, bookmarks, or form field information\nRepairing corrupted PDF files\nAttaching or extracting files embedded in PDFs\nRemoving specific pages from a PDF\nCollating separately scanned even/odd pages\nCompressing or decompressing PDF page streams\nPrerequisites\nPDFtk Server must be installed on the system\nWindows: winget install --id PDFLabs.PDFtk.Server\nmacOS: brew install pdftk-java\nLinux (Debian/Ubuntu): sudo apt-get install pdftk\nLinux (Red Hat/Fedora): sudo dnf install pdftk\nAccess to a terminal or command prompt\nVerify installation by running pdftk --version\nStep-by-Step Workflows\nMerge Multiple PDFs\npdftk file1.pdf file2.pdf cat output merged.pdf\n\n\nUsing handles for more control:\n\npdftk A=file1.pdf B=file2.pdf cat A B output merged.pdf\n\nSplit a PDF into Individual Pages\npdftk input.pdf burst\n\nExtract Specific Pages\n\nExtract pages 1-5 and 10-15:\n\npdftk input.pdf cat 1-5 10-15 output extracted.pdf\n\nRemove Specific Pages\n\nRemove page 13:\n\npdftk input.pdf cat 1-12 14-end output output.pdf\n\nRotate Pages\n\nRotate all pages 90 degrees clockwise:\n\npdftk input.pdf cat 1-endeast output rotated.pdf\n\nEncrypt a PDF\n\nSet an owner password and a user password with 128-bit encryption (default):\n\npdftk input.pdf output secured.pdf owner_pw mypassword user_pw userpass\n\nDecrypt a PDF\n\nRemove encryption using the known password:\n\npdftk secured.pdf input_pw mypassword output unsecured.pdf\n\nFill a PDF Form\n\nPopulate form fields from an FDF file and flatten to prevent further edits:\n\npdftk form.pdf fill_form data.fdf output filled.pdf flatten\n\nApply a Background Watermark\n\nPlace a single-page PDF behind every page of the input (input should have transparency):\n\npdftk input.pdf background watermark.pdf output watermarked.pdf\n\nStamp an Overlay\n\nPlace a single-page PDF on top of every page of the input:\n\npdftk input.pdf stamp overlay.pdf output stamped.pdf\n\nExtract Metadata\n\nExport bookmarks, page metrics, and document information:\n\npdftk input.pdf dump_data output metadata.txt\n\nRepair a Corrupted PDF\n\nPass a broken PDF through pdftk to attempt automatic repair:\n\npdftk broken.pdf output fixed.pdf\n\nCollate Scanned Pages\n\nInterleave separately scanned even and odd pages:\n\npdftk A=even.pdf B=odd.pdf shuffle A B output collated.pdf\n\nTroubleshooting\nIssue\tSolution\npdftk command not found\tVerify installation; check that pdftk is in your system PATH\nCannot decrypt PDF\tEnsure you are providing the correct owner or user password via input_pw\nOutput file is empty or corrupt\tCheck input file integrity; try running pdftk input.pdf output repaired.pdf first\nForm fields not visible after fill\tUse the flatten flag to merge fields into the page content\nWatermark not appearing\tEnsure the input PDF has transparent regions; use stamp for opaque overlays\nPermission denied errors\tCheck file permissions on input and output paths\nReferences\n\nBundled reference documents in the references/ folder:\n\npdftk-man-page.md - Complete manual reference with all operations, options, and syntax\npdftk-cli-examples.md - Practical command-line examples for common tasks\ndownload.md - Installation and download instructions for all platforms\npdftk-server-license.md - PDFtk Server licensing information\nthird-party-materials.md - Third-party library licenses"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/jhauga/pdftk-server",
    "publisherUrl": "https://clawhub.ai/jhauga/pdftk-server",
    "owner": "jhauga",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}