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 guoliang1114-boop/AriaAI --skill pdf-managementgit clone --depth 1 https://github.com/guoliang1114-boop/AriaAIWrote 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/guoliang1114-boop/ariaai/pdf-management)<a href="https://agentmods.dev/skills/guoliang1114-boop/ariaai/pdf-management"><img src="https://agentmods.dev/badge/skills/guoliang1114-boop/ariaai/pdf-management/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/guoliang1114-boop/ariaai/pdf-management"><img src="https://agentmods.dev/badge/skills/guoliang1114-boop/ariaai/pdf-management.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.00067 | $0.01394 |
| Opus 5 | $0.00034 | $0.00697 |
| Sonnet 5 | $0.00013 | $0.00279 |
| Haiku 4.5 | $0.00007 | $0.00139 |
Grade A, and why
pdf-management 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PDF Management Toolkit
Advanced PDF operations for project files. Handles merge, split, extract, read, and watermark operations.
When To Use
- 合并多个 PDF 为一个文件
- 拆分 PDF 为多个文件
- 提取 PDF 的特定页面
- 读取 PDF 文本内容(比 read_project_file 更详细)
- 给 PDF 添加水印
Tools
| Tool | Action | Description |
|---|---|---|
manage_pdf |
merge |
合并多个 PDF |
manage_pdf |
split |
按页面范围拆分 PDF |
manage_pdf |
extract |
提取特定页面 |
manage_pdf |
read |
读取 PDF 文本和表格 |
manage_pdf |
watermark |
添加文字水印 |
read_project_file |
read |
简单 PDF 文本提取 |
Usage Examples
合并 PDF
{
"action": "merge",
"file_ids": [101, 102, 103],
"output_name": "合并报告.pdf"
}
拆分 PDF
{
"action": "split",
"file_id": 101,
"page_ranges": [
{"start": 1, "end": 5, "label": "第一部分"},
{"start": 6, "end": 10, "label": "第二部分"}
]
}
提取页面
{
"action": "extract",
"file_id": 101,
"page_numbers": [1, 3, 5, 7],
"output_name": "关键页面.pdf"
}
读取内容
{
"action": "read",
"file_id": 101,
"page_numbers": [1, 2, 3]
}
添加水印
{
"action": "watermark",
"file_id": 101,
"watermark_text": "内部文件",
"output_name": "水印版本.pdf"
}
Workflow
1. Identify → 确定操作类型和目标文件
2. Execute → 调用 manage_pdf 执行操作
3. Confirm → 向用户报告结果
Important Notes
- 所有页码都是 1-based(第一页 = 1)
- 合并操作需要至少 2 个 PDF 文件
- 拆分和提取会创建新文件,不修改原文件
- 水印操作会创建新文件,不修改原文件
- 读取操作返回每页的文本内容和表格数据
Capability Upgrade
Mode Selection
- Quick: 用户只要求合并、拆分、提取或加水印时,直接确认文件、页码和输出名后执行。
- Standard: 处理项目交付物时,先校验文件顺序、页码范围、命名规范和是否需要保留原件。
- Deep: 文件用于知识库、客户档案或正式交付时,执行内容读取、页码索引、章节识别和结果复核。
Context Enrichment
在 Aria 项目空间中使用时,先识别文件属于哪类资产:客户资料、项目文档、会议材料、交付物、合同、审计证据或知识库素材。若用户没有说明用途,根据项目阶段和文件名推断,但必须在回复中披露推断。
Operation Decision Logic
| 用户目标 | 推荐动作 | 关键检查 |
|---|---|---|
| 合成正式交付物 | merge |
文件顺序、封面、目录、页码连续性 |
| 拆出章节 | split |
页码范围、章节标题、输出命名 |
| 提取证据页 | extract |
页码准确性、证据上下文、原文件保留 |
| 读取知识内容 | read |
页码范围、表格/正文区分、缺页风险 |
| 发布前脱敏 | watermark |
水印文本、是否遮挡正文、是否保留无水印原件 |
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.
- 12d ago First seen · 147 lines · 67 tokens per session scan A f3220e55099e
pdf-management is a skill published in the GitHub repository guoliang1114-boop/AriaAI (37 stars, last pushed 4d ago), licensed MIT. It adds 67 tokens to every session and 1,394 once invoked, about $0.0003 per session on Opus 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
Convert PDF to Markdown using opendataloader-pdf, extracting text, tables, headings, and images with correct reading order.
oma-pdf
Convert PDF files to Markdown using opendataloader-pdf. Extracts text, tables, headings, lists, and images with correct reading order. Use for PDF parsing, PDF to Markdown conversion, document extraction, and AI-ready data preparation.
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…
knowledge-summarize
Generate a TL;DR summary of a specific document or learning unit in the Knowledge base. Pulls chunks from pgvector and synthesizes via Claude Haiku. Use when the user wants a quick overview ('summary of lesson 5', 'TL;DR of this PDF', 'explain document X in one paragraph').
file-handling
File handling patterns — S3/R2/Vercel Blob storage, PDF generation, CSV/Excel import-export, file streaming, presigned URLs, multipart upload. Use when implementing file uploads to cloud storage, generating documents, processing large files, or building download endpoints.
nano-pdf
Edit PDFs with natural-language instructions using the nano-pdf CLI.