nano-pdf

Edit PDF text, typos, and titles using natural-language instructions via the nano-pdf CLI.

1|Updated Jun 24, 2026
One-click install
npx skills add https://github.com/maopujie10-sys/Bailongma --skill nano-pdf-maopujie10-sys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nano-pdf
Source: https://github.com/maopujie10-sys/Bailongma/tree/main/skills/hermes-skills/productivity/nano-pdf
Command: npx skills add https://github.com/maopujie10-sys/Bailongma --skill nano-pdf-maopujie10-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires nano-pdf.

What problem does it solve? Making small text changes to a PDF—fixing a typo, updating a date, renaming a title—normally requires opening a dedicated PDF editor or regenerating the source document. This Skill lets you describe the change in plain language and apply it directly to a specific page of an existing PDF. ## Core Features & Use Cases - Natural-Language PDF Editing: Point the nano-pdf CLI at a file and page number, then describe the edit in plain English. - Targeted Page-Level Changes: Modify titles, dates, names, and typos on a specific page without touching the rest of the document. - Use Case: You receive a contract PDF where the client name is wrong on page 2. Instead of requesting a new version, run one command to change 'Acme Corp' to 'Acme Industries' and verify the output. ## Quick Start Ask the agent to install nano-pdf with pip and then edit page 1 of your PDF to change the title 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 the nano-pdf Python package, then run 'nano-pdf edit <file.pdf> <page_number> "<instruction>"' describing the change in plain English. The tool applies the edit to the specified page and writes an updated PDF.

How do I install nano-pdf?

Install nano-pdf with 'uv pip install nano-pdf' or 'pip install nano-pdf'. It is a Python package distributed via PyPI and works on Linux, macOS, and Windows.

Does nano-pdf require an API key?

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 how to configure the key for your environment.

Why did nano-pdf edit the wrong page?

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

What are the limitations of editing PDFs with nano-pdf?

nano-pdf works well for text changes like titles, dates, and names, but complex layout modifications may need a different approach. Always verify the output PDF after editing to confirm the change applied correctly.