Token导航 LogoToken导航

Agent Skill · 研究检索

nano-pdf(Nano PDF 文档)

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

nano-pdf 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 41,143。

总安装 1,212周安装 50GitHub Stars 4下载 396核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill nano-pdf

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

nano-pdf 提供 PDF 处理工具,包括文本提取、数据挖掘、表单填写、文件操作及 OCR 集成,用于高效处理文档工作流。适用于数据管道、文档自动化脚本或需要从扫描件中提取结构化信息的场景。支持文本提取、表单提交、文件合并拆分等核心能力,可结合 OCR 服务处理非文本 PDF。

安装方式为 GitHub 仓库,使用前需确认是否涉及文件读写和网络请求权限。nano-pdf 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/nano-pdf

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/alphaonedev/openclaw-graph --skill nano-pdf;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

nano-pdf 怎么安装?

在终端执行 npx skills add https://github.com/alphaonedev/openclaw-graph --skill nano-pdf。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

nano-pdf 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

nano-pdf 需要什么权限?

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

nano-pdf 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

nano-pdf 用的人多吗?

公开数据是累计安装 1,212 次,近一周安装 50 次,下载 396 次,GitHub 4 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

nano-pdf 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
nano-pdf

Nano PDF 文档 · 本页

1,2124接触敏感数据未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

nano-pdf

Purpose

This skill provides tools for PDF processing, including text extraction, mining, form filling, manipulation, and OCR integration, to handle document workflows efficiently.

When to Use

Use this skill for tasks involving PDF data extraction (e.g., from scanned documents), text analysis in reports, automating form submissions, merging/splitting files, or applying OCR to non-text PDFs. Apply it in data pipelines, document automation scripts, or when integrating with OCR services for unstructured data.

Key Capabilities

  • Text extraction: Pulls plain text or structured data from PDFs, supporting encrypted files with passwords; uses OCR via Tesseract integration for image-based PDFs.
  • Text mining: Analyzes extracted text for keywords, sentiment, or patterns; e.g., counts occurrences of phrases in a document.
  • Form filling: Populates interactive PDF forms with JSON data; supports flattening forms to static PDFs.
  • Manipulation: Merges, splits, rotates, or watermarks PDFs; handles up to 500-page documents efficiently.
  • OCR integration: Converts scanned PDFs to searchable text using external APIs; requires Tesseract or similar engine configuration.

Usage Patterns

Invoke via CLI for quick scripts or API for server-side integration. For batch processing, chain commands in a shell script; for web apps, use API calls in loops. Always specify input/output paths explicitly. Pattern: Extract text first, then mine or manipulate as needed. For OCR-heavy tasks, preprocess images before PDF operations.

Common Commands/API

CLI commands use nano-pdf binary; API endpoints are under https://api.opencclaw.com/nano-pdf/. Authentication requires $NANO_PDF_API_KEY environment variable.

  • Extract text: nano-pdf extract --file input.pdf --output text.txt --ocr true (adds OCR if text is not selectable).
  • Mine text: nano-pdf mine --input text.txt --keywords "AI,robot" --output results.json (outputs keyword frequencies).
  • Fill form: nano-pdf fill --template form.pdf --data '{"field1": "value"}' --output filled.pdf.
  • Manipulate PDF: nano-pdf merge --files file1.pdf file2.pdf --output combined.pdf.
  • API endpoint for extraction: POST /extract with body {"file": "base64encoded_content", "ocr": true} and header Authorization: Bearer $NANO_PDF_API_KEY.
  • Code snippet (Python): import requests response = requests.post('https://api.opencclaw.com/nano-pdf/extract', headers={'Authorization': f'Bearer {os.environ["NANO_PDF_API_KEY"]}'}, json={'file': 'base64data'}) print(response.json()['text'])
  • Config format: JSON for API bodies, e.g., {"file": "path", "options": {"ocr_engine": "tesseract", "language": "en"}}; CLI uses flag-based configs like --config config.json.

Integration Notes

Integrate by setting $NANO_PDF_API_KEY for authenticated requests; for local use, install via pip install nano-pdf and import as a module. Combine with other tools: pipe CLI output to NLP libraries for mining, or use in Node.js via HTTP requests. For OCR, ensure Tesseract is installed and configured in your environment path. Test integrations in a sandbox to verify API rate limits (e.g., 100 requests/min).

Error Handling

Check for common errors like file not found (exit code 404), invalid API keys (401), or OCR failures (e.g., no Tesseract installed). Use try-except in code:

try:
    result = nano_pdf.extract('input.pdf')
except FileNotFoundError:
    print("Error: File does not exist.")
except Exception as e:
    print(f"API Error: {e} - Check $NANO_PDF_API_KEY.")

For CLI, parse stderr output; retry transient errors (e.g., network issues) with exponential backoff. Always validate inputs, like ensuring PDFs are not corrupted before processing.

Example 1: Extract and Mine Text from a PDF

To extract text from a scanned invoice PDF and mine for product names:

  1. Run: nano-pdf extract --file invoice.pdf --output invoice_text.txt --ocr true
  2. Then: nano-pdf mine --input invoice_text.txt --keywords "product" --output analysis.json This produces a JSON with keyword occurrences for further processing.

Example 2: Fill and Manipulate a Form PDF

To fill a job application form and merge it with a cover letter:

  1. Prepare data in JSON: {"name": "John Doe", "position": "Engineer"}
  2. Execute: nano-pdf fill --template application.pdf --data application_data.json --output filled_app.pdf
  3. Merge: nano-pdf merge --files filled_app.pdf cover_letter.pdf --output final_packet.pdf Output is a single PDF ready for submission.

Graph Relationships

  • Related to: "ocr-tool" (for enhanced OCR capabilities), "document-parser" (for broader file type support), "text-analyzer" (for advanced mining integrations).
  • Clusters: Connected via "community" cluster to skills like "data-extraction" and "automation-utils".

平台分布

Codex

35.62%
按下载量换算141

Claude

31.76%
按下载量换算126

Cursor

19.53%
按下载量换算77

Gemini CLI

10.49%
按下载量换算42

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

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

安装前确认

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

继续浏览同类 Skills