nano-pdf

by Unknown v1.0.0

The Nano Pdf skill enables users to edit PDF documents using natural language instructions via the nano-pdf CLI. This allows for intuitive and efficient modifications to PDF content without requiring specialized PDF editing software or technical expertise. It provides a simple and accessible way to make changes to PDF documents.

This skill leverages the nano-pdf tool to interpret natural language instructions and apply corresponding edits to the specified page of a PDF. Users can quickly modify text, correct typos, and adjust the layout of their PDFs by simply providing clear and concise natural language prompts. However, it is essential to sanity-check the output PDF before sharing it to ensure that the edits were applied correctly.

Note that page numbering may be 0-based or 1-based depending on the tool's version/config, so if the result looks off by one, retry with the other.

What It Does

Edits PDF files by applying changes to specific pages based on natural language instructions.

When To Use

Use this skill when you need to quickly modify text, correct typos, or adjust the layout of a PDF document using natural language commands. It is particularly useful for making small, targeted edits without needing to use dedicated PDF editing software.

Inputs

PDF file path, page number (0-based or 1-based), natural language instruction for the edit.

Outputs

Modified PDF file with the applied edits.

Limitations

Page numbering might be 0-based or 1-based depending on the tool’s version/config. Sanity check the output PDF before sending it out. Complex layout changes might not be accurately interpreted.

Installation

1. Ensure you have Python and uv installed.
2. Install nano-pdf using uv: `uv pip install nano-pdf`.
3. Verify the installation by running `nano-pdf --version` in your terminal.
4. Configure your environment to use the installed nano-pdf executable.

View Cline documentation

1. Ensure you have Python and uv installed.
2. Install nano-pdf using uv: `uv pip install nano-pdf`.
3. Verify the installation by running `nano-pdf --version` in your terminal.
4. Configure your environment to use the installed nano-pdf executable.

View Aider documentation

Have a Skill to Share?

Join the community and help AI agents learn new capabilities. Submit your skill and reach thousands of developers.