Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add nexus-research-lab/nexus --skill pdfgit clone --depth 1 https://github.com/nexus-research-lab/nexusWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nexus-research-lab/nexus/pdf)<a href="https://agentmods.dev/skills/nexus-research-lab/nexus/pdf"><img src="https://agentmods.dev/badge/skills/nexus-research-lab/nexus/pdf/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nexus-research-lab/nexus/pdf"><img src="https://agentmods.dev/badge/skills/nexus-research-lab/nexus/pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00085 | $0.00882 |
| Opus 5.5 | $0.00034 | $0.00353 |
| Sonnet 5.5 | $0.00017 | $0.00176 |
| Haiku 4.5 | $0.00009 | $0.00088 |
Grade A, and why
pdf scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
PDF 文档
| 任务 | 路径 |
|---|---|
| 阅读、问答、视觉审阅 | 优先用运行时 Read 读取相关页面 |
| 提取表格或复杂布局 | 用 pdfplumber,并对照原页面 |
| 合并、拆分、旋转、裁剪、元数据、水印 | 用 pypdf |
| 新建 PDF | 用 ReportLab;长文档优先使用 Platypus 流式排版 |
| 填写 AcroForm | 用 pypdf,同时校验字段树与页面 Widget |
| 扫描件 | 先看页面图像;只有用户需要可搜索文本时才做 OCR |
工作契约
- 只读问题不改写或重新导出 PDF。
- 写操作保留原文件并输出新文件;已签名 PDF 默认只读,写入前说明签名会失效。
- 先直接使用当前环境。依赖导入失败且任务需要时,取得用户同意后在隔离环境安装
${CLAUDE_SKILL_DIR}/requirements.txt,不要静默修改系统 Python。
读取
- 长文件只读取与问题相关的页面,但答案必须保留页码依据。
- 文本抽取不能证明版式、图表、签名或扫描内容;这些信息必须查看页面。
- 表格抽取后核对表头、跨页行、脚注和合并单元格,不能只相信二维数组。
- 加密、损坏或无法可靠 OCR 的文件要明确说明,不猜内容。
创建与编辑
- 新建前确定纸张、用途和阅读场景;中文和其他非拉丁文字注册真实可用字体,避免缺字方块。
- 可见内容使用明确的页边距、层级和分页;表格重复表头并避免行被裁断。
- PDF 适合页面级编辑,不适合可靠重排既有正文。正文大改时请求源 DOCX/PPTX 或重建新 PDF。
- 表单默认保持可交互。更新后核对
get_fields()中的值、每页/Widget的有效值和/AP外观; 只有用户明确要求静态成品时才扁平化,并确认 Widget 与 AcroForm 字段树均已移除。
完成条件
- 用
pypdf重新打开最终文件,确认页数、加密状态、页面顺序和表单结构符合任务。 - 用 Poppler 渲染全部页面并逐页检查:
pdftoppm -png -r 144 "<output.pdf>" "<empty-qa-dir>/page"
- 修复截字、重叠、乱码、黑方块、模糊图片、错误页码、断裂表格和意外空白页后重新渲染。
- 缺少
pdftoppm时可以继续纯文本读取;写任务要说明未完成视觉检查。 - 最终只交付 PDF,不附带页面 PNG、构建脚本或临时叠加文件。
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 66 lines · 85 tokens per session scan A 52ece092950d
pdf is a skill published in the GitHub repository nexus-research-lab/nexus (154 stars, last pushed yesterday), licensed Apache-2.0. It adds 85 tokens to every session and 882 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
Nano PDF
Extract, inspect, and summarize PDFs quickly with lightweight tooling before escalating to heavier OCR or layout workflows.
OCR and Documents
Recover text from scanned or image-heavy documents before attempting structured analysis or downstream writing tasks.
nano-pdf
Edit PDF text/typos/titles via nano-pdf CLI (NL prompts).
ocr-and-documents
Extract text from PDFs/scans (pymupdf, marker-pdf).
pdf-toolkit
Structured .pdf operations: extract text/tables, merge pages from multiple PDFs, split a PDF by page ranges, fill PDF form fields, and generate fresh PDFs from JSON. Trigger when the user wants programmatic PDF work without natural-language rewriting — examples: pull tables from a report, combine three PDFs, extract…
figures
Makes publication-quality plots from data with matplotlib, learning curves, scaling laws, benchmark and ablation comparisons, Pareto trade-offs, heatmaps and confusion matrices, sized for the page, vector, with uncertainty shown. Use whenever results are plotted, charted or visualized for a paper, report or answer, or…