agentleFS
claude-worldclaude-world/claude-agent/.claude/skills/pdf-editor/SKILL.md

pdf-editor

Skill4 starsChanged 9 months agoMITView on GitHub

Edit, annotate, extract, merge, and transform PDF files using nano-pdf with natural language instructions. Use when user needs to modify PDF content, extract text, merge documents, add annotations, or convert PDFs.

  • Installs packages

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Always check if CLI is installed first: which nano-pdf or nano-pdf --version

    line 90
  2. Very specific:

    If not installed, show pip install nano-pdf and stop

    line 91
  3. Distinctive:

    Always verify the input file exists before running any command

    line 92
  4. Very specific:

    When extracting large PDFs (> 50 pages), save output to workspace/ rather than displaying inline

    line 93
  5. Distinctive:

    Keep responses concise: confirm action and output path in 1-2 lines

    line 97

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

PDF Editor

Edit and process PDF files using nano-pdf, a natural language PDF editing tool.

Prerequisites

pip install nano-pdf

Or with pipx for isolated install:

pipx install nano-pdf

Verify:

nano-pdf --version

Commands

CommandDescription
nano-pdf extract <file.pdf>Extract all text from a PDF
nano-pdf extract <file.pdf> --pages 1-5Extract specific pages
nano-pdf merge <a.pdf> <b.pdf> -o output.pdfMerge two or more PDFs
nano-pdf split <file.pdf> --pages 1-3 -o part1.pdfSplit out specific pages
nano-pdf annotate <file.pdf> --page 2 --text "Review this"Add text annotation
nano-pdf fill <form.pdf> --field "Name=Alice" --field "Date=2026-03-21"Fill form fields
nano-pdf convert <file.pdf> --to txt -o output.txtConvert to text
nano-pdf convert <file.pdf> --to html -o output.htmlConvert to HTML
nano-pdf compress <file.pdf> -o compressed.pdfCompress/optimize PDF
nano-pdf info <file.pdf>Show metadata (pages, author, title)
nano-pdf rotate <file.pdf> --pages all --degrees 90 -o rotated.pdfRotate pages

Usage Examples

Extract text for reading:

nano-pdf extract report.pdf > workspace/report-text.txt

Merge multiple PDFs:

nano-pdf merge cover.pdf chapter1.pdf chapter2.pdf -o final.pdf

Split out pages 5–10:

nano-pdf split document.pdf --pages 5-10 -o excerpt.pdf

Fill a PDF form:

nano-pdf fill application.pdf \
  --field "FirstName=Alice" \
  --field "LastName=Smith" \
  --field "Date=2026-03-21" \
  -o filled-application.pdf

Get PDF metadata:

nano-pdf info contract.pdf

Rules

  • Always check if CLI is installed first: which nano-pdf or nano-pdf --version
  • If not installed, show pip install nano-pdf and stop
  • Always verify the input file exists before running any command
  • When extracting large PDFs (> 50 pages), save output to workspace/ rather than displaying inline
  • For merge operations, list the input files in order and confirm with the user before executing
  • For fill operations, first use nano-pdf info to list available form fields before filling
  • Output files default to the same directory as input unless user specifies otherwise — prefer saving to workspace/ for intermediate results
  • Keep responses concise: confirm action and output path in 1-2 lines
  • For large files, note the page count and file size in the confirmation

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.