nano-pdf

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

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/CHENHUI-X/toolbox --skill nano-pdf-chenhui-x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nano-pdf
Source: https://github.com/CHENHUI-X/toolbox/tree/main/custom-skills/productivity/nano-pdf
Command: npx skills add https://github.com/CHENHUI-X/toolbox --skill nano-pdf-chenhui-x

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 applies it directly to a specific page of the PDF. ## Core Features & Use Cases - Natural-Language PDF Editing: Point at a page and describe the change, such as fixing a typo, updating a date, or changing a title. - Targeted Page Edits: Edit a specific page by number without touching the rest of the document. - Use Case: You receive a contract PDF where the client name is wrong on page 2. Run nano-pdf edit contract.pdf 2 "Change the client name from 'Acme Corp' to 'Acme Industries'" and verify the output. ## Quick Start Ask the assistant to install nano-pdf and change the title on page 1 of your PDF to the new wording you specify.

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 nano-pdf with pip or uv, then run `nano-pdf edit <file.pdf> <page_number> "<instruction>"` describing the change in plain language. The tool applies the edit to the specified page and writes an updated PDF.

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

nano-pdf is designed for natural-language text edits on existing pages. For structural operations like merging, splitting, forms, watermarks, or creating PDFs, use a dedicated PDF manipulation skill or library instead.

Does nano-pdf require an API key to work?

Yes, nano-pdf uses an LLM under the hood to interpret editing instructions, so an API key must be configured. Run `nano-pdf --help` to see the configuration options for your environment.

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 verify the output.

What are the limitations of natural-language PDF editing?

It works well for text changes like titles, dates, and names, but complex layout modifications may fail or produce inconsistent results. Always verify the output PDF after editing, and use a different approach for heavy layout work.