pdf-documents

pdf-documents is a skill for Claude Code, Codex from brightwave-inc/tidebreak. It costs 30 tokens per session (992 once invoked), scanned A, original, Apache-2.0.

A PDF document tool for creating new PDFs and working with existing ones. It can merge, split, rotate, and fill PDF forms, then visually check the result.

In plain words
What is it for?
Use it for PDF reports and other deliverables, or to combine files, extract pages, rotate documents, and complete PDF forms.
Why use it?
It provides separate methods for generating PDFs and modifying existing files, helping prevent layout or content problems before delivery.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

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.

agentmods
npx agentmods add skills/brightwave-inc/tidebreak/pdf-documents
Any agent
npx skills add brightwave-inc/tidebreak --skill pdf-documents
Clone the repo
git clone --depth 1 https://github.com/brightwave-inc/tidebreak

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for pdf-documents

README.md
[![agentmods](https://agentmods.dev/badge/skills/brightwave-inc/tidebreak/pdf-documents.svg)](https://agentmods.dev/skills/brightwave-inc/tidebreak/pdf-documents)
Your own site
<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>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 992 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured yesterday against content hash 1eecadd0d6f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

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.

skills/pdf-documents/SKILL.md · 94 lines

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(...), then cell(...) / multi_cell(...) for text and image(...) 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_cell for 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 PdfReader sources into one PdfWriter.
  • Split: copy the selected page ranges into separate writers.
  • Forms: read fields with PdfReader.get_fields() and fill them with PdfWriter.update_page_form_field_values(...); call writer.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.

Read the full file on GitHub · 94 lines

Changes

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.

  1. yesterday Changed 1eecadd0d6f8
  2. 6d ago First seen · 94 lines · 30 tokens per session scan A af0746f9c35c

Subscribe to this mod's changes

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.

Related

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/文档上云。.

Pinvou/pinvou-agent · 210 tokens

government-writing

撰写规范的党政机关公文。当用户要"写/起草/拟一份 通知 / 意见 / 公文"时使用。当前内置文种:通知、意见,印发型主件支持办法/规定(法规体例;请示/报告/函可扩展,在 templates/ 增模板)。按《党政机关公文格式》GB/T 9704-2012 套发文字号、主送机关、层级序号、落款与固定话术,结构化内容经 gongwen MCP 渲染为合规 .docx。.

Pinvou/pinvou-agent · 133 tokens

ima-skills

Tencent IMA OpenAPI skill for notes and knowledge-base operations. Use after the user connects IMA in Pinvou Plugin Center.

Pinvou/pinvou-agent · 30 tokens

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.

tinyhumansai/openhuman · 83 tokens

lark-base

【何时用:仅当用户明确指向飞书/Lark(发到飞书、飞书文档等)时使用;泛指做个文档或PPT或表格或方案默认走本地工具,不要误用飞书】飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限;遇到 Base/多维表格/bitable、BaseApp/AppMode 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入转 lark-drive,认证/授权转 lark-shared。.

Pinvou/pinvou-agent · 166 tokens

visualizer

当用户要求数据可视化、做图表、生成看板、数据仪表盘、可视化报告、Excel/CSV 转图表、预算/销售/运营等指标分析页面、Chart.js 可视化时使用。只处理数据可视化任务;纯网页、banner、海报、简历等非数据图表设计任务应交给 visual-design。.

Pinvou/pinvou-agent · 85 tokens