nano-pdf
Edit PDFs with natural-language instructions using the nano-pdf CLI.
Security Assessment
About nano-pdf
The nano-pdf skill allows users to edit PDFs using natural-language instructions. By leveraging the nano-pdf CLI tool, it enables users to make modifications to specific pages of a PDF, such as text alterations or corrections. This skill streamlines the process of PDF editing, removing the need for complex graphical interfaces or PDF-specific syntax. Users can provide simple, human-readable instructions to perform tasks like updating titles, fixing typos, or adjusting content layout directly within a PDF document.
FAQ
How do I use nano-pdf to edit a PDF?
To edit a PDF, use the command: `nano-pdf edit deck.pdf 1 'Change the title to 'Q3 Results' and fix the typo in the subtitle'`. Make sure to adjust page numbers based on the tool’s version/configuration.
What should I do if the output seems off by one page?
Since page numbers can be either 0-based or 1-based depending on the tool's version/configuration, try switching the page numbering convention and reattempt the edit.
Do I need any special software to use nano-pdf?
Yes, nano-pdf requires the installation of the nano-pdf CLI tool. It can be installed using the `uv` package manager.
Can I edit multiple pages at once?
Currently, nano-pdf supports editing one page at a time through the CLI, but it allows for natural-language instructions to modify text or content on that page.
Is there any recommended usage for the output PDF?
It is always recommended to review and sanity-check the output PDF before distributing it to ensure the edits have been applied as expected.
Install nano-pdf
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
steipete/clawdis