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 yrom/arxiv-paper-translator --skill convert-pdf-to-pnggit clone --depth 1 https://github.com/yrom/arxiv-paper-translatorWrote 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/yrom/arxiv-paper-translator/convert-pdf-to-png)<a href="https://agentmods.dev/skills/yrom/arxiv-paper-translator/convert-pdf-to-png"><img src="https://agentmods.dev/badge/skills/yrom/arxiv-paper-translator/convert-pdf-to-png/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/yrom/arxiv-paper-translator/convert-pdf-to-png"><img src="https://agentmods.dev/badge/skills/yrom/arxiv-paper-translator/convert-pdf-to-png.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.00026 | $0.00875 |
| Opus 5.5 | $0.00010 | $0.00350 |
| Sonnet 5.5 | $0.00005 | $0.00175 |
| Haiku 4.5 | $0.00003 | $0.00088 |
Grade A, and why
convert-pdf-to-png 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 2mo 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 — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Convert PDF to PNG
Convert PDF file pages to PNG images.
Backend Selection
Try system tools first (better rendering for complex PDFs), fall back to the JS script.
Backends you can try:
- magick (ImageMagick) - Linux/MacOS
- mutool (MuPDF) - Linux/MacOS
- pdftoppm (Poppler) - Linux/MacOS
- sips (Scriptable Image Processing System) - MacOS Only
- JS fallback (pdfjs) - under
<CURRENT_SKILL_DIR>/scripts/directory.
NOTICE: All backends should output <pdf-name>_page_<N>.png in the target directory.
System Backend Examples
# magick (ImageMagick) — density 144 ≈ scale 2x (72 * 2)
magick -density 144 paper.pdf -quality 90 paper_page_%d.png
# Note: magick outputs 0-based index; rename if 1-based is needed
# mutool (MuPDF) — resolution 144 ≈ scale 2x
mutool convert -o paper_page_%d.png -O resolution=144 paper.pdf
# pdftoppm (Poppler) — -r sets DPI
pdftoppm -png -r 144 paper.pdf paper_page
# Outputs paper_page-1.png, paper_page-2.png, etc.
# sips (macOS only) — convert a single-page PDF
sips -s format png paper.pdf --out paper_page_1.png
Different backends produce slightly different filename patterns (0-based vs 1-based, padding, separator). Rename after conversion if the downstream consumer requires strict
<pdf-name>_page_<N>.pngformat.
JS Script Prerequisites
Dependencies are in <CURRENT_SKILL_DIR>/scripts/package.json. Install on first use:
cd skills/convert-pdf-to-png/scripts && bun install
# or npm install
JS Script Quick Start
SCRIPT_DIR=skills/convert-pdf-to-png/scripts
# Convert all pages (default scale: 2.0x)
bun $SCRIPT_DIR/convert-pdf-to-png.mjs paper.pdf
# Specify output directory
bun $SCRIPT_DIR/convert-pdf-to-png.mjs paper.pdf --output-dir ./output
# Convert specific pages with higher resolution
bun $SCRIPT_DIR/convert-pdf-to-png.mjs paper.pdf --pages 1,3,5 --scale 3
# Encrypted PDF
bun $SCRIPT_DIR/convert-pdf-to-png.mjs protected.pdf --password "secret"
JS Script CLI Options
What ships with it
3 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.
- 2mo ago First seen · 94 lines · 26 tokens per session scan A 6be22cfcc975
convert-pdf-to-png is a skill published in the GitHub repository yrom/arxiv-paper-translator (57 stars, last pushed 8mo ago), licensed MIT. It adds 26 tokens to every session and 875 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-08-30.
convert-pdf-to-png compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| convert-pdf-to-pngyrom/arxiv-paper-translator | Skill | 57 | 8mo ago | MIT | A | 26 | Claude Code, Codex |
| apify-youtube-transcript-scrapersickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 48 | Claude Code |
| foundry-hosted-agent-validationmicrosoft/agent-framework | Skill | 15k | yesterday | MIT | A | 82 | Claude Code, Codex |
| skill-doc-deliverynyldn/claude-octopus | Skill | 4.4k | yesterday | MIT | A | 29 | Claude Code |
| meta-web-to-pdf-briefingopensquilla/opensquilla | Skill | 7.1k | 6d ago | Apache-2.0 | A | 45 | Claude Code, Codex |
| paper-readerhuangkiki/dailypaper-skills | Skill | 1.3k | 4d ago | Apache-2.0 | A | 135 | Claude Code, Codex |
| chat-complex-documentsvellum-ai/vellum-assistant | Skill | 1.5k | 2d ago | MIT | A | 90 | Claude Code, Codex |