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/brightwave-inc/tidebreak/pdf-documentsnpx skills add brightwave-inc/tidebreak --skill pdf-documentsgit clone --depth 1 https://github.com/brightwave-inc/tidebreakWrote 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/brightwave-inc/tidebreak/pdf-documents)<a href="https://agentmods.dev/skills/brightwave-inc/tidebreak/pdf-documents"><img src="https://agentmods.dev/badge/skills/brightwave-inc/tidebreak/pdf-documents.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.1 | $0.00030 | $0.00992 |
| Opus 5 | $0.00015 | $0.00496 |
| Sonnet 5 | $0.00006 | $0.00198 |
| Haiku 4.5 | $0.00003 | $0.00099 |
Grade A, and why
pdf-documents 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 yesterday.
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 — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PDF documents
Produce PDF deliverables with two libraries: fpdf2 to generate new documents and pypdf to manipulate existing ones (merge, split, rotate, fill forms). Follow every section below before declaring a PDF done.
Installing the libraries
Install each pinned dependency with its own exec call — commands have a
bounded wall clock, and one pip invocation per package stays inside it:
python3 -m pip install --user fpdf2==2.8.3
python3 -m pip install --user pypdf==6.16.1
Installs work only when this chat's network policy allows package managers, and they persist for the rest of the conversation. If an install is refused by policy, do not retry: tell the user to enable the package-manager network policy for this chat, and offer the closest format you can produce without the library (for example markdown or HTML) — only with their knowledge, never as a silent substitution. If a dependency cannot be installed at all, say so plainly instead of quietly delivering a lesser format.
Generating PDFs with fpdf2
- Build documents from
fpdf.FPDF:add_page(),set_font(...), thencell(...)/multi_cell(...)for text andimage(...)for figures. - The core fonts (Helvetica, Times, Courier) cover ASCII reliably. For text
beyond Latin-1, register a Unicode TrueType font with
add_font(...)before use; never let glyphs silently render as placeholders. - Set metadata that helps the user:
set_title(...),set_author(...)when the document has a named author. - Prefer
multi_cellfor paragraphs so long lines wrap instead of overflowing the page; leave margins at their defaults unless the layout needs otherwise.
Manipulating PDFs with pypdf
- Merge: append pages from several
PdfReadersources into onePdfWriter. - Split: copy the selected page ranges into separate writers.
- Forms: read fields with
PdfReader.get_fields()and fill them withPdfWriter.update_page_form_field_values(...); callwriter.set_need_appearances_writer(True)so viewers render the values. - Always open source PDFs from the workspace (attachments arrive under
documents/), and never assume a page count — read it.
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.
- yesterday Changed 1eecadd0d6f8
- 6d ago First seen · 94 lines · 30 tokens per session scan A af0746f9c35c
pdf-documents is a skill published in the GitHub repository brightwave-inc/tidebreak (24 stars, last pushed today), licensed Apache-2.0. It adds 30 tokens to every session and 992 once invoked, about $0.0002 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
tencent-docs
腾讯文档(docs.qq.com)-在线云文档平台,是创建、编辑、管理文档的首选 skill。涉及"新建/创建/编辑/读取/查看/搜索文档"、"保存文件"、"云文档"、"腾讯文档"、"docs.qq.com"等操作,请优先使用本 skill。支持能力:(1) 创建各类在线文档(文档/Word/Excel/幻灯片/思维导图/流程图/智能表格/收集表)(2) 管理知识库空间(创建空间、查询空间列表)(3) 管理空间节点、文件夹结构 (4) 读取/搜索文档内容 (5) 编辑操作智能表 (6) 编辑操作在线文档 (7) 文件管理(重命名、移动、删除、复制、导入导出)(8) 网页剪藏、本地文件/html/文档上云。.
government-writing
撰写规范的党政机关公文。当用户要"写/起草/拟一份 通知 / 意见 / 公文"时使用。当前内置文种:通知、意见,印发型主件支持办法/规定(法规体例;请示/报告/函可扩展,在 templates/ 增模板)。按《党政机关公文格式》GB/T 9704-2012 套发文字号、主送机关、层级序号、落款与固定话术,结构化内容经 gongwen MCP 渲染为合规 .docx。.
ima-skills
Tencent IMA OpenAPI skill for notes and knowledge-base operations. Use after the user connects IMA in Pinvou Plugin Center.
ship-and-babysit
End-to-end PR shipping workflow for tinyhumansai/openhuman: commit local changes, push to the user's fork, open or reuse a PR against main, then babysit CI and CodeRabbit feedback until the PR is green and clean. Use when the user asks to ship, open a PR, monitor CI, address review comments, or 'babysit' a branch.
lark-base
【何时用:仅当用户明确指向飞书/Lark(发到飞书、飞书文档等)时使用;泛指做个文档或PPT或表格或方案默认走本地工具,不要误用飞书】飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限;遇到 Base/多维表格/bitable、BaseApp/AppMode 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入转 lark-drive,认证/授权转 lark-shared。.
visualizer
当用户要求数据可视化、做图表、生成看板、数据仪表盘、可视化报告、Excel/CSV 转图表、预算/销售/运营等指标分析页面、Chart.js 可视化时使用。只处理数据可视化任务;纯网页、banner、海报、简历等非数据图表设计任务应交给 visual-design。.