技能图谱SKILLSGROVE
技能图谱/办公文档/AjayRajan05/VoiceOS/nano-pdf

nano-pdf

安装

$npx skills add https://github.com/AjayRajan05/VoiceOS --skill nano-pdf
$git clone --depth 1 https://github.com/AjayRajan05/VoiceOS.git /tmp/VoiceOS && mkdir -p ~/.claude/skills && cp -r /tmp/VoiceOS/skills/bundled/community/productivity/nano-pdf ~/.claude/skills/nano-pdf
请帮我安装这个 Agent Skill:https://github.com/AjayRajan05/VoiceOS/tree/54ebf8e7c3e954eff455efd6a097d3d099d05729/skills/bundled/community/productivity/nano-pdf ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITEdit PDF text/typos/titles via nano-pdf CLI (NL prompts).
以下 SKILL.md 内容转载自 AjayRajan05/VoiceOS(提交 54ebf8e),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 VoiceOS contributors 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

nano-pdf

Edit PDFs using natural-language instructions. Point it at a page and describe what to change.

Prerequisites

# Install with uv (recommended — already available in VoiceOS)
uv pip install nano-pdf

# Or with pip
pip install nano-pdf

Usage

nano-pdf edit <file.pdf> <page_number> "<instruction>"

Examples

# Change a title on page 1
nano-pdf edit deck.pdf 1 "Change the title to 'Q3 Results' and fix the typo in the subtitle"

# Update a date on a specific page
nano-pdf edit report.pdf 3 "Update the date from January to February 2026"

# Fix content
nano-pdf edit contract.pdf 2 "Change the client name from 'Acme Corp' to 'Acme Industries'"

Notes

  • Page numbers may be 0-based or 1-based depending on version — if the edit hits the wrong page, retry with ±1
  • Always verify the output PDF after editing (use read_file to check file size, or open it)
  • The tool uses an LLM under the hood — requires an API key (check nano-pdf --help for config)
  • Works well for text changes; complex layout modifications may need a different approach
查看许可证全文(MIT)
MIT License

Copyright (c) VoiceOS contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
查看 NOTICE 声明
VoiceOS
Copyright (c) VoiceOS contributors

We are grateful to the Nous Research open-source repository; its work was deeply insightful and helped us in many ways.