SkillsGrove
SkillsGrove/Офисные документы/swarmclawai/swarmclaw/nano-pdf

nano-pdf

Установка

$npx skills add https://github.com/swarmclawai/swarmclaw --skill nano-pdf
$git clone --depth 1 https://github.com/swarmclawai/swarmclaw.git /tmp/swarmclaw && mkdir -p ~/.claude/skills && cp -r /tmp/swarmclaw/skills/nano-pdf ~/.claude/skills/nano-pdf
Пожалуйста, установи для меня этот Agent Skill: https://github.com/swarmclawai/swarmclaw/tree/ed38ba5329c20e48c03b4a4028f4a76a1a75e2d1/skills/nano-pdf — сначала прочитай его SKILL.md и скрипты и устанавливай в мою папку навыков только после того, как убедишься, что он безопасен.

Кратко

Исходное описание · MITEdit 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.
Приведённый ниже SKILL.md воспроизведён из swarmclawai/swarmclaw (коммит ed38ba5) под лицензией MIT. Текст не изменён; опущены только метаданные заголовка файла, изображения показаны как ссылки, а очень длинные файлы сокращены. Авторские права: 2026 SwarmClaw Contributors. Лицензия: LICENSE. Показан только файл с инструкциями; скрипты смотрите в исходном репозитории.

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)
MIT License

Copyright (c) 2026 SwarmClaw Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.