360 Secure SkillHub
360 安全技能中心

Nano Pdf Hardened

核心功能是通过nano-pdf CLI,以自然语言指令编辑PDF指定页面,可修改标题、修正拼写等。典型场景包括调整文档标题、修正文本错误、更新敏感文档内容(需确认具体值)。输入为含PDF路径、页码和编辑指令的CLI命令,输出为修改后的PDF。使用时需注意页码可能是0/1基,批量编辑前要确认文件列表,敏感内容修改前需核对数值。

snazar-faberlens
snazar-faberlens
热度 29.97
最近更新 2026-05-11 17:45:27
分类:效率依赖:代码执行 / 读写文件应用场景:文件转换 / 校对润色

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add 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.