About
nano-pdf is a CLI tool for programmatically editing or creating PDFs using natural-language instructions. It enables developers to modify specific pages, change text, add content, or generate new PDFs from descriptive prompts. This skill is ideal for automating PDF manipulation tasks within workflows when asked to edit, create, or convert documents.
Quick Install
Claude Code
Recommendednpx skills add swarmclawai/swarmclaw -a claude-code/plugin add https://github.com/swarmclawai/swarmclawgit clone https://github.com/swarmclawai/swarmclaw.git ~/.claude/skills/nano-pdfCopy and paste this command in Claude Code to install this skill
Documentation
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-pdfis installed:which nano-pdf - If not installed, install via
uv tool install nano-pdforpip 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.
GitHub Repository
Frequently asked questions
What is the nano-pdf skill?
nano-pdf is a Claude Skill by swarmclawai. Skills package instructions and resources that Claude loads on demand, so Claude can perform nano-pdf-related tasks without extra prompting.
How do I install nano-pdf?
Use the install commands on this page: add nano-pdf to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does nano-pdf belong to?
nano-pdf is in the Meta category, tagged pdf.
Is nano-pdf free to use?
Yes. nano-pdf is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
Related Skills
This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.
This skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.
This skill helps developers create OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It provides the plugin structure, event API specifications, and implementation patterns for JavaScript/TypeScript modules. Use it when you need to intercept, monitor, or extend the OpenCode AI assistant's lifecycle with custom event-driven logic.
SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.
