Nano PDF

SkillFiles & storage

Lets your agent edit PDF files by extracting, rotating, deleting, reordering, or duplicating pages.

Then ask your AI: use the Nano PDF skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add it as a step in a pipeline you build on Ahel, or connect Ahel to Claude, ChatGPT, Cursor, Claude Code or Codex and ask your AI to use it.

About this skill

CLI wrapper for nano-pdf binary to edit PDF files. Provides page manipulation capabilities including extraction, rotation, and reordering.

What this skill tells your AI

The instructions your AI receives, as published by wentorai/research-claw in skills/nano-pdf/SKILL.md and read by Ahel’s review.

CLI wrapper for the nano-pdf binary to edit PDF files.


Installation

uv tool install nano-pdf

Or via pip:

pip install nano-pdf

Usage

Edit PDF Pages

nano-pdf edit <input.pdf> <output.pdf> <operations...>

Page Operations

OperationDescriptionExample
extractExtract specific pagesextract:1-5
rotateRotate pagesrotate:90:1-3
deleteRemove pagesdelete:2,4,6
reorderReorder pagesreorder:3,1,2
duplicateDuplicate pagesduplicate:1:2

Examples

Extract Pages 1-5

nano-pdf edit input.pdf output.pdf extract:1-5

Extract Multiple Ranges

nano-pdf edit input.pdf output.pdf extract:1-3,7,10-12

Rotate Pages 90 Degrees

nano-pdf edit input.pdf output.pdf rotate:90:1-5

Delete Pages

nano-pdf edit input.pdf output.pdf delete:2,4,6

Combine Operations

nano-pdf edit input.pdf output.pdf extract:1-10 rotate:90:1-5

Page Numbering

  • Pages are 1-indexed (first page is 1)
  • Use - for ranges: 1-5 means pages 1 through 5
  • Use , for multiple pages: 1,3,5 means pages 1, 3, and 5
  • Combine: 1-3,7,10-12

When to Use This Skill

  • Extract specific pages from a PDF
  • Rotate PDF pages
  • Delete unwanted pages
  • Reorder PDF pages
  • Quick PDF manipulation without GUI tools

Notes

  • Always verify output before overwriting originals
  • Works best with standard PDF files
  • May have issues with encrypted PDFs

Safety

  • Only run on trusted PDF files
  • Verify output correctness on non-sensitive files first
  • Keep backups of important documents

Signals

GitHub stars
858
Forks
117
Last commit
Aug 2026

Ahel review

  • K1binfo
    installs-packages

Automated review, not a security audit. Ruleset v1+k2.

Advanced
Item type
skill
Key
nano-pdf-wentorai
Source
github.com/wentorai/research-claw