SKILL·4620A1

nano-pdf

swarmclawai
Updated 1 month ago
604
127
604
View on GitHub
Metapdf

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

Recommended
Primary
npx skills add swarmclawai/swarmclaw -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/swarmclawai/swarmclaw
Git CloneAlternative
git clone https://github.com/swarmclawai/swarmclaw.git ~/.claude/skills/nano-pdf

Copy 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:

  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.

GitHub Repository

swarmclawai/swarmclaw
Path: skills/nano-pdf
0
agent-frameworkagent-memoryagent-runtimeagent-swarmagentsai
FAQ

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

content-collections
Meta

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.

View skill
polymarket
Meta

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.

View skill
creating-opencode-plugins
Meta

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.

View skill
sglang
Meta

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.

View skill