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 agentmods add instructions/open-document-alliance/pdf-tools/agents-mdgit clone --depth 1 https://github.com/Open-Document-Alliance/PDF-ToolsWhat 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 | $0.02777 | $0.02777 |
| Opus 5 | $0.01388 | $0.01388 |
| Sonnet 5 | $0.00555 | $0.00555 |
| Haiku 4.5 | $0.00278 | $0.00278 |
Grade A, and why
PDF-Tools AGENTS.md 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 3d 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 — 231 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository Guidelines
Active Kepano / Shannon Work
Before continuing the current extraction-improvement tranche, read
docs/handoffs/KEPANO_SHANNON.md. The crucial starting fact is that Kepano's
example is Shannon's A Mathematical Theory of Communication PDF; it is not a
separate example to locate.
Project Structure & Module Organization
server/index.js: Node MCP server exposing PDF tools shared by Claude Desktop and Cursor. Keep tool definitions and helper utilities here; prefer incremental updates over rewrites.pdf-toolkit-mcp-share/: Packaged variant used bypackage-for-friend.js; mirror changes fromserver/index.jswhen APIs evolve.manifest.jsonandindex.html: Claude Desktop extension metadata and UI stub. Update versions alongsidepackage.json.example-fw9.pdf: Sample form for smoke tests. Keep anonymized assets only.
Tools currently shipped
This is the complete registered set, not a selection.
display_pdf,list_pdfs,read_pdf_fields,fill_pdf,bulk_fill_from_csv,save_profile,load_profile,list_profiles,fill_with_profile,extract_to_csv,validate_pdf,read_pdf_content,read_pdf_pages,read_pdf_layout,search_pdf_text,convert_pdf_to_markdown,verify_table_proposal,get_pdf_identity,get_pdf_info,get_page_analysis,inspect_pdf_accessibility,compare_pdfs,render_pdf_page,render_pdf_region,fetch_pdf_from_url,merge_pdfs,split_pdf,rotate_pdf_pages,reorder_pdf_pages,apply_page_plan,create_signature,list_signatures,load_signature,detect_signature_zones,add_signature_field,prepare_signing_packet,apply_signature,apply_text,get_active_document,set_active_document,get_allowed_directories,get_pdf_resource_uri,reveal_in_finder,read_pdf_bytes(app-only).
get_pdf_info returns bounded source-bound observations. Widget annotations
belong to form fields; ordinary annotations remain separate and their targets
are returned only as inert values. Render tools bind PNG and, when native
canvas is available, raw RGBA digests to the exact source SHA-256.
Render-region inputs are top-left PDF.js viewport points after CropBox,
rotation, and UserUnit, not MediaBox-relative signing coordinates. The macOS
system renderer uses the same view mapping for whole pages and regions and
reports raw pixels unavailable.
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.
- 3d ago First seen · 231 lines · 2,777 tokens per session scan A da826f631c88
PDF-Tools AGENTS.md is an instructions file published in the GitHub repository Open-Document-Alliance/PDF-Tools (153 stars, last pushed 9d ago), licensed MIT. It adds 2,777 tokens to every session, about $0.0139 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 instructions, from other repositories
nutrient-pdf-mcp-server CLAUDE.md
Instructions for PSPDFKit/nutrient-pdf-mcp-server, covering nutrient pdf mcp server - claude memory, project overview, key features, architecture and mcp tools.
translate-book CLAUDE.md
Instructions for deusyu/translate-book, covering claude.md, project, structure, testing changes and then run translation via the skill.
PDF-Writer CLAUDE.md
Instructions for galkahana/PDF-Writer, covering claude code context - pdf-writer development guide, project overview, coding standards discovered, project structure and key components.
zpdf CLAUDE.md
Instructions for Xero-Team/zpdf, covering claude.md, build & test commands, architecture, key design constraints and code patterns.
pdf-toolkit-mcp CLAUDE.md
Instructions for AryanBV/pdf-toolkit-mcp, covering pdf-toolkit-mcp, 1. project overview, 2. tech stack, 3. project structure and 4. mcp sdk patterns.
agentic-resume-builder CLAUDE.md
Claude Code instructions for WtotdeD/agentic-resume-builder, covering agentic-resume-builder development guidelines, what this repo is, active technologies, package manager and validation.