pdf-reader
WHAT: Read and extract content from PDF files — text, tables, and images.
Skill by BluebagAI
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/bluebagai-pdf-reader
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, data, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pdf-reader
What's inside
- Skill name
pdf-reader- Description
- WHAT: Read and extract content from PDF files — text, tables, and images. WHEN: the user asks about content in a PDF, mentions a .pdf file, or needs data extracted from technical documents, manuals, specifications, or reports. KEYWORDS: PDF, extract text, extract tables, extract images, pdf reader, document, datasheet, manual, specification, report.
- License
- Apache-2.0
- Instructions
- 83 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (8)
- SKILL.md
- package.json
- extract-images.mjs · scripts/
- extract-structure.mjs · scripts/
- extract-tables.mjs · scripts/
- extract-text.mjs · scripts/
- get-info.mjs · scripts/
- search-text.mjs · scripts/
SKILL.md (first lines)
# PDF Reader Extract text, tables, and images from any PDF using `pdfjs-dist` scripts. All extraction is deterministic — no artificial inference. ## Workflow for Large Documents For documents over ~20 pages, follow this sequence. For short documents, skip to step 3. ### 1. Understand the document ```bash node scripts/get-info.mjs <pdf> ``` Returns page count, metadata (title, author, dates), and table of contents. ### 2. Find relevant pages ```bash node scripts/search-text.mjs <pdf> --query "search term" ``` Searches all pages. Returns JSON array of matches with page numbers and context. Use `--max-results 10` and `--offset N` for pagination. ### 3. Extract text from targeted pages ```bash node scripts/extract-text.mjs <pdf> --pages 1-5,10,20 ``` For large documents, `--pages` is required (unless `--all` is passed). Use `--output file.txt` to write to a file instead of stdout. ### 4. Extract tables ```bash node scripts/extract-tables.mjs <pdf> --page 20 ``` Detects tables by analyzing text positions. Supports `--format markdown` (default), `csv`, or `json`. Use `--output file.json` for large results. ### 5. Extract images ```bash node scripts/extract-images.mjs <pdf> --pages 1-30 --list-only node scripts/extract-images.mjs <pdf> --page 5 --output-dir ./images ``` Use `--list-only` first to scan, then extract specific pages. Saves images as PNG. ### 6. Raw structural analysis (advanced) ```bash node scripts/extract-structure.mjs <pdf> --page 20 ``` Returns every text item with exact x/y coordinates, font info, and dimensions. Use when table extraction doesn't capture a complex layout correctly. ## Quick Reference | Task | Script | Key flags | | -------------- | ----------------------- | --------------------------------------- | | Document info | `get-info.mjs` | | | Search text | `search-text.mjs` | `--query`, `--max-results`, `--offset` | | Extract text | `extract-text.mjs` | `--pages`, `--all`, `--output` | | Extract tables | `extract-tables.mjs` | `--page`, `--format`, `--output` | | Extract images | `extract-images.mjs` | `--page`, `--output-dir`, `--list-only` | | Raw positions | `extract-structure.mjs` | `--page`, `--output` | All scripts support `--help` for full usage details. ## If text extraction returns empty results The PDF may be scanned (image-only). Use `extract-images.mjs` to extract page images instead. ## If table extraction misses a table Use `extract-structure.mjs` to get raw positional data and analyze the layout from coordinates.
From BluebagAI/skills, Apache-2.0.
More from BluebagAI/skills
- 0.502score
zip-handler
BluebagAI
Guide for working with zip files.
SkillDFreshness: D★ 33Claude Code +9 - 0.489score
superimage-generator
BluebagAI
WHAT: Transforms basic image prompts into model-optimized superprompts for AI image generation.
SkillDFreshness: D★ 33Claude Code +9 - 0.477score
mcp-builder
BluebagAI
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools.
SkillDFreshness: D★ 33Claude Code +9 - 0.474score
web-artifacts-builder
BluebagAI
Suite of tools for creating elaborate, multi-component HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui).
SkillDFreshness: D★ 33Claude Code +9 - 0.474score
webapp-testing
BluebagAI
Toolkit for interacting with and testing local web applications using Playwright.
SkillDFreshness: D★ 33Claude Code +9 - 0.472score
internal-comms
BluebagAI
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use.
SkillDFreshness: D★ 33Claude Code +9 - 0.472score
algorithmic-art
BluebagAI
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration.
SkillDFreshness: D★ 33Claude Code +9 - 0.472score
brand-guidelines
BluebagAI
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel.
SkillDFreshness: D★ 33Claude Code +9 - 0.472score
canvas-design
BluebagAI
Create beautiful visual art in .png and .pdf documents using design philosophy.
SkillDFreshness: D★ 33Claude Code +9 - 0.470score
skill-creator
BluebagAI
Guide for creating effective skills.
SkillDFreshness: D★ 33Claude Code +9 - 0.469score
theme-factory
BluebagAI
Toolkit for styling artifacts with a theme.
SkillDFreshness: D★ 33Claude Code +9 - 0.461score
template-skill
BluebagAI
Replace with description of the skill and when your agent should use it.
SkillDFreshness: D★ 33Claude Code +9
Signals
- Stars
- 33
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Mar 16, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/BluebagAI/skills
- Website
- www.bluebag.ai/playground
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from BluebagAI
- 0.502score
zip-handler
BluebagAI
Guide for working with zip files.
SkillDFreshness: D★ 33Claude Code +9 - 0.489score
superimage-generator
BluebagAI
WHAT: Transforms basic image prompts into model-optimized superprompts for AI image generation.
SkillDFreshness: D★ 33Claude Code +9 - 0.477score
mcp-builder
BluebagAI
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools.
SkillDFreshness: D★ 33Claude Code +9 - 0.474score
web-artifacts-builder
BluebagAI
Suite of tools for creating elaborate, multi-component HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui).
SkillDFreshness: D★ 33Claude Code +9 - 0.474score
webapp-testing
BluebagAI
Toolkit for interacting with and testing local web applications using Playwright.
SkillDFreshness: D★ 33Claude Code +9 - 0.472score
internal-comms
BluebagAI
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use.
SkillDFreshness: D★ 33Claude Code +9
Cite this page
pdf-reader skill. Agent Mart. https://agentmart.dev/skills/bluebagai-pdf-reader (last updated 2026-10-24)