pdf-layout-review

pdf-layout-review is a skill for Claude Code, Codex from Rezenders/scientific_writing_agent. It costs 30 tokens per session (658 once invoked), scanned A, original, Apache-2.0.

A read-only check of the visual layout of selected pages in a PDF manuscript. It looks for rendered problems after changes to figures, tables, equations, or document layout.

In plain words
What is it for?
It is for inspecting selected PDF pages before submission or after layout-related edits without changing the manuscript source.
Why use it?
Source checks cannot always show problems that appear only in the final rendered pages, such as misplaced or poorly fitting content.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit It is for inspecting selected PDF pages before submission or after layout-related edits without changing the manuscript source.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rezenders/scientific_writing_agent/pdf-layout-review
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.

Any agent
npx skills add Rezenders/scientific_writing_agent --skill pdf-layout-review
Clone the repo
git clone --depth 1 https://github.com/Rezenders/scientific_writing_agent

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-layout-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/rezenders/scientific_writing_agent/pdf-layout-review/github.svg)](https://agentmods.dev/skills/rezenders/scientific_writing_agent/pdf-layout-review)
Your own site
<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.

agentmods 80×15 button for pdf-layout-review

Your own site · 80×15
<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>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 658 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00658
Opus 5.5 $0.00012 $0.00263
Sonnet 5.5 $0.00006 $0.00132
Haiku 4.5 $0.00003 $0.00066

Measured 29d ago against content hash b15da311d709, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.agents/skills/pdf-layout-review/SKILL.md · 63 lines

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

  1. Read .agents/context/paper-model.md for the selected entry and output PDF. Verify a successful current paper-build, or explicitly label the supplied PDF's source/build provenance unknown. Do not infer currency from existence.
  2. Discover pdfinfo, pdftoppm and image-capable read/view tools. No MCP server is required. If the PDF is missing, report NOT RUN and recommend paper-build. If rendering or image inspection is unavailable, report that limitation; metadata or extracted text is not visual inspection.
  3. 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).

Read the full file on GitHub · 63 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. 29d ago First seen · 63 lines · 30 tokens per session scan A b15da311d709

Subscribe to this mod's changes

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.

Related

pdf-layout-review compared with skills from other repositories

pdf-layout-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pdf-layout-reviewRezenders/scientific_writing_agentSkill141mo agoApache-2.0A30Claude Code, Codex
nature-paper2wordYuan1z0825/nature-skillsSkill56k2d agoApache-2.0A233Codex
pydicomK-Dense-AI/scientific-agent-skillsSkill60k6d agoMITA52Claude Code, Codex
nature-paper-transYuan1z0825/nature-skillsSkill56k2d agoApache-2.0A68Codex
pptx-postersK-Dense-AI/scientific-agent-skillsSkill60k6d agoMITA59Claude Code
extracting-lab-tablesmaziyarpanahi/openmedSkill5.9k6d agoApache-2.0A210Claude Code
figuressynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A99Claude Code