PDF合并拆分转换处理

SKILL效率

原名 YeahPDF · 标识 yeahpdf

效率 未标注权限 许可证不明确
安装这个技能

用YeahPDF处理PDF的合并、拆分、格式转换、加密解密、签名水印、页码旋转裁剪压缩等常见操作,走包内脚本即可运行。

一句话选型结论

按资料字段整理

PDF合并拆分转换处理是效率类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类效率 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_c5b3993b/yeahpdf
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

效率
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_c5b3993b仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验2026-11-06上游最后核验时间 · 数据更新 2026-11-06
正文体量13.4 KBSKILL.md 原文大小,越大说明说明书写得越细

能做什么

0 项能力
上游给出的能力概览与适用场景
合并拆分PDF文件PDF转Word或图片加水印与加密解密

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
整理待办与日程

把零散任务收进清单,排出优先级。

批量处理重复任务

把固定动作做成模板,重复执行。

把流程写成清单

把口头流程整理成可复用的步骤。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在效率场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
PDF合并拆分转换处理当前 未标注权限 未标注 未标注 未标注 有
Nano PDF 文档 联网访问 ClawHub 市场 424.9 万 OpenClaw 有
自动更新程序 浏览器控制 ClawHub 市场 296.4 万 OpenClaw 有
Gemini 助手 联网访问 ClawHub 市场 254.7 万 OpenClaw 有
word DOCX 文档 联网访问 ClawHub 市场 239.6 万 OpenClaw 有
Excel XLSX 前端 联网访问 ClawHub 市场 227.0 万 OpenClaw 有

SKILL.md 全文

13.4 KB
模型实际读到的说明书原文,来自技能仓库

YeahPDF

After doctor, pick one runner for the rest of this conversation. Do not mix. Do not upload PDF bytes as an HTTP body. Do not invent /api/v1 curl for processing.

  • Node 18+ ready (node scripts/ypdf.mjs doctor → status=ready): copy the Node column. No native CLI needed.
  • Native CLI ready: copy the CLI column. If PATH lacks ypdf, run the binary= path doctor printed.

Before the first merge/convert/job in this conversation, run setup. If doctor already printed status=ready in this conversation, do not run doctor again before every job. Re-run doctor only when the runner is missing, quota fails, or the CLI reports 1101. Guest (no API key) is fine: ready does not mean the user logged in.

1. Check environment

From this skill directory, prefer the bundled Node runner (WorkBuddy has Node):

node scripts/ypdf.mjs doctor
Exit Meaning Next
0 status=ready (Node 18+ and quota succeeded) Go to Commands. Guest quota is OK. Invoke as node scripts/ypdf.mjs ….
3 quota failed Section 3 only if the error is 1101; otherwise explain the error
6 Node is older than 18 Native CLI path below

If node is missing, use the native CLI doctor. Unix / macOS: bash scripts/doctor.sh. Windows: powershell -File scripts/doctor.ps1. If Windows blocks that file because it was downloaded, run Unblock-File scripts\doctor.ps1 in this directory and run the same command again.

Exit Meaning Next
0 CLI found (at least 0.1.4) and quota succeeded Go to Commands. Remember binary= if PATH lacks it.
2 ypdf not found Section 2, then re-run doctor
3 CLI exists but quota failed Section 3 only if the error is 1101 or an old CLI; otherwise explain the error
4 This OS/arch has no prebuilt binary Tell the user; do not invent a tarball name
5 CLI is older than 0.1.4 (need_upgrade) Section 2 (install script upgrades), then re-run doctor

Do not ask for an API key just because doctor is ready.

2. Install native CLI only if Node is missing (exit 2 or 5)

Skip this section when node scripts/ypdf.mjs doctor already printed status=ready.

Do not invent a tarball or zip name with a star in place of the version, and do not run tar / Expand-Archive / mv with a glob.

Unix scripts/install.sh detects macOS/Linux, resolves the latest GitHub release, and uses the exact versioned filename. It replaces an existing writable ypdf on PATH, otherwise installs to ~/.local/bin (no sudo). Windows scripts/install.ps1 installs ypdf.exe to %LOCALAPPDATA%\ypdf\bin. Need 0.1.4 or newer.

From this skill directory:

bash scripts/install.sh

Windows:

powershell -File scripts/install.ps1

If Windows blocks that file because it was downloaded, run Unblock-File scripts\install.ps1 in this directory and run the same command again.

If the agent sandbox cannot reach GitHub or write the install prefix, ask the user to run that same command in their own terminal. Do not replace it with a hand-typed download.

Then re-run the same doctor script. Prefer the binary= path doctor printed whenever ypdf is not on PATH.

If the install script is missing or --plan cannot resolve a release, open https://github.com/yeahpdf/ypdf-cli/releases/latest and download the asset whose name ends with the target= triple from doctor. Copy the filename from the release page verbatim.

Wait until doctor no longer exits 2 or 5. Do not go to section 3 just because the user has no API key. Guest quota is enough until a job returns 13xx or 「需要登录后使用」.

2b. Optional CLI update (user must agree)

Do not check for updates before every job. Do not run ypdf upgrade (without --check) on your own. The Node runner has no binary to overwrite; node scripts/ypdf.mjs upgrade --check only explains that.

When the user asks about updating a native CLI, or after they already have a working native CLI (status=ready) and you want to mention a newer build:

  1. Run ypdf upgrade --check only (use the binary= path if PATH lacks it). If that subcommand is missing, the installed CLI is too old: tell them the install script can replace it, and ask first.
  2. If output has status=up_to_date, say so and continue.
  3. If status=update_available, tell them current= vs latest= and ask whether to upgrade. Wait for an explicit yes. If they say no, keep the current CLI and continue the PDF task.
  4. Only after they say yes, run ypdf upgrade (same binary path). If the sandbox cannot write the binary or prints status=need_write, ask them to run that same command in their own terminal. Do not invent a tarball name.

3. API token (only after guest quota is exhausted)

Do not ask the user to paste a ypdf_ key into the chat. Do not open this section before the first job. Guest mode shares the website's unpaid IP quota.

Use this section when a command returns 13xx, the runner says to run auth login, or the user asks to use an API plan.

  1. Open https://yeahpdf.com/console and create a key (ypdf_ prefix).
  2. Ask them to run this in their own terminal (Node runner has no hidden prompt; pass --api-key or YPDF_API_KEY):
node scripts/ypdf.mjs auth login --base-url https://www.yeahpdf.com --api-key ypdf_...
node scripts/ypdf.mjs auth show
node scripts/ypdf.mjs auth use default
ypdf auth login --base-url https://www.yeahpdf.com --api-key ypdf_...
ypdf auth show
ypdf auth use default

To drop a saved profile later: ypdf auth logout (or --all). This only edits local config.

YPDF_API_KEY / YPDF_BASE_URL are also valid. Do not fabricate keys.

  1. Re-run doctor. Only when it prints status=ready (exit 0) start the user's PDF task.

Commands

Copy the column that matches doctor. Flags are the same; only the executable differs.

Intent Node CLI
Skill pack version node scripts/ypdf.mjs --version n/a — ypdf --version is the CLI crate, not this Skill
Check CLI update (do not apply yet) node scripts/ypdf.mjs upgrade --check (explains only; no binary) ypdf upgrade --check
Apply CLI update (only after the user says yes) n/a — Node has no binary ypdf upgrade
Uninstall this CLI (only if the user asks) n/a — cannot remove Skill files ypdf uninstall
Uninstall and delete local config / saved key n/a — cannot remove Skill files ypdf uninstall --purge
Remaining quota node scripts/ypdf.mjs quota ypdf quota
Plan entitlements node scripts/ypdf.mjs entitlements ypdf entitlements
Script JSON for quota / entitlements node scripts/ypdf.mjs --json quota / node scripts/ypdf.mjs --json entitlements ypdf --json quota / ypdf --json entitlements
Quiet progress (stderr) node scripts/ypdf.mjs --quiet merge A.pdf B.pdf -o OUT ypdf --quiet merge A.pdf B.pdf -o OUT
Remove a saved profile node scripts/ypdf.mjs auth logout ypdf auth logout
Page count / encryption node scripts/ypdf.mjs inspect FILE ypdf inspect FILE
Job list node scripts/ypdf.mjs jobs list ypdf jobs list
Job status node scripts/ypdf.mjs jobs get ID ypdf jobs get ID
Job wait node scripts/ypdf.mjs jobs wait ID ypdf jobs wait ID
Job download node scripts/ypdf.mjs jobs result ID ypdf jobs result ID
Merge PDFs node scripts/ypdf.mjs merge A.pdf B.pdf -o OUT ypdf merge A.pdf B.pdf -o OUT
Split PDF node scripts/ypdf.mjs split FILE --ranges 1-3,5 ypdf split FILE --ranges 1-3,5
Split selected pages into one PDF node scripts/ypdf.mjs split FILE --ranges 1+3+5 ypdf split FILE --ranges 1+3+5
Reorder / extract across files node scripts/ypdf.mjs reorganize A.pdf B.pdf --pages 1:1,2:3 ypdf reorganize A.pdf B.pdf --pages 1:1,2:3
Encrypt PDF node scripts/ypdf.mjs encrypt FILE --user-password PASS ypdf encrypt FILE --user-password PASS
Decrypt PDF node scripts/ypdf.mjs decrypt FILE --password PASS ypdf decrypt FILE --password PASS
Sign PDF node scripts/ypdf.mjs sign FILE --sign-name NAME ypdf sign FILE --sign-name NAME
Add watermark node scripts/ypdf.mjs watermark FILE --text TEXT ypdf watermark FILE --text TEXT
Remove watermark node scripts/ypdf.mjs unwatermark FILE ypdf unwatermark FILE
Add page numbers node scripts/ypdf.mjs page-numbers FILE ypdf page-numbers FILE
Rotate pages node scripts/ypdf.mjs flip FILE --rotate 90 ypdf flip FILE --rotate 90
Crop margins node scripts/ypdf.mjs crop FILE --inset 0.1 ypdf crop FILE --inset 0.1
Compress PDF node scripts/ypdf.mjs compress FILE ypdf compress FILE
Repair / fix damaged PDF node scripts/ypdf.mjs repair FILE ypdf repair FILE
JSON field meanings (one command) node scripts/ypdf.mjs spec-help page-numbers ypdf spec-help page-numbers
PDF → images node scripts/ypdf.mjs convert pages FILE ypdf convert pages FILE
PDF → long image node scripts/ypdf.mjs convert long FILE ypdf convert long FILE
PDF → Word node scripts/ypdf.mjs convert word FILE ypdf convert word FILE
PDF → Markdown node scripts/ypdf.mjs convert markdown FILE ypdf convert markdown FILE
PDF → HTML node scripts/ypdf.mjs convert html FILE ypdf convert html FILE
PDF → Excel node scripts/ypdf.mjs convert excel FILE ypdf convert excel FILE
Images → PDF node scripts/ypdf.mjs image-to-pdf A.png --format a4 ypdf image-to-pdf A.png --format a4
Excel → PDF node scripts/ypdf.mjs excel-to-pdf FILE ypdf excel-to-pdf FILE

