nano-pdf
Edit PDFs with natural-language instructions using the nano-pdf CLI.
Install via CLI (Recommended)
clawhub install openclaw/openclaw/skills/nano-pdfnano-pdf
What This Skill Does
The nano-pdf skill allows you to edit existing PDF documents using natural language commands. Instead of manually opening a PDF editor and making precise adjustments, you can instruct the nano-pdf tool to modify specific pages within a PDF file. This is particularly useful for making quick changes, correcting errors, or updating content without requiring complex graphical interfaces. The skill leverages the nano-pdf command-line interface (CLI) to process your requests. You specify the PDF file, the page number you wish to edit, and a natural language description of the changes you want to apply. The tool then interprets this instruction and attempts to modify the PDF accordingly. Remember to always verify the output PDF to ensure the edits were applied as expected, as natural language processing can sometimes lead to unintended results.
Installation
To install the nano-pdf skill, use the following command:
clawhub install openclaw/openclaw/skills/nano-pdf
This command will download and set up the nano-pdf skill within your OpenClaw environment, making it ready for use.
Use Cases
- Content Updates: Quickly change text, titles, or subtitles within a PDF document, such as updating report figures or presentation slides.
- Error Correction: Fix typos or grammatical errors on specific pages of a document without needing to re-create the entire PDF.
- Minor Revisions: Make small adjustments to existing documents, like changing dates, names, or contact information.
- Template Customization: Edit pre-defined templates by providing new information through natural language.
Example Prompts
- "Edit the
project_proposal.pdffile on page 3. Change the client's name from 'Acme Corp' to 'Globex Inc.' and add the current date to the footer." - "On the second page of
meeting_minutes.pdf, update the action item list to remove the item related to 'budget approval' and add a new item: 'Schedule follow-up meeting'." - "Modify
invoice_template.pdfon the first page. Replace the placeholder text 'Your Company Name' with 'Innovate Solutions' and adjust the invoice number to 'INV-2024-007'."
Tips & Limitations
- Page Numbering: Be aware that page numbers can be 0-based or 1-based. If your initial edits appear on the wrong page, try adjusting the page number by one (e.g., if you specified page 2, try page 1 or 3).
- Sanity Check Output: Always review the modified PDF file after using the
nano-pdfskill. Natural language interpretation might not always be perfect, and visual inspection is crucial to confirm the accuracy of the edits. - Complexity: For very complex edits or significant layout changes, manual editing using dedicated PDF software might be more efficient and reliable.
- File Permissions: Ensure that OpenClaw has the necessary read and write permissions for the target PDF file and its directory.
- Tool Version: The behavior of page numbering may depend on the specific version or configuration of the
nano-pdftool. Consult its documentation if issues arise.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-openclaw-nano-pdf": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read
Related Skills
apple-notes
Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.
sherpa-onnx-tts
Local text-to-speech via sherpa-onnx (offline, no cloud)
goplaces
Query Google Places for text search, place details, resolve, reviews, or scriptable JSON via goplaces.
skill-creator
Create, edit, improve, tidy, review, audit, or restructure AgentSkills and SKILL.md files.
video-frames
Extract frames or short clips from videos using ffmpeg.