360 Secure SkillHub
360 安全技能中心

PDF精简工具

该 skill 指导使用 nano-pdf 命令行工具,通过一段自然语言指令修改 PDF 中指定页面的内容(如改标题、修错别字),并给出用 uv 从 PyPI 安装的方式;仅提供基本用法和 0/1 基页码提示,需自行校验输出。

steipete
steipete
热度 44.09
最近更新 2026-09-22 02:57:08
分类:效率依赖:代码执行 / 读写文件应用场景:工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add nano-pdf
Metadata
name
nano-pdf
description
Edit PDFs with natural-language instructions using the nano-pdf CLI.
homepage
https://pypi.org/project/nano-pdf/
metadata
{"clawdbot":{"emoji":"📄","requires":{"bins":["nano-pdf"]},"install":[{"id":"uv","kind":"uv","package":"nano-pdf","bins":["nano-pdf"],"label":"Install nano-pdf (uv)"}]}}

nano-pdf

Use nano-pdf to apply edits to a specific page in a PDF using a natural-language instruction.

Quick start

nano-pdf edit deck.pdf 1 "Change the title to 'Q3 Results' and fix the typo in the subtitle"

Notes:

  • Page numbers are 0-based or 1-based depending on the tool’s version/config; if the result looks off by one, retry with the other.
  • Always sanity-check the output PDF before sending it out.