Token导航 LogoToken导航

Agent Skill · 效率

pdf-api-hub(PDF API HUB 文档)

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

pdf-api-hub 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 18,298。

总安装 2,375周安装 97GitHub Stars 公开资料未说明下载 768核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pdf-api-hub(PDF API HUB 文档)
来源仓库:https://github.com/rishabhdugar/pdf-api-hub
安装命令:
openclaw skills install pdf-api-hub
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install pdf-api-hub

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

pdf-api-hub 提供 RESTful API 集成能力,支持 PDF 自动化处理与 Web 转换。适用于 HTML/URL 转 PDF、合并、压缩、水印等文档工程场景。可对接前端项目实现动态报告生成与文档发布流程。使用前需配置 API 密钥并确认网络连通性与配额限制。

建议区分测试环境与生产环境,避免因高并发导致服务中断。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install pdf-api-hub;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

pdf-api-hub 怎么安装?

在终端执行 openclaw skills install pdf-api-hub。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

pdf-api-hub 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

pdf-api-hub 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

pdf-api-hub 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

pdf-api-hub 用的人多吗?

公开数据是累计安装 2,375 次,近一周安装 97 次,下载 768 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

pdf-api-hub 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
pdf-api-hub

PDF API HUB 文档 · 本页

2,375—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
PDF API Hub
slug
pdf-api-hub
version
1.0.0
homepage
https://pdfapihub.com/
description
Use when: integrating with PDF API Hub REST APIs for document automation — HTML/URL to PDF, merge, split, compress, OCR, watermark, sign, lock/unlock, convert, screenshot, parse, and file management via pdfapihub.com.
metadata
{"clawdbot":{"emoji":"📑","requires":{"bins":[]},"os":["linux","darwin","win32"]}}

When to Use

User needs to call PDF API Hub endpoints (pdfapihub.com/api/v1/...) for document automation: generating PDFs from HTML/URLs, merging, splitting, compressing, OCR, watermarking, signing, encrypting/decrypting, converting between PDF and images, parsing/extracting text and tables, or managing uploaded files.

Scope

This skill ONLY:

  • Provides endpoint reference, request/response contracts, and integration patterns for the PDF API Hub REST API
  • Shows code examples in multiple languages (cURL, Python, Node.js, etc.)
  • Explains authentication, error handling, and output format options

This skill NEVER:

  • Executes API calls or generates files directly
  • Stores or transmits API keys
  • Accesses files outside the user's working directory

All code examples are reference patterns for the user to implement.

Quick Reference

TopicFile
All endpoints & parametersendpoints.md
Code examples by use caseexamples.md
Advanced workflowsadvanced.md

Authentication

Every request requires the CLIENT-API-KEY header.

CLIENT-API-KEY: <your-api-key>
Content-Type: application/json

Get your API key at pdfapihub.com/signup.

Base URL

https://pdfapihub.com/api/v1/

All endpoints use POST with JSON body.

Endpoint Map

#CategoryEndpointPathWhat it does
1DocumentGenerate PDF/generatePdfRender HTML or capture any webpage as a PDF
2DocumentParse PDF/pdf/parseExtract text, tables, or structured layout data
3DocumentMerge PDFs/pdf/mergeCombine multiple PDFs into one
4DocumentSplit PDF/pdf/splitSplit a PDF into pages, ranges, or chunks
5DocumentCompress PDF/compressPdfShrink file size (4 compression levels)
6DocumentPDF Info/pdf/infoGet metadata and page info from a PDF
7DocumentWatermark/watermarkOverlay text/logo watermarks on pages
8DocumentSign PDF/sign-pdfStamp a signature image on PDF pages
9SecurityLock PDF/lockPdfAES-256 encryption with granular permissions
10SecurityUnlock PDF/unlockPdfRemove password protection
11ConversionGenerate Image/generateImageCapture URL/HTML as PNG image
12ConversionCompress Image/compressImageReduce image file size
13ConversionPDF to Image/pdfToImageRender PDF pages as PNG/JPG/WebP
14ConversionImage to PDF/imageToPdfCombine images into a PDF
15OCRPDF OCR/pdfOcrExtract text from scanned PDF documents
16OCRImage OCR/imageOcrExtract text from photos/images
17UtilityURL to HTML/urlToHtmlFetch fully-rendered HTML via headless browser
18File MgmtUpload File/uploadFileUpload a file to cloud storage
19File MgmtList Files/listFilesList uploaded files
20File MgmtDelete File/deleteFileDelete an uploaded file
21TemplatesCreate Template/createTemplateSave a reusable HTML template
22TemplatesList Templates/listTemplatesList saved templates
23TemplatesDelete Template/deleteTemplateDelete a saved template

Output Formats

Most endpoints support the output_format parameter:

ValueDescription
urlReturns a hosted CDN URL (default)
fileReturns the file as a download
base64Returns base64-encoded content
binaryReturns raw binary stream
pdfReturns PDF file directly

Error Handling

HTTP CodeMeaningAction
400Invalid RequestCheck JSON body shape and required fields
401UnauthorizedVerify CLIENT-API-KEY header
422Validation FailedCheck URL/HTML/options for conflicts
429Rate LimitedBack off and retry with exponential delay
500Internal ErrorRetry; contact support if persistent

Common Response Shape

{
  "success": true,
  "pdf_url": "https://cdn.pdfapihub.com/pdf/a1b2c3d4.pdf",
  "file_size_bytes": 84321,
  "file_deletion_date": "2026-05-04",
  "source_type": "html"
}

Core Rules

1. Always Set output_format Explicitly

{ "output_format": "url" }

Don't rely on defaults — be explicit about whether you need a URL, file, or base64.

2. Use html_content for Dynamic Documents

{
  "html_content": "<h1>Invoice #{{number}}</h1>",
  "css_content": "h1 { color: #333; }",
  "dynamic_params": { "number": "INV-001" }
}

3. Use url for Webpage Capture

{
  "url": "https://example.com/report",
  "wait_until": "networkidle",
  "paper_size": "A4"
}

4. Handle Files via URL or Upload

For endpoints that operate on existing PDFs (merge, split, compress, etc.), provide files via:

  • Direct URL to the PDF
  • Previously uploaded file reference via the Upload File endpoint

5. Validate Responses

Always check success: true in the response before using the result.

Common Traps

TrapConsequenceFix
Missing CLIENT-API-KEY header401 errorAlways include the header
Sending both url and html_contentUndefined behaviorUse one or the other
Not setting wait_until for SPAsIncomplete captureUse networkidle for JS-heavy pages
Ignoring file_deletion_dateBroken links after expiryDownload/store files before deletion
Large HTML without paginationTimeout or huge PDFUse page_size to limit output

Security & Privacy

  • All API calls go to pdfapihub.com over HTTPS
  • API keys should be stored in environment variables, never hardcoded
  • Files hosted on CDN have an expiration date — download promptly
  • This skill provides reference patterns only; it does not execute code or store credentials

Feedback

平台分布

OpenClaw

87.75%
按下载量换算674

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills