Command-line PDF manipulation covering merging, splitting, encryption, form filling, watermarking, and metadata extraction.
Works with
Supports 12+ operations including merge, split, rotate, encrypt/decrypt, burst, stamp, watermark, and repair
Fill PDF forms from FDF/XFDF data with optional flattening to lock filled fields
Extract and manipulate metadata, bookmarks, and embedded files; collate separately scanned pages
Cross-platform installation via package managers (Windows, macOS, Linux) w
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionpdftk-serverExecute the skills CLI command in your project's root directory to begin installation:
Fetches pdftk-server from github/awesome-copilot and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate pdftk-server. Access via /pdftk-server in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
28.7K
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
28.7K
stars
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.
winget install --id PDFLabs.PDFtk.Serverbrew install pdftk-javasudo apt-get install pdftksudo dnf install pdftkpdftk --versionpdftk 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
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
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
Remove encryption using the known password:
pdftk secured.pdf input_pw mypassword output unsecured.pdf
Populate form fields from an FDF file and flatten to prevent further edits:
pdftk form.pdf fill_form data.fdf output filled.pdf flatten
Place a single-page PDF behind every page of the input (input should have transparency):
pdftk input.pdf background watermark.pdf output watermarked.pdf
Place a single-page PDF on top of every page of the input:
pdftk input.pdf stamp overlay.pdf output stamped.pdf
Export bookmarks, page metrics, and document information:
pdftk input.pdf dump_data output metadata.txt
Pass a broken PDF through pdftk to attempt automatic repair:
pdftk broken.pdf output fixed.pdf
Interleave separately scanned even and odd pages:
pdftk A=even.pdf B=odd.pdf shuffle A B output collated.pdf
| Issue | Solution |
|---|---|
pdftk command not found |
Verify installation; check that pdftk is in your system PATH |
| Cannot decrypt PDF | Ensure you are providing the correct owner or user password via input_pw |
| Output file is empty or corrupt | Check input file integrity; try running pdftk input.pdf output repaired.pdf first |
| Form fields not visible after fill | Use the flatten flag to merge fields into the page content |
| Watermark not appearing | Ensure the input PDF has transparent regions; use stamp for opaque overlays |
| Permission denied errors | Check file permissions on input and output paths |
Bundled reference documents in the references/ folder:
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
github/awesome-copilot
github/awesome-copilot
github/awesome-copilot
github/awesome-copilot
jwynia/agent-skills
mindrally/skills
We added pdftk-server from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
pdftk-server fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
I recommend pdftk-server for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Keeps context tight: pdftk-server is the kind of skill you can hand to a new teammate without a long onboarding doc.
pdftk-server is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Useful defaults in pdftk-server — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
pdftk-server is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Keeps context tight: pdftk-server is the kind of skill you can hand to a new teammate without a long onboarding doc.
Registry listing for pdftk-server matched our evaluation — installs cleanly and behaves as described in the markdown.
Keeps context tight: pdftk-server is the kind of skill you can hand to a new teammate without a long onboarding doc.
showing 1-10 of 42