nano-pdf — Claude Code skill: what it does, how to install
Edit PDF pages with plain text instructions through the nano-pdf CLI. Useful when you need to fix a typo or swap a heading without leaving your terminal.
npx skills add openclaw/openclaw --skill nano-pdf -a claude-codeWhat nano-pdf does
The skill connects an agent to the nano-pdf command-line tool. It passes plain text instructions to edit a chosen page of a document.
You need the nano-pdf binary installed in your environment, which installs via uv. Page indexing can vary by tool version. If an edit lands on an adjacent page, re-run with adjusted indexing and check the exported PDF before sharing it.
Install it if you make quick edits to slides and documents without leaving the terminal.
What it helps with
- fix typos on a specific PDF page
- change document titles via the CLI
- apply PDF edits using plain text instructions
Example prompts for the agent
- Fix the typo in the subtitle of deck.pdf using nano-pdf
- Update the presentation title on the cover page of slides.pdf
How to install nano-pdf
1Skills CLI (Vercel)
npx skills add openclaw/openclaw --skill nano-pdf -a claude-code2Manually: put the files in place
~/.claude/skills/nano-pdf/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/nano-pdf/
1Skills CLI (Vercel)
npx skills add openclaw/openclaw --skill nano-pdf -a codex2Manually: put the files in place
.agents/skills/nano-pdf/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add openclaw/openclaw --skill nano-pdf -a cursor2Manually: put the files in place
.cursor/skills/nano-pdf/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install openclaw/openclaw nano-pdf2Manually: put the files in place
.github/skills/nano-pdf/SKILL.md1Skills CLI (Vercel)
npx skills add openclaw/openclaw --skill nano-pdf -a gemini-cli2Platform CLI
gemini skills install https://github.com/openclaw/openclaw --path skills/nano-pdfManually: put the files in place
.devin/skills/nano-pdf/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add openclaw/openclaw --skill nano-pdf -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set45
The whole set →Similar
Questions about nano-pdf
How do I install nano-pdf for Claude Code?
Run npx skills add openclaw/openclaw --skill nano-pdf -a claude-code in your terminal to install the skill.
What does nano-pdf do?
It lets your agent edit specific pages in PDF files using natural-language instructions through the nano-pdf CLI.
What dependencies are required to run nano-pdf?
You need the nano-pdf executable installed in your path, which you can install via uv.
Source text
SKILL.md · MIT
---
name: nano-pdf
description: "Edit PDFs with natural-language instructions using the nano-pdf CLI."
homepage: https://pypi.org/project/nano-pdf/
metadata:
{
"openclaw":
{
"emoji": "📄",
"requires": { "bins": ["nano-pdf"] },
"install":
[
{
"id": "uv",
"kind": "uv",
"package": "nano-pdf",
"bins": ["nano-pdf"],
"label": "Install nano-pdf (uv)",
},
],
},
}
---
# 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.
© openclaw · MIT · openclaw/openclaw