Analyze PDF files by converting them into agent-readable text, OCR text, page render images, and extracted embedded images without polluting the working directory.

Apache-2.0Auto-check passedDocuments & Office

Install PDF Monster

skills CLI
$ npx skills add hashgraph-online/awesome-codex-plugins --skill pdf-monster -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hashgraph-online/awesome-codex-plugins pdf-monster --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/jbaehova/pdf-monster/skills/pdf-monster .claude/skills/pdf-monster && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pdf-monster
GitHub stars
1.3k
Token cost
~1.7k tokens
SKILL.md length
699 words
Files
4 (incl. scripts)
Skills in repo
714
Repo updated
First seen
Licence
Apache-2.0

At a glance

Analyze PDF files by converting them into agent-readable text, OCR text, page render images, and extracted embedded images without polluting the working directory.

  • Works in 8 steps: Run analyze_pdf.py and capture stdout… → Check warnings, page_count,… → Use text as the primary evidence when it… → …
  • An agent needs to read
  • SKILL.md covers Core Rule, Quick Start, Setup and Reading Workflow, plus 3 more sections
  • Runs Python scripts from its folder; calls python3

What it does

PDF Monster is an agent skill from hashgraph-online/awesome-codex-plugins. Analyze PDF files by converting them into agent-readable text, OCR text, page render images, and extracted embedded images without polluting the working directory. Use when an agent needs to read, summarize, inspect, compare, quote, or reason about PDFs, especially when the foundation model cannot ingest PDFs directly or when tables, figures, scans, screenshots, or layout matter.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts (for example `agents/openai.yaml` and `scripts/analyze_pdf.py`).

It sits in Documents & Office, covering PDF. The repository describes itself as: A curated list of awesome OpenAI Codex / ChatGPT plugins, skills, and resources. The 1 Codex Marketplace. See live plugins at: https://hol.org/plugins/best-codex-plugins. The licence is Apache-2.0.

When your agent uses it

  • An agent needs to read
  • Reason about PDFs
  • Especially when the foundation model cannot ingest PDFs directly

Example prompts

  • “/pdf-monster”

Requirements

  • Python 3

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Run analyze_pdf.py and capture stdout JSON.
  2. Check warnings, page_count, artifact_root, pages_needing_visual_review, and each page's text_chars, ocr_text_chars, render_path…
  3. Use text as the primary evidence when it is complete enough.
  4. Inspect ocr_text when a page has little extracted text or appears scanned.
  5. Open render_path for pages marked needs_visual_review, and for pages where layout, charts, handwriting, equations, tables, screenshots, or…
  6. Open embedded_images[].path when the PDF contains standalone figures that may be clearer than the page render.
  7. Cite page numbers from the manifest when answering.
  8. Delete temporary artifacts after finishing if artifact_policy is temporary.

What it can do on your machine

Read from SKILL.md and the folder at commit 9e7b281. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

PDF Monster loads about 1.7k tokens when it runs. Until then it costs about 99 tokens; SKILL.md has 699 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from hashgraph-online/awesome-codex-plugins at commit 9e7b281, republished under its Apache-2.0 licence (© hashgraph-online). 699 words, ~1,742 tokens.

Download SKILL.mdSave it as .claude/skills/pdf-monster/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
pdf-monster
description
Analyze PDF files by converting them into agent-readable text, OCR text, page render images, and extracted embedded images without polluting the working directory. Use when an agent needs to read, summarize, inspect, compare, quote, or reason about PDFs, especially when the foundation model cannot ingest PDFs directly or when tables, figures, scans, screenshots, or layout matter.

PDF Monster

Core Rule

Treat PDF files as source artifacts that must be converted into model-readable evidence before analysis. Do not create output/, analysis/, pages/, or similar folders in the user's working directory unless the user explicitly asks to save extracted artifacts.

Use the bundled scripts/analyze_pdf.py first. Resolve this path from the skill root, not from the user's current working directory. It prints JSON to stdout, extracts text in-place, and writes only image artifacts to an OS temporary directory unless --save-to is provided.

Quick Start

Run from this skill directory or replace scripts/analyze_pdf.py with its absolute path:

bash
python3 scripts/analyze_pdf.py path/to/file.pdf --json

When the agent is running from another directory, use the absolute installed path. In Claude Code, ${CLAUDE_SKILL_DIR} points at this skill directory:

bash
python3 ${CLAUDE_SKILL_DIR}/scripts/analyze_pdf.py path/to/file.pdf --json

Setup

Python 3 is required. Before first use, check whether PyMuPDF is already available:

bash
python3 -c "import fitz"

If that fails and the agent is allowed to run pip/network installs, install the recommended dependency from this skill's requirements.txt. In Claude Code:

bash
python3 -m pip install -r "${CLAUDE_SKILL_DIR}/requirements.txt"

In other agents, use the absolute path to this skill's requirements.txt.

If dependency installation is not allowed, continue with the script anyway; it can use Poppler fallbacks when available. Optional system tools improve coverage when PyMuPDF is unavailable or OCR is needed, but do not install system packages automatically:

  • Poppler: pdfinfo, pdftotext, pdftoppm, pdfimages
  • Tesseract: tesseract plus any needed language data, such as eng or kor

