Token导航 LogoToken导航TokenDH.com
研究检索敏感数据unknown未标认证来源可访问许可证需确认审计未展示

nano-pdf-editnano PDF edit 搜索

Agent Skill

nano-pdf-edit 用于查找、检索和筛选相关信息,适合在 Local Agent 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,270

周安装

54

下载量

445
Local Agent

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:nano-pdf-edit(nano PDF edit 搜索)
来源仓库:https://skills.volces.com
仓库路径:nano-pdf-edit
安装命令:
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

简介

用于 PDF 文档内容的查找与筛选。

  • 支持基于关键词定位页面与段落。适用宿主包括 Local Agent,接入前应确认版本、权限和运行环境要求。
  • 适合文献调研与信息提取任务。nano-pdf-edit 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 功能限于阅读与分析不支持修改。
  • 大文件处理可能受内存与性能限制。

SKILL.md

Nano PDF Editing Skill

Edit PDF files with natural language prompts using the nano-pdf CLI tool.

Nano-PDF converts PDF pages to images, sends them to Google's Gemini 3 Pro Image with your edit instructions, then stitches the AI-edited pages back into the PDF — preserving searchable text via OCR re-hydration.

Source: https://github.com/gavrielc/Nano-PDF

Prerequisites

Before running any nano-pdf command, ensure the following dependencies are installed. If any are missing, install them before proceeding:

  1. nano-pdfpip install nano-pdf (or use uvx nano-pdf to run without installing)
  2. poppler — PDF-to-image rendering (brew install poppler on macOS / sudo apt-get install poppler-utils on Linux)
  3. tesseract — OCR for text layer restoration (brew install tesseract on macOS / sudo apt-get install tesseract-ocr on Linux)
  4. GEMINI_API_KEY — A paid Google Gemini API key (free tier does not support image generation). Get one at https://aistudio.google.com/api-keys — then export GEMINI_API_KEY="your_key"

Two Commands

nano-pdf edit — Modify existing pages

nano-pdf edit <file.pdf> <page> "<prompt>" [<page> "<prompt>" ...] [options]

Pages are 1-indexed. Multiple page+prompt pairs can be provided and are processed in parallel.

nano-pdf add — Insert new AI-generated slides

nano-pdf add <file.pdf> <position> "<prompt>" [options]

Position 0 inserts at the beginning. The new slide automatically matches the visual style of the existing deck. Document context is enabled by default for add.

Options Reference

For full details on all available flags, read references/options.md in this skill directory.

Key flags:

  • --output "new.pdf" — Output filename (default: edited_<original>.pdf)
  • --resolution "4K"4K (default), 2K, or 1K
  • --style-refs "1,5" — Pages to use as style references
  • --use-context / --no-use-context — Include full PDF text as model context
  • --disable-google-search — Prevent model from using Google Search

Workflow

When a user asks to edit a PDF:

  1. Check dependencies — Ensure nano-pdf, poppler, tesseract, and GEMINI_API_KEY are available. If any are missing, tell the user what to install and stop.
  2. Identify the edit — Determine which page(s) need changes and what the prompt should be
  3. Choose the right commandedit for modifying existing pages, add for inserting new ones
  4. Pick appropriate options:

- Use --style-refs if the user wants a specific visual style from certain pages - Use --use-context when editing multiple pages that need to be consistent - Use --resolution "2K" if speed matters more than quality

  1. Run nano-pdf and present the output PDF to the user

Prompt Writing Tips

The quality of the edit depends heavily on the prompt. Follow these guidelines:

  • Be specific: "Change the title from 'Overview' to 'Q3 Summary'" beats "update the title"
  • Reference visible elements: "The bar chart on the left side" helps the model locate what to change
  • One focused change per prompt: For complex edits, use multiple page+prompt pairs
  • Mention what to preserve: "Keep the layout the same but change the header color to blue"
  • Use style refs for consistency: When updating branding across pages, point at a reference page

Examples

For a comprehensive set of examples covering common use cases (typos, charts, branding, adding slides, batch edits), read references/examples.md in this skill directory.

Quick reference:

# Fix a typo on page 3
nano-pdf edit report.pdf 3 "Fix 'recieve' to 'receive'"

# Update chart data
nano-pdf edit deck.pdf 12 "Update the revenue chart to show Q3 at $2.5M"

# Multi-page branding update
nano-pdf edit slides.pdf \
  1 "Change header background to dark blue, text to white" \
  2 "Update the logo to show 'NewCorp' instead of 'OldCorp'" \
  --style-refs "1" --output branded.pdf

# Add a new title slide at the beginning
nano-pdf add deck.pdf 0 "Title slide: 'Annual Review 2025' with subtitle 'Building the Future'"

# Add a summary slide after page 5 using document context
nano-pdf add deck.pdf 5 "Summary slide with key takeaways as bullet points"

Troubleshooting

IssueSolution
Missing system dependenciesInstall missing deps (see Prerequisites above), restart terminal
GEMINI_API_KEY not foundexport GEMINI_API_KEY="your_key"
PAID API key requiredEnable billing at https://aistudio.google.com/api-keys
Style mismatchUse --style-refs "1,3" pointing at pages with desired style
Slow processingUse --resolution "2K" or "1K"
Bad OCR / text layerUse --resolution "4K" for better OCR accuracy
Model ignores part of promptBreak into smaller, focused edits across multiple runs

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Local Agent

75.49%
按下载量换算336

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills