/creative-media-tooling:pdftk-serverfrom creative-media-tooling
Operates PDFtk Server from the command line to merge, split, rotate, encrypt, decrypt, fill forms, flatten, watermark, stamp, extract metadata, burst pages, repair PDFs, attach files, and collate scans.
Ships in creative-media-tooling. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use the pdftk command-line tool to perform PDF merging, splitting, rotation, encryption, decryption, form filling, watermarking, stamping, metadata extraction, repair, attachment, and page manipulation tasks.
PDFtk Server must be installed and available on PATH.
| Platform | Install command |
|---|---|
| Windows | winget install --id PDFLabs.PDFtk.Server |
| macOS | brew install pdftk-java |
| Debian/Ubuntu | sudo apt-get install pdftk |
| Red Hat/Fedora | sudo dnf install pdftk |
Verify with pdftk --version. Use a terminal or command prompt and operate on copies when the command is destructive or the input PDF may be damaged.
| Task | Command |
|---|---|
| Merge PDFs | pdftk file1.pdf file2.pdf cat output merged.pdf |
| Merge with handles | pdftk A=file1.pdf B=file2.pdf cat A B output merged.pdf |
| Split into individual pages | pdftk input.pdf burst |
| Extract pages 1–5 and 10–15 | pdftk input.pdf cat 1-5 10-15 output extracted.pdf |
| Remove page 13 | pdftk input.pdf cat 1-12 14-end output output.pdf |
| Rotate all pages 90 degrees clockwise | pdftk input.pdf cat 1-endeast output rotated.pdf |
| Encrypt with owner and user passwords | pdftk input.pdf output secured.pdf owner_pw mypassword user_pw userpass |
| Decrypt with a known password | pdftk secured.pdf input_pw mypassword output unsecured.pdf |
| Fill and flatten a form | pdftk form.pdf fill_form data.fdf output filled.pdf flatten |
| Apply background watermark | pdftk input.pdf background watermark.pdf output watermarked.pdf |
| Apply foreground stamp overlay | pdftk input.pdf stamp overlay.pdf output stamped.pdf |
| Extract metadata, bookmarks, and page metrics | pdftk input.pdf dump_data output metadata.txt |
| Repair a corrupted PDF | pdftk broken.pdf output fixed.pdf |
| Collate even and odd scans | pdftk A=even.pdf B=odd.pdf shuffle A B output collated.pdf |
| Operation | Rule |
|---|---|
cat | Select and reorder pages; ranges include 1-5, 10-15, 14-end, and rotations such as 1-endeast. |
burst | Writes individual page files in the working directory; choose a clean output folder before running. |
owner_pw / user_pw | Owner password controls permissions; user password controls opening. Avoid exposing passwords in shared shell history. |
input_pw | Required when decrypting or opening protected input. |
fill_form | Use FDF or XFDF data; add flatten when the filled output should not remain editable. |
background | Places a single-page PDF behind every page; works best when the input has transparent regions. |
stamp | Places a single-page PDF on top of every page; use for opaque overlays. |
dump_data | Exports metadata and bookmarks to a text file for inspection or editing workflows. |
shuffle | Interleaves handles, useful for separately scanned even and odd pages. |
| Issue | Likely cause | Resolution |
|---|---|---|
pdftk command not found | PDFtk not installed or not on PATH | Install for the platform and rerun pdftk --version. |
| Cannot decrypt PDF | Wrong owner or user password | Provide the correct password with input_pw. |
| Output file is empty or corrupt | Input corruption or wrong page range | Try pdftk input.pdf output repaired.pdf first and verify ranges. |
| Form fields not visible after fill | Fields remain interactive or viewer hides appearances | Use flatten to merge fields into page content. |
| Watermark not appearing | Background is behind opaque page content | Use stamp for opaque overlays or check transparency. |
| Permission denied | File lock or filesystem permissions | Close PDF viewers and check input/output path permissions. |
references/pdftk-man-page.md: complete manual reference with operations, options, and syntax.references/pdftk-cli-examples.md: practical command-line examples.references/download.md: installation and download instructions.references/pdftk-server-license.md: PDFtk Server license.references/third-party-materials.md: third-party library licenses.### PDFtk result
**Status:** command ready | completed | blocked
**Operation:** merge | split | rotate | encrypt | decrypt | fill-form | watermark | stamp | metadata | repair | attach | extract
**Input:** `<input PDF(s)>`
**Output:** `<output path>`
```bash
<pdftk command>
Validation: <pdftk output, file existence check, or blocker>
## Quality gate
- [ ] `pdftk --version` passes or installation guidance was provided.
- [ ] The command preserves input files and writes to an explicit output path when applicable.
- [ ] Page ranges and handles match the user's requested pages and order.
- [ ] Password-protected operations use `input_pw`, `owner_pw`, or `user_pw` only as needed.
- [ ] Form filling uses `flatten` when the user needs non-editable output.
- [ ] Watermark versus stamp was chosen based on background versus foreground behavior.
- [ ] The output file is verified or the blocking error is reported.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin creative-media-tooling11 skills in this plugin
/adobe-illustrator-scriptingWrite, debug, and optimize Adobe Illustrator automation scripts using ExtendScript (JavaScript/JSX). Use when creating or modifying scripts that manipulate documents, layers, paths, text frames, colors, symbols, artboards, or any Illustrator DOM objects. Covers the complete JavaScript object model, coordinate system, measurement units, export workflows, and scripting best practices./freecad-scriptsWrite FreeCAD Python scripts, macros, parametric FeaturePython objects, Part/Mesh/Sketcher geometry, PySide GUI tools, Coin3D/Pivy scenegraph code, workbench commands, and CAD automation. Use when asked to create FreeCAD models, automate geometry, convert mesh and solid data, script FEM/Path/TechDraw, or debug FreeCAD Python API tasks./game-engineBuild web-based game engines and games with HTML5 Canvas, WebGL, SVG, CSS, and JavaScript. Use when creating 2D or 3D games, implementing game loops, physics, collision detection, sprites, tilemaps, controls, audio, multiplayer with WebRTC or WebSockets, optimization, or publishing workflows./image-manipulation-image-magickProcess and manipulate images using ImageMagick. Supports resizing, format conversion, batch processing, and retrieving image metadata. Use when working with images, creating thumbnails, resizing wallpapers, or performing batch image operations./latchshot-page-captureCapture public HTTP(S) webpages as local PNG, JPEG, or PDF artifacts through Latchshot. Use when the user needs screenshots, website thumbnails, full-page captures, PDFs, QA reports, archives, or social previews. Do not use for private or authenticated pages, raw HTML extraction, scraping, CAPTCHA bypass, arbitrary browser actions, or local-file capture./nano-banana-pro-openrouterGenerate or edit images through OpenRouter with the `google/gemini-3-pro-image-preview` model. Use when prompt-only image generation, single-image edits, multi-image compositing, 1K/2K/4K output, or troubleshooting `OPENROUTER_API_KEY`, `uv`, and saved MEDIA files is requested.Other plugins' skills for the same job