For visual-heavy or scanned documents:

bash
python3 scripts/analyze_pdf.py path/to/file.pdf --render-pages all --ocr auto --json

For Korean/English OCR, use Tesseract language data and pass:

bash
python3 scripts/analyze_pdf.py path/to/file.pdf --render-pages all --ocr auto --ocr-lang kor+eng --json

For text-only inspection with no temporary image artifacts:

bash
python3 scripts/analyze_pdf.py path/to/file.pdf --render-pages none --no-extract-images --ocr never --json

For slide decks or PDFs with repeated logos/icons, reduce embedded image noise while keeping page renders available:

bash
python3 scripts/analyze_pdf.py path/to/file.pdf --render-pages all --min-image-area 10000 --dedupe-images --json

For selected pages:

bash
python3 scripts/analyze_pdf.py path/to/file.pdf --pages 1,3-5 --render-pages all --json

Persist artifacts only when the user asks for reusable files:

bash
python3 scripts/analyze_pdf.py path/to/file.pdf --save-to ./pdf-monster-artifacts --json

Reading Workflow

  1. Run analyze_pdf.py and capture stdout JSON.
  2. Check warnings, page_count, artifact_root, pages_needing_visual_review, and each page's text_chars, ocr_text_chars, render_path, embedded_images, needs_visual_review, and visual_review_reasons.
  3. Use text as the primary evidence when it is complete enough.
  4. Inspect ocr_text when a page has little extracted text or appears scanned.
  5. Open render_path for pages marked needs_visual_review, and for pages where layout, charts, handwriting, equations, tables, screenshots, or visual placement could change the answer.
  6. Open embedded_images[].path when the PDF contains standalone figures that may be clearer than the page render.
  7. Cite page numbers from the manifest when answering.
  8. Delete temporary artifacts after finishing if artifact_policy is temporary.

The JSON includes a cleanup_command such as:

bash
rm -rf -- /tmp/pdf-monster-...

Run it only after the image paths are no longer needed. Never delete a --save-to directory unless the user asks.

Show full SKILL.md (288 more words)Show less

Finalization Checklist

Before answering, complete these checks:

  • If pages_needing_visual_review is non-empty, inspect the relevant render_path or rerun selected pages with --render-pages all before making claims that depend on layout, diagrams, tables, or figures.
  • If rendered pages or extracted images were created with artifact_policy: temporary, run cleanup_command after the visual evidence is no longer needed.
  • Cite page numbers for document claims. If the evidence is incomplete because OCR or rendering is unavailable, say that clearly.
  • Do not expose names, student IDs, email addresses, signatures, or other personal data in summaries unless the user specifically asks for that information.
  • Do not paste raw JSON, temporary artifact paths, or long extracted text into the final answer unless the user asks for those details.

Script Behavior

analyze_pdf.py prefers PyMuPDF when available. It falls back to Poppler CLI tools where possible:

  • pdftotext for text extraction
  • pdfinfo for page count
  • pdftoppm for page renders
  • pdfimages for embedded image extraction
  • tesseract for OCR when installed

OCR is optional. If tesseract is missing, report the missing OCR capability and continue with text extraction and rendered page images.

Other Agent Use

Install this folder where the agent discovers skills, or reference the absolute path in custom instructions:

  • Claude Code: ~/.claude/skills/pdf-monster or .claude/skills/pdf-monster
  • Codex: $CODEX_HOME/skills/pdf-monster or ~/.codex/skills/pdf-monster
  • Pi Coding Agent: ~/.pi/agent/skills/pdf-monster, ~/.agents/skills/pdf-monster, or a skills settings entry
  • OpenClaw: ~/.openclaw/skills/pdf-monster, <workspace>/skills/pdf-monster, or skills.load.extraDirs
  • Hermes Agent: ~/.hermes/skills/pdf-monster or skills.external_dirs

For agents without a native skill loader, give them this folder and a short instruction:

text
Use pdf-monster/SKILL.md. For PDF tasks, run:
python3 /absolute/path/to/pdf-monster/scripts/analyze_pdf.py <pdf> --json
Read the JSON from stdout. Use temporary image paths only while analyzing, then clean them up.
Do not create output folders in the user's working directory unless explicitly asked.

For OpenCode or similar agents, keep the repository checked out somewhere stable and reference the absolute path to SKILL.md or scripts/analyze_pdf.py in the agent's custom instructions. The only hard requirement is Python 3. PyMuPDF is the recommended dependency; Poppler and Tesseract improve fallback and OCR coverage.

© hashgraph-online, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in plugins/jbaehova/pdf-monster/skills/pdf-monster of hashgraph-online/awesome-codex-plugins.

  • SKILL.md
  • agents/openai.yaml
  • requirements.txt
  • scripts/analyze_pdf.py

Open the folder on GitHubat commit 9e7b281

Compare with similar skills

PDF Monster next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

