nano-pdf

Edit PDFs with natural-language instructions using the nano-pdf CLI.

3,891 stars
Complexity: easy

About this skill

This skill empowers AI agents to modify PDF content without needing graphical interfaces or complex PDF editing software. By leveraging the `nano-pdf` command-line interface, agents can specify a PDF file, a page number, and then provide a natural language prompt detailing the desired changes. This is particularly useful for quick corrections like fixing typos, updating titles, or making minor content adjustments directly from an automated workflow. The tool processes these instructions, attempting to interpret and apply the requested edits to the specified PDF page. nano-pdf simplifies the task of updating documents programmatically. It abstracts away the complexities of PDF file formats, allowing agents to focus on the desired outcome using a human-readable instruction. This makes it a valuable asset for scenarios requiring automated document generation, version control, or on-the-fly content adjustments in various applications.

Best use case

This skill is ideal for developers, content managers, or anyone working with automated document processing workflows who needs to make fast, programmatic, and minor textual adjustments to PDFs. It simplifies the task of updating documents without manual intervention, making it highly valuable in continuous integration/continuous delivery pipelines for documentation, or in scenarios where dynamic content updates are required.

Edit PDFs with natural-language instructions using the nano-pdf CLI.

A modified PDF file reflecting the natural language instructions applied to the specified page, with original content retained where no changes were requested.

Practical example

Example input

Using the nano-pdf skill, please edit 'report.pdf'. On page 3, change the heading 'Key Findings' to 'Executive Summary' and update the date to 'October 26, 2023'.

Example output

The 'report.pdf' has been updated. A new file, 'report_edited.pdf' (or similar based on `nano-pdf`'s output naming convention), has been generated with the requested changes on page 3. Please review the output for accuracy.

When to use this skill

  • Making quick textual corrections (typos, date changes) in a PDF.
  • Automating minor content updates in documentation or reports.
  • Adjusting titles or headers on specific PDF pages.
  • Integrating PDF editing into CI/CD pipelines or scripts.

When not to use this skill

  • Performing complex graphic design or layout overhauls in PDFs.
  • Editing highly sensitive documents without careful human review.
  • When precise pixel-perfect positioning of elements is critical.
  • If a visual editor is preferred for complex changes that require human oversight.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/nano-pdf-v2/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/15914355527/nano-pdf-v2/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/nano-pdf-v2/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How nano-pdf Compares

Feature / Agentnano-pdfStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityeasyN/A

Frequently Asked Questions

What does this skill do?

Edit PDFs with natural-language instructions using the nano-pdf CLI.

How difficult is it to install?

The installation complexity is rated as easy. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# nano-pdf

Use `nano-pdf` to apply edits to a specific page in a PDF using a natural-language instruction.

## Quick start

```bash
nano-pdf edit deck.pdf 1 "Change the title to 'Q3 Results' and fix the typo in the subtitle"
```

Notes:
- Page numbers are 0-based or 1-based depending on the tool’s version/config; if the result looks off by one, retry with the other.
- Always sanity-check the output PDF before sending it out.

Related Skills

---

3891
from openclaw/skills

name: article-factory-wechat

Content & Documentation

humanizer

3891
from openclaw/skills

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.

Content & Documentation

linkedin-cli

3891
from openclaw/skills

A bird-like LinkedIn CLI for searching profiles, checking messages, and summarizing your feed using session cookies.

Content & Documentation

小红书长图文发布 Skill

3891
from openclaw/skills

## 概述

Content & Documentation

openclaw-youtube

3891
from openclaw/skills

YouTube SERP Scout for agents. Search top-ranking videos, channels, and trends for content research and competitor tracking.

Content & Documentation

openclaw-media-gen

3891
from openclaw/skills

Generate images & videos with AIsa. Gemini 3 Pro Image (image) + Qwen Wan 2.6 (video) via one API key.

Content & Documentation

Cold Email Writer

3891
from openclaw/skills

Writes personalized cold emails that actually get replies

Content & Documentation

Presentation Mastery — Complete Slide Design & Delivery System

3891
from openclaw/skills

You are a Presentation Architect. You help build presentations that persuade, inform, and move people to action. You cover the full lifecycle: audience analysis → narrative structure → slide design → delivery coaching → post-presentation follow-up.

Content & Documentation

ai-humanizer

3891
from openclaw/skills

Rewrites AI-generated content to sound natural, human, and undetectable. Removes robotic patterns, adds voice variety, and preserves meaning.

Content & Documentation

Employee Handbook Generator

3891
from openclaw/skills

Build a complete, customized employee handbook for your company. Covers policies, benefits, conduct, leave, remote work, DEI, and compliance — ready for legal review.

Content & Documentation

afrexai-copywriting-mastery

3891
from openclaw/skills

Write high-converting copy for any medium — landing pages, emails, ads, UX, sales pages, video scripts, and brand voice. Complete methodology with frameworks, templates, scoring rubrics, and swipe files. Use when writing or reviewing any user-facing text.

Content & Documentation

afrexai-conversion-copywriting

3891
from openclaw/skills

Write high-converting copy for any surface — landing pages, emails, ads, sales pages, product descriptions, CTAs, video scripts, and more. Complete conversion copywriting system with research methodology, 12 proven frameworks, swipe-file templates, scoring rubrics, and A/B testing protocols. Use when you need to write or review any copy meant to drive action.

Content & Documentation