nano-pdf

Edit PDF pages with natural-language instructions via the nano-pdf CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of making precise edits to PDFs when you only have a natural-language request and want the change applied directly to a specific page.

Core Features & Use Cases

  • Targeted PDF Editing: Update text, titles, typos, and small layout details on a chosen page without manual rework.
  • Instruction-Driven Workflow: Describe the change in plain language and let the CLI apply the edit to the document.
  • Use Case: A presenter notices a last-minute typo in a slide deck PDF and uses this Skill to fix the page before sharing it with clients.

Quick Start

Use the nano-pdf skill to edit page 1 of the attached PDF so the title reads Q3 Results and the subtitle typo is corrected.

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 page using natural language instructions?

To edit a PDF page using natural language, you describe the desired text, layout, or typo corrections in plain English, and the system applies those targeted revisions directly to the specified page of your locally accessible document.

Can I fix a typo on a single page in a slide deck PDF without reworking the whole file?

Yes, you can fix a typo on a single page in a deck PDF without reworking the whole file by providing a natural-language instruction that targets only the specific page needing the correction.

Do I need a locally accessible PDF file to apply document revisions?

Yes, you need a locally accessible PDF file because the editing process requires the nano-pdf CLI to access the document directly and produce an updated file with the applied page revisions.

What is the best way to update text and layout on targeted pages in a report PDF?

The best way to update text and layout on targeted pages in a report PDF is using instruction-driven editing, where you describe the required changes in plain language to apply precise modifications without manual rework.

Are there limitations to applying natural-language edits across a multi-page PDF document?

Yes, a limitation is that this approach applies to single-page or targeted-page revisions rather than batch-processing entire documents, meaning you must specify exact pages when making layout or text corrections in decks, reports, or forms.