pdf-tools-compdflisted
Install: claude install-skill ComPDFKit/compdf-skills
# PDF Toolkit
Process PDF files through ComPDF Cloud REST API. Supports 50+ document processing operations.
Official documentation: <https://api.compdf.com/api-reference/overview>
## When to Run
- User requests to convert file format (e.g., "convert this PDF to Word", "convert Excel to PDF")
- User requests to edit PDF pages (e.g., "merge these two PDFs", "delete page 3", "rotate PDF")
- User requests to add or remove watermarks from PDF
- User requests to compress PDF files
- User requests OCR recognition of scanned documents or text in images
- User requests AI extraction or parsing of document content
- User requests to extract tables from images
- User requests batch processing of multiple document files
- User requests to compare differences between two PDF documents
- User mentions ComPDF, compdf, or related keywords
## Workflow
### Step 1 — Obtain API Key
Check whether `config/public_key.txt` exists and contains a non-empty value.
- **If the file exists and is non-empty**: use the stored key (trim whitespace).
- **If the file is missing or empty**: ask the user for their ComPDF API Public Key. Inform them it can be obtained at <https://api-dashboard.compdf.com/api/keys>. After the user provides the key, ask whether they would like to save it locally for future sessions.
- If the user agrees, write the key to `config/public_key.txt`.
- If the user declines, use the key for the current session only without saving.
> The key file is **not included in the publ