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 Rezenders/scientific_writing_agent --skill pdf-layout-reviewgit clone --depth 1 https://github.com/Rezenders/scientific_writing_agentWrote 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/rezenders/scientific_writing_agent/pdf-layout-review)<a href="https://agentmods.dev/skills/rezenders/scientific_writing_agent/pdf-layout-review"><img src="https://agentmods.dev/badge/skills/rezenders/scientific_writing_agent/pdf-layout-review/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/rezenders/scientific_writing_agent/pdf-layout-review"><img src="https://agentmods.dev/badge/skills/rezenders/scientific_writing_agent/pdf-layout-review.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.00030 | $0.00658 |
| Opus 5.5 | $0.00012 | $0.00263 |
| Sonnet 5.5 | $0.00006 | $0.00132 |
| Haiku 4.5 | $0.00003 | $0.00066 |
Grade A, and why
pdf-layout-review 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 29d 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 — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PDF Layout Review
Use when source checks cannot establish rendered quality. Optional before submission, not automatic after each paragraph edit. Do not edit manuscript source or claim scientific validation from visual appearance.
Tools and prerequisites
- Read
.agents/context/paper-model.mdfor the selected entry and output PDF. Verify a successful currentpaper-build, or explicitly label the supplied PDF's source/build provenance unknown. Do not infer currency from existence. - Discover
pdfinfo,pdftoppmand image-capable read/view tools. No MCP server is required. If the PDF is missing, report NOT RUN and recommendpaper-build. If rendering or image inspection is unavailable, report that limitation; metadata or extracted text is not visual inspection. - Determine relevant pages from the author's request, table of contents, PDF search, SyncTeX if available, or build warnings. TeX source line numbers are not page numbers. If mapping is uncertain, inspect a bounded page range and state the scope. Do not claim an entire-PDF review from selected pages.
Procedure
Run from the project root, replacing placeholders with verified quoted paths and integer page numbers. Use a temporary directory, never overwrite manuscript assets:
pdfinfo '<PDF_PATH>'
# Choose FIRST and LAST after checking the page count; require 1 <= FIRST <= LAST.
review_dir=$(mktemp -d)
pdftoppm -f FIRST -l LAST -r 150 -png '<PDF_PATH>' "$review_dir/page"
Inspect each rendered PNG using an available image-capable tool (for example an image-aware file reader). Keep the selected range small; render additional pages only when needed. If readability is uncertain, increase resolution for that page before judging the source. Check:
- clipped equations or content crossing/cut off at margins;
- figure/table bounds, tiny labels or unreadable content at intended page scale;
- substantial overlap, unexpected whitespace, blank pages or broken columns;
- float placement that separates a figure/table from its discussion or disrupts reading (contextual judgment, not automatically a defect).
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.
- 29d ago First seen · 63 lines · 30 tokens per session scan A b15da311d709
pdf-layout-review is a skill published in the GitHub repository Rezenders/scientific_writing_agent (14 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 30 tokens to every session and 658 once invoked, about $0.0001 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-07.
pdf-layout-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pdf-layout-reviewRezenders/scientific_writing_agent | Skill | 14 | 1mo ago | Apache-2.0 | A | 30 | Claude Code, Codex |
| nature-paper2wordYuan1z0825/nature-skills | Skill | 56k | 2d ago | Apache-2.0 | A | 233 | Codex |
| pydicomK-Dense-AI/scientific-agent-skills | Skill | 60k | 6d ago | MIT | A | 52 | Claude Code, Codex |
| nature-paper-transYuan1z0825/nature-skills | Skill | 56k | 2d ago | Apache-2.0 | A | 68 | Codex |
| pptx-postersK-Dense-AI/scientific-agent-skills | Skill | 60k | 6d ago | MIT | A | 59 | Claude Code |
| extracting-lab-tablesmaziyarpanahi/openmed | Skill | 5.9k | 6d ago | Apache-2.0 | A | 210 | Claude Code |
| figuressynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 99 | Claude Code |