All skills
github avatar

/pdftk-server

@7953993 official
by githubgithub/awesome-copilot40k stars
5,040

Skill for using the command-line tool pdftk (PDFtk Server) for working with PDF files. Use when asked to merge PDFs, split PDFs, rotate pages, encrypt or decrypt PDFs, fill PDF forms, apply watermarks, stamp overlays, extract metadata, burst documents into pages, repair corrupted PDFs, attach or extract files, or perform any PDF manipulation from the command line.

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/pdftk-server

This session only. Nothing lands on disk.

referencesthird-party-materials.md

≈2.3k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Third-Party Materials

PDFtk Server (pdftk) uses third-party libraries. Depending on the target operating system, some of these are linked or distributed with pdftk. These are their licensing terms.

GCC libgcj

The libgcj library is licensed under the terms of the GNU General Public License.

Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination.

As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

Click to read the GNU General Public License Version 2.

Libgcj is part of GCC, so you can find its source code in the GCC source code.

GCC libgcc and libstdc++

GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation.

Click to read the GNU General Public License Version 3.

Click to read the GCC Runtime Library Exception Version 3.1.

Libgcc and libstdc++ are part of GCC, so you can find their source code in the GCC source code.

GNU Classpath

GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination.

As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

Click to read the GNU General Public License Version 2.

Classpath is part of GCC, so you can find its source code in the GCC source code.

Bouncy Castle

The Bouncy Castle License

Copyright (c) 2000-2008 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Download the Bouncy Castle source code from: http://www.bouncycastle.org/.

iText (itext-paulo)

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

Click to read the GNU Library General Public License Version 2.

The iText source code used in pdftk is slightly modified from its original version. This modified version is included with the pdftk source code.

MinGW Runtimes (Windows Only)

MinGW runtime: The MinGW base runtime package has been placed in the public domain, and is not governed by copyright. This basically means that you can do what you like with the code.

w32api: You are free to use, modify and copy this package. No restrictions are imposed on programs or object files linked with this library. You may not restrict the usage of this library. You may distribute this library as part of another package or as a modified package if, and only if, you do not restrict the usage of the portions consisting of this (optionally modified) library. If distributed as a modified package, then a copy of this notice must be included.

This library is distributed in the hope that it will be useful, but WITHOUT WARRANTY OF ANY KIND; without even the implied warranties of MERCHANTABILITY or of FITNESS FOR A PARTICULAR PURPOSE.

Download the MinGW runtime source code from: http://mingw.org/.

Libiconv

The GNU LIBICONV Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

The GNU LIBICONV Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

Click to read the GNU Library General Public License.

Download the libiconv source code from: http://www.gnu.org/software/libiconv/

Apache Batik

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Click to read the Apache License Version 2.0.

Click to read the Apache Batik NOTICE file.

Download the Apache Batik source code from: http://xmlgraphics.apache.org/batik/.

Source: SKILL.md on GitHub

1 warning16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill provides comprehensive instructions for using the pdftk command-line tool to manipulate PDF files. It includes standard installation procedures for multiple operating systems and guides for common tasks like merging, splitting, and encrypting PDFs. While it involves processing external PDF documents and executing commands, these activities are central to the tool's legitimate purpose and are documented safely using illustrative examples.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    6/6 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 7953993. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 8 months ago
  • CLI
  • pdftk
  • pdf
  • command-line
  • merge
  • encryption
  • forms
  • watermark

README badge

README badge for github/awesome-copilot/pdftk-server

Wraps the pdftk command-line tool for PDF manipulation tasks like merging, splitting, rotating, encrypting, decrypting, filling forms, watermarking, and extracting metadata. Use this skill when you need to perform batch PDF operations from the command line without a GUI tool.

Generated from the current SKILL.md.

Does pdftk work on Windows, macOS, and Linux?
Yes. Installation differs by platform: Windows uses winget, macOS uses Homebrew (pdftk-java), and Linux uses apt or dnf depending on the distribution.
Can this skill encrypt and decrypt PDFs?
Yes. You can encrypt with owner and user passwords using the owner_pw and user_pw flags, and decrypt by providing the password with input_pw.
Does this handle PDF form filling?
Yes. You can populate form fields from FDF/XFDF data files and flatten the result to prevent further edits.
Can I repair corrupted PDF files?
Yes. Running pdftk on a broken PDF and writing the output often repairs corruption automatically.
What is required to use this skill?
PDFtk Server must be installed on your system and accessible from the command line. Verify installation by running pdftk --version.

Generated from the current SKILL.md. These answers refresh after source changes.