nano-pdf

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires nano-pdf.

What problem does it solve? Making small text changes to PDF files normally requires specialized editors or regenerating the source document. This Skill lets you fix typos, update titles, dates, and names in existing PDFs by describing the change in plain language. ## Core Features & Use Cases - Natural-Language PDF Editing: Run nano-pdf edit <file.pdf> <page_number> "<instruction>" to modify text on a specific page. - Targeted Page Edits: Point the tool at an exact page to change titles, dates, names, or fix typos without touching the rest of the document. - Use Case: You receive a contract PDF with the wrong client name 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 Install nano-pdf with uv or pip, then ask the assistant to change the title on page 1 of your PDF to the new wording you want.

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?

Use the nano-pdf CLI with the command `nano-pdf edit <file.pdf> <page_number> "<instruction>"`. Describe the change in plain language, such as updating a title or fixing a typo, and the tool applies the edit to the specified page.

How do I install nano-pdf for PDF editing?

Install nano-pdf with `uv pip install nano-pdf` or `pip install nano-pdf`. The tool uses an LLM under the hood, so you also need an API key configured; run `nano-pdf --help` for configuration details.

Does nano-pdf require an API key to work?

Yes, nano-pdf uses an LLM under the hood and requires an API key to function. Check `nano-pdf --help` for the exact configuration steps 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 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 was applied correctly.