extract-slide-text

extract-slide-text is a skill for Claude Code from pamelafox/presentation-skills. It costs 63 tokens per session (426 once invoked), scanned A, original, MIT.

A PDF text-extraction skill for presentations. It uses pdftotext to put each PDF page's text into a structured Markdown file with page headings and image references.

In plain words
What is it for?
Use it to extract text from PDF slides and create a slide-by-slide Markdown file, including pages with no extractable text.
Why use it?
It provides the text directly and helps prevent slide images or screenshots from being mistaken for the slide's actual content.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to extract text from PDF slides and create a slide-by-slide Markdown file, including pages with no extractable text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pamelafox/presentation-skills/extract-slide-text
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 pamelafox/presentation-skills --skill extract-slide-text
Clone the repo
git clone --depth 1 https://github.com/pamelafox/presentation-skills

Made for: Claude Code.

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 extract-slide-text

README.md
[![agentmods](https://agentmods.dev/badge/skills/pamelafox/presentation-skills/extract-slide-text/github.svg)](https://agentmods.dev/skills/pamelafox/presentation-skills/extract-slide-text)
Your own site
<a href="https://agentmods.dev/skills/pamelafox/presentation-skills/extract-slide-text"><img src="https://agentmods.dev/badge/skills/pamelafox/presentation-skills/extract-slide-text/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 extract-slide-text

Your own site · 80×15
<a href="https://agentmods.dev/skills/pamelafox/presentation-skills/extract-slide-text"><img src="https://agentmods.dev/badge/skills/pamelafox/presentation-skills/extract-slide-text.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 426 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00063 $0.00426
Opus 5 $0.00032 $0.00213
Sonnet 5 $0.00013 $0.00085
Haiku 4.5 $0.00006 $0.00043

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

Security

Grade A, and why

extract-slide-text 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (extract_slide_text.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/extract-slide-text/SKILL.md · 58 lines

What it actually says

Extract slide text from PDF

Run the extract_slide_text.py script to extract the text content of each PDF page into a structured markdown file:

uv run .agents/skills/extract-slide-text/extract_slide_text.py <pdf_path> <output_path> [images_dir]

Arguments

  • pdf_path (required): Path to the PDF file.
  • output_path (required): Path to write the output markdown file
  • images_dir (optional): Path to the slide images directory. Used to generate correct relative image references. Defaults to slide_images/.

Output format

A markdown file with one section per slide:

## Slide 1

![Slide 1](slide_images/slide_1.png)

\```
Extracted text content from slide 1
\```

## Slide 2

![Slide 2](slide_images/slide_2.png)

\```
Extracted text content from slide 2
\```

Pages with no extractable text (e.g., full-bleed images) show (no extractable text).

Why this matters

PDF text extraction is deterministic — it produces ground-truth slide content without relying on vision models. This prevents misidentification of embedded screenshots or demo captures as actual slide content, a common failure mode when using only image-based slide analysis.

Prerequisites

Poppler utilities must be installed (provides the pdftotext command):

  • macOS: brew install poppler
  • Ubuntu: apt-get install poppler-utils
Files

What ships with it

1 file 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.

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. 10d ago First seen · 58 lines · 63 tokens per session scan A c45ed8346ad1

Subscribe to this mod's changes

extract-slide-text is a skill published in the GitHub repository pamelafox/presentation-skills (117 stars, last pushed 6d ago), licensed MIT. It adds 63 tokens to every session and 426 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories