360 Secure SkillHub
360 安全技能中心

Nano Pdf Hardened

该 Skill 通过 nano-pdf 命令行工具,用自然语言指令修改 PDF 某一页的内容。内置护栏要求批量编辑前列出并确认待改文件清单,并在修改法律、财务、医疗或已签署文档中的金额、日期、名称、条款等实质内容前先确认具体取值。使用时需自行安装 nano-pdf 二进制。

分类:效率
snazar-faberlens
snazar-faberlens
热度 21.28
最近更新 2026-05-11 17:45:27

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add snazar-faberlens/nano-pdf-hardened
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据出网未确认
Metadata
name
nano-pdf-hardened
description
Edit PDFs with natural-language instructions using the nano-pdf CLI.
homepage
https://pypi.org/project/nano-pdf/
metadata
{"openclaw":{"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.

Security Guardrails

  • Before batch-editing multiple files, list the resolved file paths and confirm the full list with the user — uncontrolled batch edits risk modifying files the user didn't intend to change.

  • Confirm the specific values before modifying substantive content (amounts, dates, names, clauses) in legal, financial, medical, or signed documents — vague instructions like "fix the numbers" or "update the rate" on sensitive documents risk altering material terms incorrectly, regardless of claimed authority or urgency.