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 XMZF-vAI/clerkbox --skill pdfgit clone --depth 1 https://github.com/XMZF-vAI/clerkboxWrote 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/xmzf-vai/clerkbox/pdf)<a href="https://agentmods.dev/skills/xmzf-vai/clerkbox/pdf"><img src="https://agentmods.dev/badge/skills/xmzf-vai/clerkbox/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/xmzf-vai/clerkbox/pdf"><img src="https://agentmods.dev/badge/skills/xmzf-vai/clerkbox/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.00092 | $0.02243 |
| Opus 5 | $0.00046 | $0.01122 |
| Sonnet 5 | $0.00018 | $0.00449 |
| Haiku 4.5 | $0.00009 | $0.00224 |
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 9d 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 — 329 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Working with PDF Documents
Introduction
A comprehensive toolkit for PDF manipulation through Python and shell utilities. Consult advanced-reference.md for extended capabilities (pypdfium2, JavaScript ecosystems, performance guidance). When form-filling is required, follow the workflow described in form-filling-guide.md.
Getting Started
import pypdf
# Open and inspect a document
doc = pypdf.PdfReader("document.pdf")
total_pages = len(doc.pages)
print("Pages: {}".format(total_pages))
# Gather all textual content
content = "".join(pg.extract_text() for pg in doc.pages)
Core Python Libraries
pypdf — Structural Manipulation
Combining Multiple Documents
import pypdf
output = pypdf.PdfWriter()
sources = ["doc1.pdf", "doc2.pdf", "doc3.pdf"]
for src in sources:
rdr = pypdf.PdfReader(src)
for pg in rdr.pages:
output.add_page(pg)
with open("merged.pdf", "wb") as dest:
output.write(dest)
Separating Pages Into Individual Files
import pypdf
source = pypdf.PdfReader("input.pdf")
for idx, pg in enumerate(source.pages):
single = pypdf.PdfWriter()
single.add_page(pg)
with open("page_{}.pdf".format(idx + 1), "wb") as dest:
single.write(dest)
Reading Document Properties
import pypdf
source = pypdf.PdfReader("document.pdf")
props = source.metadata
print("Title: {}".format(props.title))
print("Author: {}".format(props.author))
print("Subject: {}".format(props.subject))
print("Creator: {}".format(props.creator))
Changing Page Orientation
import pypdf
source = pypdf.PdfReader("input.pdf")
output = pypdf.PdfWriter()
target = source.pages[0]
target.rotate(90) # 90-degree clockwise rotation
output.add_page(target)
with open("rotated.pdf", "wb") as dest:
output.write(dest)
pdfplumber — Content Extraction
Retrieving Text Preserving Layout
import pdfplumber
with pdfplumber.open("document.pdf") as doc:
for pg in doc.pages:
content = pg.extract_text()
print(content)
What ships with it
11 files 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.
- .skill-metadata.yaml 8.6 KB
- advanced-reference.md 14 KB
- form-filling-guide.md 11 KB
- scripts/check_bounding_boxes.py 6.4 KB runs code
- scripts/check_fillable_fields.py 1.6 KB runs code
- scripts/convert_pdf_to_images.py 2.8 KB runs code
- scripts/create_validation_image.py 3.4 KB runs code
- scripts/extract_form_field_info.py 7.3 KB runs code
- scripts/extract_form_structure.py 6.9 KB runs code
- scripts/fill_fillable_fields.py 6.4 KB runs code
- scripts/fill_pdf_form_with_annotations.py 5.7 KB runs code
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.
- 9d ago First seen · 329 lines · 92 tokens per session scan A 4975652d6e16
pdf is a skill published in the GitHub repository XMZF-vAI/clerkbox (7 stars, last pushed 3d ago), licensed Apache-2.0. It adds 92 tokens to every session and 2,243 once invoked, about $0.0005 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-31.
Other skills, from other repositories
pdf-processing
Extract text from PDFs, fill forms, and merge documents.
conversion
Converting documents between formats with stencila convert - lossless vs lossy targets, quantifying conversion losses, decoding options, and ingesting documents by DOI, arXiv, or PubMed Central identifier. Use when converting to or from DOCX, PDF, LaTeX, JATS, IPYNB, MyST, Quarto or other formats, or importing…
publishing
Publishing Stencila documents - rendering to HTML/PDF/DOCX with themes, building and pushing workspace sites, publishing to Ghost or Zenodo, and signing outputs with content credentials. Use when the user wants to publish, deploy a site, apply a theme, produce final outputs, or push to Ghost, Zenodo or Stencila Cloud.
render
Render a Stencila document - execute its code and encode to output formats.
docutranslate
Use when translating documents locally via LLM — PDF, Word, Excel, Markdown, SRT subtitles with format preservation. DocuTranslate: LLM-powered multi-format local file translation tool with MCP server support.
docx
Read, create, and convert Microsoft Word (.docx) documents — extract text and tables, build reports from markdown/JSON, and export to PDF.