PDF Monster compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PDF Monster this skillhashgraph-online/awesome-codex-plugins1.3k—~1.7kAutomated safety check: PassApache-2.0
MarkitdownImCa0/just-laws78214 repos~3.2kAutomated safety check: NotesMIT
Gzh Designisjiamu/gzh-design-skill3.9k1 repos~2.2kAutomated safety check: PassAGPL-3.0
GenOffice Document CLIgenspark-ai/genoffice9k—~19kAutomated safety check: PassApache-2.0
Harness Book Best Practicewquguru/harness-books3.2k—~4.1kAutomated safety check: PassNone
Bookforge Korean Ebook PDF Makergongnyang/bookforge3151 repos~1.7kAutomated safety check: PassMIT

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    782 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    3.9k GitHub starsUsed in 1 repo~2.2k tokens
    Documents & OfficeAuto-check passed
  • GenOffice Document CLI

    genspark-ai/genoffice

    Creates, converts, reads and edits real pptx, xlsx, docx and PDF files locally through the genoffice command line.

    9k GitHub stars~19k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Harness Book Best Practice

    wquguru/harness-books

    Best practices for working on the Harness books repo. An agent skill from wquguru/harness-books.

    3.2k GitHub stars~4.1k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check passed
  • Produces book-style Korean ebook PDFs from a topic or finished manuscript, with six design styles, real book parts and quality-check gates before output.

    315 GitHub starsUsed in 1 repo~1.7k tokens
    Documents & OfficeAuto-check passed
  • Instrument Data To Allotrope

    aws-samples/amazon-bedrock-agents-healthcare-lifesciences

    Official

    Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV.

    274 GitHub starsUsed in 2 repos~2.7k tokens
    Documents & OfficeAuto-check passed

More from hashgraph-online/awesome-codex-plugins

All 714 skills in this repo
  • Anime Reaction Gif

    hashgraph-online/awesome-codex-plugins

    Create original anime-style reaction stickers as looping GIFs and MP4 previews, using generated character pose sheets and timed key poses.

    1.3k GitHub stars~922 tokensUpdated today
    Auto-check passed
  • Calibredb

    hashgraph-online/awesome-codex-plugins

    Manage and query Calibre libraries with the calibredb CLI (local paths or Calibre Content server URLs).

    1.3k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Rust API Test Harness

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when adding, changing, testing, or debugging Rust HTTP APIs and services, especially when Codex needs black-box integration tests, random-port app startup, real database test…

    1.3k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Art

    hashgraph-online/awesome-codex-plugins

    Make a studio's game look like something at build time — a cover from a real frame of the game (free), painted covers, backdrops, textures and character plates from image models through the…

    1.3k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Calle

    hashgraph-online/awesome-codex-plugins

    Use CALL-E from Codex through the calle CLI. An agent skill from hashgraph-online/awesome-codex-plugins.

    1.3k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Game Balance Economy

    hashgraph-online/awesome-codex-plugins

    Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.

    1.3k GitHub stars~618 tokensUpdated today
    Auto-check passed

Questions about PDF Monster

What does PDF Monster do?

Analyze PDF files by converting them into agent-readable text, OCR text, page render images, and extracted embedded images without polluting the working directory. PDF Monster is an agent skill from hashgraph-online/awesome-codex-plugins. Analyze PDF files by converting them into agent-readable text, OCR text, page render images, and extracted embedded images without polluting the working directory.

When should I use PDF Monster?

PDF Monster fits situations like: an agent needs to read; reason about PDFs; especially when the foundation model cannot ingest PDFs directly.

How do I install PDF Monster in Claude Code?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill pdf-monster -a claude-code`. Or copy the skill folder (plugins/jbaehova/pdf-monster/skills/pdf-monster in hashgraph-online/awesome-codex-plugins) into .claude/skills/pdf-monster in your project. Claude Code loads it when a task matches its description.

How do I install PDF Monster in Codex?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill pdf-monster -a codex`. Or copy the skill folder (plugins/jbaehova/pdf-monster/skills/pdf-monster in hashgraph-online/awesome-codex-plugins) into .agents/skills/pdf-monster in your project. Codex loads it when a task matches its description.

Can I use PDF Monster in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hashgraph-online/awesome-codex-plugins --skill pdf-monster -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pdf-monster, .gemini/skills/pdf-monster, .github/skills/pdf-monster and .opencode/skills/pdf-monster in your project.

What does PDF Monster need to run?

Going by SKILL.md and its folder, PDF Monster needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does PDF Monster access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is PDF Monster safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does PDF Monster use?

PDF Monster is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does PDF Monster use?

About 1.7k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to PDF Monster?

Skills that share tags, products or a category with PDF Monster: Markitdown (ImCa0/just-laws, 782 stars), Gzh Design (isjiamu/gzh-design-skill, 3.9k stars), GenOffice Document CLI (genspark-ai/genoffice, 9k stars) and Harness Book Best Practice (wquguru/harness-books, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PDF Monster?

hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,255 GitHub stars. The repository holds 714 skills in this directory. The repository was last updated on October 9, 2026.

Source: hashgraph-online/awesome-codex-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.