Self-hosted REST API for comprehensive PDF manipulation including merge, split, convert, OCR, compress, sign, redact, and secure PDFs.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install stirling-pdf或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install stirling-pdf⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/stirling-pdf/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: stirling-pdf description: PDF manipulation via Stirling-PDF API. Merge, split, convert, OCR, compress, sign, redact, and more. Self-hosted. metadata: openclaw: emoji: 📄 requires: bins: [node, curl] env: { STIRLING_PDF_URL: "http://localhost:8080", STIRLING_API_KEY: "", } ---
Self-hosted PDF manipulation platform with 60+ tools via REST API.
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/swagger-ui/index.html on your deployment# 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
merge - Combine multiple PDFssplit - Split PDF into partsrotate - Rotate pagesextract-pages - Extract specific pagesreorder - Reorganize pagesconvert-to-pdf - Word, Excel, Images, HTML → PDFpdf-to-word - PDF → Wordpdf-to-image - PDF → Imagespdf-to-text - Extract textcompress - Reduce file sizeocr - Make scanned PDFs searchableadd-watermark - Add text/image watermarkadd-stamp - Add stampredact - Remove sensitive contentsign - Add signatureadd-password - Password protectremove-password - Remove passwordsanitize - Remove metadata/scriptsFor 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 "[email protected]" \
-F "[email protected]" \
-o merged.pdf
Check Swagger UI at for all endpoints.
| Operation | Endpoint | |-----------|----------| | Merge | /api/v1/general/merge-pdfs | | Split | /api/v1/general/split-pages | | Compress | /api/v1/misc/compress-pdf | | OCR | /api/v1/misc/ocr-pdf | | PDF to Image | /api/v1/convert/pdf/img | | Image to PDF | /api/v1/convert/img/pdf | | Add Watermark | /api/v1/security/add-watermark | | Add Password | /api/v1/security/add-password |
fileInput安装 Stirling PDF 后,可以对 AI 说这些话来触发它
Help me get started with Stirling PDF
Explains what Stirling PDF does, walks through the setup, and runs a quick demo based on your current project
Use Stirling PDF to self-hosted REST API for comprehensive PDF manipulation including m...
Invokes Stirling PDF with the right parameters and returns the result directly in the conversation
What can I do with Stirling PDF in my documents & notes workflow?
Lists the top use cases for Stirling PDF, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/stirling-pdf/ 目录(个人级,所有项目可用),或 .claude/skills/stirling-pdf/(项目级)。重启 AI 客户端后,用 /stirling-pdf 主动调用,或让 AI 根据上下文自动发现并使用。
Stirling PDF 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Stirling PDF 可免费安装使用。请查阅仓库了解许可证信息。
Self-hosted REST API for comprehensive PDF manipulation including merge, split, convert, OCR, compress, sign, redact, and secure PDFs.
Stirling PDF 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Stirling PDF
Identifies repetitive steps in your workflow and sets up Stirling PDF to handle them automatically