‹ 首页

nano-pdf

@swarmclawai · 收录于 昨天 · 上游提交 2 周前

Edit or create PDFs with natural-language instructions using the nano-pdf CLI. Use when asked to make a PDF, edit a PDF, add pages, change text in a PDF, or convert content to PDF format.

适合你,如果需要用自然语言快速处理PDF文件

/ 通过 npx 安装 校验哈希
npx oh-my-skill add swarmclawai/swarmclaw/nano-pdf
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- swarmclawai/swarmclaw/nano-pdf
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify swarmclawai/swarmclaw/nano-pdf
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
611GitHub stars
~330上下文体积 · 单文件
索引托管

怎么用

技能原文 SKILL.md作者撰写 · MIT · ed38ba5

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"
Creating a New PDF
nano-pdf create output.pdf "Create a one-page summary of quarterly results with a header, bullet points, and a footer"
Usage in SwarmClaw

When a user asks to create or edit a PDF:

  1. Check if nano-pdf is installed: which nano-pdf
  2. If not installed, install via uv tool install nano-pdf or pip install nano-pdf
  3. Run the appropriate command
  4. Report the output file path to the user
Notes
  • Page numbers are 0-based or 1-based depending on the tool's version; if the result looks off by one, retry with the other.
  • Always sanity-check the output PDF before reporting success.
  • For multi-page edits, run separate commands per page.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。