# Send Stirling PDF to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "stirling-pdf",
    "name": "Stirling PDF",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/angusthefuzz/stirling-pdf",
    "canonicalUrl": "https://clawhub.ai/angusthefuzz/stirling-pdf",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/stirling-pdf",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=stirling-pdf",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/pdf.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "stirling-pdf",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-09T12:29:40.276Z",
      "expiresAt": "2026-05-16T12:29:40.276Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=stirling-pdf",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=stirling-pdf",
        "contentDisposition": "attachment; filename=\"stirling-pdf-1.0.4.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "stirling-pdf"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/stirling-pdf"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/stirling-pdf",
    "downloadUrl": "https://openagent3.xyz/downloads/stirling-pdf",
    "agentUrl": "https://openagent3.xyz/skills/stirling-pdf/agent",
    "manifestUrl": "https://openagent3.xyz/skills/stirling-pdf/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/stirling-pdf/agent.md"
  }
}
```
## Documentation

### Stirling-PDF Skill

Self-hosted PDF manipulation platform with 60+ tools via REST API.

### Configuration

Set these environment variables:

STIRLING_PDF_URL — Your Stirling-PDF instance URL (default: http://localhost:8080)
STIRLING_API_KEY — API key if authentication is enabled

### Docs

Official docs: https://docs.stirlingpdf.com
Swagger UI: <your-instance>/swagger-ui/index.html on your deployment

### Quick Commands

# Use the wrapper script
node ~/.openclaw/skills/stirling-pdf/scripts/pdf.js <operation> [options]

# Examples:
node pdf.js merge file1.pdf file2.pdf -o merged.pdf
node pdf.js split input.pdf -o ./output-dir
node pdf.js compress input.pdf -o compressed.pdf
node pdf.js ocr input.pdf -o searchable.pdf
node pdf.js convert-to-pdf document.docx -o output.pdf
node pdf.js pdf-to-word input.pdf -o output.docx
node pdf.js add-watermark input.pdf "DRAFT" -o watermarked.pdf

### Page Operations

merge - Combine multiple PDFs
split - Split PDF into parts
rotate - Rotate pages
extract-pages - Extract specific pages
reorder - Reorganize pages

### Conversion

convert-to-pdf - Word, Excel, Images, HTML → PDF
pdf-to-word - PDF → Word
pdf-to-image - PDF → Images
pdf-to-text - Extract text

### Content

compress - Reduce file size
ocr - Make scanned PDFs searchable
add-watermark - Add text/image watermark
add-stamp - Add stamp
redact - Remove sensitive content
sign - Add signature

### Security

add-password - Password protect
remove-password - Remove password
sanitize - Remove metadata/scripts

### Direct API Usage

For operations not covered by the script, call the API directly:

curl -X POST "$STIRLING_PDF_URL/api/v1/general/merge-pdfs" \\
  -H "X-API-KEY: $STIRLING_API_KEY" \\
  -H "Content-Type: multipart/form-data" \\
  -F "fileInput=@file1.pdf" \\
  -F "fileInput=@file2.pdf" \\
  -o merged.pdf

Check Swagger UI at <your-instance>/swagger-ui/index.html for all endpoints.

### Common Endpoints

OperationEndpointMerge/api/v1/general/merge-pdfsSplit/api/v1/general/split-pagesCompress/api/v1/misc/compress-pdfOCR/api/v1/misc/ocr-pdfPDF to Image/api/v1/convert/pdf/imgImage to PDF/api/v1/convert/img/pdfAdd Watermark/api/v1/security/add-watermarkAdd Password/api/v1/security/add-password

### Notes

Most endpoints use POST with multipart/form-data
File input parameter is usually fileInput
Response is the processed PDF file
Check Swagger UI for exact parameters per operation
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: angusthefuzz
- Version: 1.0.4
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-09T12:29:40.276Z
- Expires at: 2026-05-16T12:29:40.276Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/stirling-pdf)
- [Send to Agent page](https://openagent3.xyz/skills/stirling-pdf/agent)
- [JSON manifest](https://openagent3.xyz/skills/stirling-pdf/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/stirling-pdf/agent.md)
- [Download page](https://openagent3.xyz/downloads/stirling-pdf)