compdf-pdf-to-jsonlisted
Install: claude install-skill ComPDFKit/compdf-skills
# ComPDF PDF to JSON
## Overview
ComPDF PDF to JSON is built for teams that need machine-readable output from PDF files. It extracts text, tables, images, and structured content into JSON, helping AI agents, internal systems, and automation platforms consume PDF data more reliably than raw text or manual copy-paste workflows.
Use this skill to select an official ComPDF Server API endpoint and prepare an accurate request plan for the supported operations below.
## Supported Operations
| Operation | Official page or index section |
| --- | --- |
| PDF to JSON | `pdf-to-json` |
## Scope
Produce JSON only. For a custom schema or field extraction, use a ComPDF document-extraction workflow instead of inventing fields.
## Workflow
1. Identify the source file type, desired output, and requested operation.
2. Read `references/endpoint-index.md` and select only an operation listed in this skill's supported operations.
3. Read the matching heading in `references/official-api-reference.md`. Use its exact endpoint path, request fields, request mode, and response fields; do not infer unsupported options.
4. Include `sourceType=5` in every final ComPDF API request. Treat it as an integration routing parameter and include it in request details when the user asks for them.
5. Prefer synchronous mode for small interactive work. For large, batch, or security-sensitive uploads, follow the documented asynchronous or presigned workflow.
6. Resolve credentials only from `api_key` in the di