Open Science is a local-first, model-agnostic workbench for reproducible scientific research. Scientists use its AI agents, Python and R execution, data connectors, and traceable outputs for tasks such as literature review, analysis, simulation, and visualization across macOS, Windows, and Linux.
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 aipoch/open-science --skill pdf-generationgit clone --depth 1 https://github.com/aipoch/open-scienceWrote 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/aipoch/open-science/pdf-generation)<a href="https://agentmods.dev/skills/aipoch/open-science/pdf-generation"><img src="https://agentmods.dev/badge/skills/aipoch/open-science/pdf-generation/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/aipoch/open-science/pdf-generation"><img src="https://agentmods.dev/badge/skills/aipoch/open-science/pdf-generation.svg" alt="Reviewed on agentmods" width="80" 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.00098 | $0.02545 |
| Opus 5.5 | $0.00039 | $0.01018 |
| Sonnet 5.5 | $0.00020 | $0.00509 |
| Haiku 4.5 | $0.00010 | $0.00254 |
Grade A, and why
pdf-generation 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 13d 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 — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PDF generation and processing
Create new PDFs with ReportLab. Process existing PDFs with pypdf (pages, metadata, forms, encryption), pdfplumber (text with layout, tables), and pypdfium2 (rendering to images). User requirements for content, page size, and design take precedence over the defaults below.
Choose the tool
| Task | Use |
|---|---|
| Read, quote, or summarize a paper or attached PDF | read_document, list_pdf_elements/read_pdf_element, read_library_pdf; no code needed |
| Create a report or handout | ReportLab Platypus (SimpleDocTemplate, Paragraph, Table, Image) |
| Precise one-page layouts (poster, certificate, label) | ReportLab canvas |
| Merge, split, rotate, crop, watermark, encrypt | pypdf |
| Extract tables or positioned text | pdfplumber |
| Fill a form | pdf_form_fields and fill_pdf_form, then follow references/forms.md |
| Look at pages | render_pdf_pages + host.viewImage |
Advanced recipes (cropping, bookmarks, links, table styling, pdfplumber settings, OCR, troubleshooting) are in references/processing.md.
Setup
Run all PDF code with notebook_execute, not the shell. Check packages with inspect_packages; install missing ones with manage_packages (language: "python", packages reportlab, pypdf, pdfplumber, pypdfium2, pillow). Never run pip in a cell. Poppler, qpdf, pdftk, and LibreOffice are not bundled; do not plan on pdftotext, pdftoppm, or qpdf commands.
What ships with it
5 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.
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.
- 13d ago First seen · 143 lines · 98 tokens per session scan A 4f8cd3bc2ff7
pdf-generation is a skill published in the GitHub repository aipoch/open-science (5,596 stars, last pushed today), licensed Apache-2.0. It adds 98 tokens to every session and 2,545 once invoked, about $0.0004 per session on Opus 5.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-11-17.
pdf-generation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pdf-generationaipoch/open-science | Skill | 5.6k | today | Apache-2.0 | A | 98 | Claude Code, Codex |
| pdf-explorexuzhougeng/wisp-science | Skill | 1.1k | 6d ago | AGPL-3.0 | A | 137 | Claude Code, Codex |
| word-zotero-citationsxuzhougeng/wisp-science | Skill | 1.1k | 6d ago | AGPL-3.0 | A | 90 | Claude Code, Codex |
| paper-compilewanshuiyin/Auto-claude-code-research-in-sleep | Skill | 20k | today | MIT | B | 53 | Claude Code |
| pdf-storybookCoWork-OS/CoWork-OS | Skill | 557 | today | MIT | A | 34 | Claude Code, Codex |
| nano-pdfCoWork-OS/CoWork-OS | Skill | 557 | today | MIT | A | 17 | Claude Code, Codex |
| pdfholon-run/holon | Skill | 206 | today | Apache-2.0 | A | 33 | Claude Code, Codex |