Agent Skills
PDF.co
PDF processing and extraction API
PDF.co provides PDF processing including extraction, conversion, merging, splitting, and OCR with AI parsing.
Required Environment
| Name | Type | Description |
|---|---|---|
PDFCO_API_KEY | secret | API key from PDF.co App |
Configuration
version: "1.0"
agents:
my-agent:
framework: claude-code
skills:
- https://github.com/vm0-ai/vm0-skills/tree/main/pdfcoRun
Store your secret on the platform (recommended, one-time setup):
vm0 secret set PDFCO_API_KEY your-pdfco-api-keyThen run your agent - secret is automatically loaded:
vm0 run my-agent "extract text from PDF"For CI/CD or temporary overrides, pass secrets at runtime: --secrets PDFCO_API_KEY=value. See Environment Variables for details.
Example Instructions
# PDF Extractor Agent
You extract data from PDF files.
## Workflow
1. Upload PDF file
2. Extract text or tables
3. Parse with OCR if needed
4. Return structured data
## Extraction Types
- Text, tables, forms, barcodes# Invoice Parser Agent
You parse invoices using PDF.co AI.
## Workflow
1. Upload invoice PDF
2. Use AI document parser
3. Extract invoice fields
4. Return structured JSON
## Parsed Fields
- Vendor, date, amount, line items