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 skills/afk-surf/openbridge/pdfsnpx skills add AFK-surf/OpenBridge --skill pdfsgit clone --depth 1 https://github.com/AFK-surf/OpenBridgeWrote 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/afk-surf/openbridge/pdfs)<a href="https://agentmods.dev/skills/afk-surf/openbridge/pdfs"><img src="https://agentmods.dev/badge/skills/afk-surf/openbridge/pdfs.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00010 | $0.00841 |
| Opus 5 | $0.00005 | $0.00420 |
| Sonnet 5 | $0.00002 | $0.00168 |
| Haiku 4.5 | $0.00001 | $0.00084 |
Grade A, and why
pdfs 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 5d 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 — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PDF reading, creation, and review guidance
Reading PDFs
- Use
pdftoppm -png $OUTDIR/$BASENAME.pdf $OUTDIR/$BASENAMEto convert PDFs to PNGs. - Then open the PNGs and read the images.
pdfplumberis also installed and can be used to read PDFs. It can be used as a complementary tool topdftoppmbut not replacing it.- Only do python printing as a last resort because you will miss important details with text extraction (e.g. figures, tables, diagrams).
Primary tooling for creating PDFs
- Generate PDFs programmatically with
reportlabas the primary tool. In most cases, you should usereportlabto create PDFs. - If there are other packages you think are necessary for the task (eg.
pypdf,pyMuPDF), you can use them but you may need to pip install them first.
Font support for non-ASCII characters
- Before creating PDFs with Chinese, Japanese, Korean (CJK) or other non-ASCII characters, install the required fonts:
apt-get update && apt-get install -y fonts-noto-cjk fonts-noto-core fonts-noto-ui-core - After installing fonts, rebuild the font cache:
fc-cache -fv - Verify fonts are available:
fc-list :lang=zh(for Chinese) - After each meaningful update—content additions, layout adjustments, or style changes—render the PDF to images to check layout fidelity:
pdftoppm -png $INPUT_PDF $OUTPUT_PREFIX
- Inspect every exported PNG before continuing work. If anything looks off, fix the source and re-run the render → inspect loop until the pages are clean.
Quality expectations
- Maintain a polished, intentional visual design: consistent typography, spacing, margins, color palette, and clear section breaks across all pages.
- Avoid major rendering issues—no clipped text, overlapping elements, black squares, broken tables, or unreadable glyphs. The rendered pages should look like a curated document, not raw template output.
- Charts, tables, diagrams, and images must be sharp, well-aligned, and properly labeled in the PNGs. Legends and axes should be readable without excessive zoom.
- Text must be readable at normal viewing size; avoid walls of filler text or dense, unstructured bullet lists. Use whitespace to separate ideas.
- Never use the U+2011 non-breaking hyphen or other unicode dashes as they will not be rendered correctly. Use ASCII hyphens instead.
- Citations, references, and footnotes must be human-readable and professional. No tool-internal tokens (e.g.,
[145036110387964†L158-L160]), malformed URLs, or placeholder text should be present in the document. - You must convert all citations into a human-readable format in the document with standard scholarly citation format. No
【【turn1541736113682297662view0†L11-L19】notations are allowed in the document as the reader cannot interpret them (such citations will be severely penalized). - Correct every formatting defect you see in the PNGs, including but not limited to: overlapping text or shapes, clipped text or shapes that are cut off, black squares, broken tables, unreadable characters, etc.
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.
- 5d ago First seen · 48 lines · 10 tokens per session scan A 599e18fa63da
pdfs is a skill published in the GitHub repository AFK-surf/OpenBridge (426 stars, last pushed 2mo ago), licensed MIT. It adds 10 tokens to every session and 841 once invoked, about $0.0001 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
foundry-hosted-agent-validation
Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.
skill-doc-delivery
Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.
pdf-extract-create-workflow
Complete PDF lifecycle: download, extract, and generate structured documents with reportlab.
document-direct-python
Use direct Python execution for reliable document creation including spreadsheets, PDFs, and structured reports.
pdf-verification-cli
Verify PDF page count and content using command-line tools when Python libraries unavailable.
pdf-text-extraction-fallback-85d5ca
Fallback workflow for extracting text from PDFs when readfile returns binary data.