read-pdf

read-pdf is a skill for Claude Code from imMamdouhaboammar/get-fable. It costs 16 tokens per session (294 once invoked), scanned A, original, MIT.

A skill for extracting text, tables, and other content from PDF files. PDF is a document format commonly used for reports, manuals, and forms.

In plain words
What is it for?
Use it when a task requires reading PDF text, tables, or document content.
Why use it?
It lets a coding agent work with information stored in PDFs instead of treating those files as unreadable attachments.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the get-fable plugin — 78 skills, 1 agent, 5 hooks shipped together

Good fit Use it when a task requires reading PDF text, tables, or document content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/immamdouhaboammar/get-fable/read-pdf
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 imMamdouhaboammar/get-fable --skill read-pdf
Clone the repo
git clone --depth 1 https://github.com/imMamdouhaboammar/get-fable

Made for: Claude Code.

Or install get-fable, the plugin that ships this one along with the rest of its 78 skills, 1 agent, 5 hooks.

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 read-pdf

README.md
[![agentmods](https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/read-pdf/github.svg)](https://agentmods.dev/skills/immamdouhaboammar/get-fable/read-pdf)
Your own site
<a href="https://agentmods.dev/skills/immamdouhaboammar/get-fable/read-pdf"><img src="https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/read-pdf/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 read-pdf

Your own site · 80×15
<a href="https://agentmods.dev/skills/immamdouhaboammar/get-fable/read-pdf"><img src="https://agentmods.dev/badge/skills/immamdouhaboammar/get-fable/read-pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 294 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.00016 $0.00294
Opus 5 $0.00008 $0.00147
Sonnet 5 $0.00003 $0.00059
Haiku 4.5 $0.00002 $0.00029

Measured 5d ago against content hash 4214cb10a65b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

read-pdf 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 5d 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.

assets/skills/claude-design/read-pdf/SKILL.md · 23 lines

What it actually says

Read PDF

To read a PDF in run_script, use the browser build of pdf-parse (pinned @2.4.5):

const { PDFParse } = await import('https://cdn.jsdelivr.net/npm/[email protected]/dist/pdf-parse/web/pdf-parse.es.js');
PDFParse.setWorker('https://cdn.jsdelivr.net/npm/[email protected]/dist/pdf-parse/web/pdf.worker.min.mjs');

const blob = await readFileBinary('document.pdf');
const parser = new PDFParse({ data: new Uint8Array(await blob.arrayBuffer()) });
const result = await parser.getText();
log(result.text);

SRI hashes (for reference — dynamic import() cannot enforce SRI at runtime):

  • pdf-parse.es.js — sha384-J7LMAGioDDEBxHBcdxpU9NGtQu2/iLuSGyD3HsO5aYDJ0BAisPtpTYGc5XcB7UcI
  • pdf.worker.min.mjs — sha384-zdw/VQhL/JrSgvr/Omai4B8USJUC6AQXr/4YW01OlVWutKoGvg34AOFCRsO1dGJr
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. 5d ago First seen · 23 lines · 16 tokens per session scan A 4214cb10a65b

Subscribe to this mod's changes

read-pdf is a skill published in the GitHub repository imMamdouhaboammar/get-fable (4 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 294 once invoked, about $0.0001 per session on Opus 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-09-05.

Related

Other skills, from other repositories

hive.pdf

Read, write, merge, split, rotate, watermark, encrypt, and OCR PDF files using Python (pypdf, pdfplumber, reportlab, pypdfium2) and command-line tools (poppler-utils, qpdf). Use when the user asks to extract text/tables/images from a PDF, create or modify a PDF, combine or split PDFs, OCR a scanned PDF…

aden-hive/hive · 98 tokens

liteparse

Use this skill when the user asks to parse, perform multi-format document conversion or spatially extract text from an unstructured file (PDF, DOCX, PPTX, XLSX, images, etc.) locally without cloud dependencies.

synthetic-sciences/openscience · 49 tokens

omh-report-package

This is a Hermes-native report-package workflow skill.

rlaope/oh-my-hermes · 58 tokens

papyrus-diagnose-compilation

Diagnose and fix LaTeX compilation failures. Use when the document does not compile, pdflatex/bibtex/biber/tectonic errors out, the PDF is stale, or the author reports a build/compile error in the Papyrus editor.

kirodotdev/KiroCrew · 60 tokens

treatment-plans

Generate concise (3-4 page), focused medical treatment plans in LaTeX/PDF format for all clinical specialties. Supports general medical treatment, rehabilitation therapy, mental health care, chronic disease management, perioperative care, and pain management. Includes SMART goal frameworks, evidence-based…

synthetic-sciences/openscience · 86 tokens

markitdown

Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.

synthetic-sciences/openscience · 53 tokens