Productivity
nano-pdf avatar

nano-pdf

Edit and modify PDF documents using natural-language instructions via the nano-pdf command-line interface.

Introduction

nano-pdf is a specialized skill for the OpenClaw AI assistant, designed to streamline document manipulation by enabling direct edits to PDF files using plain English. It serves as an bridge between high-level user intent and the underlying document structure, allowing users to modify content without needing specialized graphic design software or manual PDF editors. Whether you need to update a title, correct a typo, or perform minor layout-aware text adjustments, this tool translates your verbal or typed requests into precise document modifications. It is particularly useful for professionals who frequently update decks, reports, or contracts and want to handle these changes within their personal assistant workflow.

  • Natural language processing for document edits: Simply describe the change you want to see, such as updating text or correcting typos.

  • Page-specific modification: Targeted editing functionality allows you to apply changes to specific pages within a multi-page document.

  • CLI-based performance: Leverages the speed and efficiency of the command line, integrating seamlessly with your local terminal environment and the OpenClaw assistant daemon.

  • Automated workflow integration: Because it operates via CLI, it can be triggered as part of larger automated pipelines, helping to manage documents faster than manual intervention.

  • Input handling: Requires a target PDF file path, a specified page number, and a string containing the natural-language instruction for the edit.

  • Page indexing: Note that the tool supports both 0-based and 1-based page indexing; if the target page appears incorrect, verify the indexing configuration for your specific version.

  • Quality Assurance: Always perform a visual sanity check of the output PDF to ensure the AI interpreted your instructions accurately before finalizing or distributing the document.

  • Compatibility: Designed to work optimally within the OpenClaw assistant ecosystem, requiring Node.js environments and the OpenClaw gateway daemon.

  • Scope: Best suited for text-based modifications and minor structural tweaks rather than complex graphic design or high-fidelity vector transformations.

Repository Stats

Stars
366,065
Forks
75,055
Open Issues
6,978
Language
TypeScript
Default Branch
main
Sync Status
Idle
Last Synced
Apr 29, 2026, 07:52 AM
View on GitHub