Write results with -o. Default timeout is 1800s (--timeout). --json keeps quota/entitlements as API JSON; --quiet hides upload/poll progress.

Rules

  • Unknown page structure → inspect first.
  • 13xx (daily plan/quota) → run --json quota once (same Node or CLI column as doctor), read remaining / limit (-1 means unlimited; do not branch on the Chinese word 不限), explain, and tell them guest quota is used up so they can auth login for the API plan. Stop. Do not retry merge/convert.
  • 1401 (rate limit / QPS) → the runner waits about 10 seconds and retries that HTTP call once. If it still returns 1401: wait about 10 seconds, retry that same command at most once. Do not start a new job loop. Do not spam quota or doctor. Still 1401 → stop and tell the user to wait.
  • 1508–1511 (unfinished uploads still pending) → not QPS. Show the runner text (account vs IP, count or size). Do not wait 10 seconds and retry a new upload. Tell the user to wait for leftover grants to expire, or that a failed enqueue now releases that attempt’s grant.
  • Encrypted input needs --password. Decrypt accepts an empty open password as --password "" on both columns. Do not omit the flag.
  • CLI updates: --check is fine when the user asks; never apply ypdf upgrade unless they explicitly agree.
  • Uninstall: run ypdf uninstall only when the user explicitly asks to remove the CLI. Add --purge only if they also want the local config / saved key deleted. Never uninstall during install, upgrade, doctor, or a PDF job.
  • Map wording to one command: 修复/fix broken → repair; 页码 → page-numbers; 旋转/rotate → flip; 裁剪 → crop; 压缩 → compress; 转 Word/docx → convert word; 转 Markdown/md → convert markdown; 转 HTML → convert html; 转 Excel → convert excel; 转图片 → convert pages; 长图 → convert long; 图片转 PDF → image-to-pdf; 表格转 PDF → excel-to-pdf. Do not open the editor APIs. Scanned PDF may need --ocr on convert word/markdown/html/excel.
  • Prefer simple flags. Defaults: page-numbers FILE, flip FILE --rotate 90, crop FILE --inset 0.1, watermark FILE --text TEXT, repair FILE.
  • Need per-range / interval / per-page JSON? Run ypdf spec-help <cmd> for that command only, then pass --spec. Do not read reference.md just to look up fields. If spec-help is missing (native CLI older than 0.1.5), read only the matching heading in spec-help.md. The Node runner always has spec-help.

常见问题

5 问
答案由本站依据条目字段整理
PDF合并拆分转换处理怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_c5b3993b/yeahpdf。安装方式为未标注。装完刷新技能列表或重开客户端。

PDF合并拆分转换处理支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

PDF合并拆分转换处理权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

PDF合并拆分转换处理收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

PDF合并拆分转换处理用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 2026-11-06。