nano-pdf

Edit and create PDF files with natural-language instructions via the nano-pdf CLI.

Updated Jun 15, 2026
One-click install
npx skills add https://github.com/redlanternstudios/swarmclaw --skill nano-pdf-redlanternstudios
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nano-pdf
Source: https://github.com/redlanternstudios/swarmclaw/tree/main/skills/nano-pdf
Command: npx skills add https://github.com/redlanternstudios/swarmclaw --skill nano-pdf-redlanternstudios

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires nano-pdf.

What problem does it solve? Editing or generating PDFs normally requires dedicated desktop software or complex libraries. This Skill lets you modify existing PDF pages or create new PDF documents using plain natural-language instructions through the nano-pdf command-line tool. ## Core Features & Use Cases - Natural-Language PDF Editing: Change titles, fix typos, or update content on a specific page of an existing PDF with a single command. - PDF Creation from Scratch: Generate new PDF documents such as one-page summaries with headers, bullet points, and footers from a text description. - Use Case: A user needs to update the title on page 1 of a quarterly results deck and fix a subtitle typo. The Skill runs nano-pdf with the instruction and returns the edited PDF file path. ## Quick Start Ask the agent to change the title on page 1 of deck.pdf to "Q3 Results" using nano-pdf.

Frequently Asked Questions about nano-pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I edit a PDF with natural language instructions?

Use the nano-pdf CLI with the edit command, specifying the PDF file, page number, and your instruction in quotes. For example, run nano-pdf edit deck.pdf 1 followed by the change you want, such as updating a title or fixing a typo.

How do I create a PDF from a text description?

Use the nano-pdf create command with an output filename and a description of the document. For example, describe a one-page summary with a header, bullet points, and a footer, and the tool generates the PDF.

How do I install the nano-pdf CLI?

Install nano-pdf with uv tool install nano-pdf or pip install nano-pdf. You can verify the installation by running which nano-pdf before executing any edit or create commands.

Why is my PDF edit applied to the wrong page?

Page numbering in nano-pdf may be 0-based or 1-based depending on the tool version. If the edit lands on the wrong page, retry the command with the page number adjusted by one.

Can nano-pdf edit multiple PDF pages at once?

No, multi-page edits require running a separate nano-pdf edit command for each page. Always sanity-check the output PDF after each command before reporting success.