nano-pdf

Edit text in existing PDF pages using natural-language instructions.

1|Updated Aug 11, 2026
One-click install
npx skills add https://github.com/Chia1104/agent-air --skill nano-pdf-chia1104
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: nano-pdf
Source: https://github.com/Chia1104/agent-air/tree/main/skills/hermes/productivity/nano-pdf
Command: npx skills add https://github.com/Chia1104/agent-air --skill nano-pdf-chia1104

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires nano-pdf.

What problem does it solve? Making small text corrections in existing PDFs normally requires specialized editors or regenerating the source document. This Skill lets you describe the change in plain language and apply it directly to a specific page of a PDF. ## Core Features & Use Cases - Natural-Language PDF Editing: Point the tool at a page and describe the text change, such as fixing a typo or updating a date. - Targeted Page Edits: Edit a specific page by number without touching the rest of the document. - Use Case: You receive a slide deck PDF with an outdated title and a typo in the subtitle. Run a single command to change the title to 'Q3 Results' and fix the subtitle on page 1, then verify the output. ## Quick Start Ask the agent to use nano-pdf to change the title on page 1 of deck.pdf to 'Q3 Results' and fix the typo in the subtitle.

Frequently Asked Questions about nano-pdf

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

FAQPage Schema
How do I edit text in a PDF using natural language?▼

Install the nano-pdf package with uv pip install nano-pdf, then run nano-pdf edit <file.pdf> <page_number> followed by your instruction in quotes. The tool applies the described text change to the specified page and writes an updated PDF.

What tool should I use for merging or splitting PDFs instead of text edits?▼

nano-pdf only handles natural-language text edits on existing pages. For structural work like merging, splitting, forms, watermarks, or PDF creation, use the pdf skill, and for text extraction from scans use the ocr-and-documents skill.

Does nano-pdf require an API key to work?▼

Yes, nano-pdf uses an LLM under the hood to interpret editing instructions, so it requires an API key. Run nano-pdf --help to see the configuration options for providing credentials.

Why did nano-pdf edit the wrong page of my PDF?▼

Page numbering may be 0-based or 1-based depending on the installed version. If the edit lands on the wrong page, retry with the page number adjusted by plus or minus one, and always verify the output PDF afterward.

What are the limitations of natural-language PDF editing?▼

nano-pdf works well for text changes like titles, dates, and names, but complex layout modifications may fail or produce inconsistent results. For heavy structural or layout work, a dedicated PDF manipulation approach is more appropriate.