以下の SKILL.md は
swarmclawai/swarmclaw(コミット
ed38ba5)から
MIT ライセンスに基づいて転載しています。本文は変更しておらず、ファイル先頭のメタデータのみ省略し、画像はリンクとして表示し、非常に長いファイルは途中までの表示としています。Copyright 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:
- Check if
nano-pdf is installed: which nano-pdf
- If not installed, install via
uv tool install nano-pdf or pip install nano-pdf
- Run the appropriate command
- 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.