pdf-conversion

pdf-conversion is a skill for Claude Code, Codex from rangerrick337/operator-os. It costs 35 tokens per session (262 once invoked), scanned A, original, MIT.

A workflow for converting PDF documents into structured Markdown, including text, images, tables, and headings.

In plain words
What is it for?
Use it to extract text from PDFs, convert files or folders to Markdown, preserve tables and images, or process scanned documents.
Why use it?
It reduces the manual cleanup needed when moving document content into an editable, text-based format, including scanned PDFs through OCR.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to extract text from PDFs, convert files or folders to Markdown, preserve tables and images, or process scanned documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rangerrick337/operator-os/pdf-conversion
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 rangerrick337/operator-os --skill pdf-conversion
Clone the repo
git clone --depth 1 https://github.com/rangerrick337/operator-os

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rangerrick337/operator-os/pdf-conversion"><img src="https://agentmods.dev/badge/skills/rangerrick337/operator-os/pdf-conversion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 262 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.00035 $0.00262
Opus 5.5 $0.00014 $0.00105
Sonnet 5.5 $0.00007 $0.00052
Haiku 4.5 $0.00003 $0.00026

Measured 1mo ago against content hash 0b357a8ce2b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pdf-conversion 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/pdf_to_md.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.

Operator Team OS/3. Skills/pdf-conversion/SKILL.md · 43 lines

What it actually says

PDF Conversion Skill

Overview

Converts PDF files to clean, readable Markdown format with proper formatting, image extraction, and table preservation.

When to Use

  • "Convert this PDF to markdown"
  • "Extract text from PDF"
  • "Transform PDF to MD format"
  • "Process PDFs in folder X"
  • SOP: Operator Team OS/1. SOPs/convert_pdfs_to_markdown.md

Scripts

Script Purpose
pdf_to_md.py Main PDF to Markdown converter

Usage

python3 scripts/pdf_to_md.py /path/to/input.pdf /path/to/output.md

Features

  • Text extraction with OCR fallback
  • Image extraction and embedding
  • Table detection and formatting
  • Heading structure preservation
  • Automatic cleanup of formatting artifacts

Edge Cases

  • Scanned PDFs: Falls back to OCR
  • Complex tables: Best-effort conversion
  • Encrypted PDFs: Will fail (requires password)
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. 1mo ago First seen · 43 lines · 35 tokens per session scan A 0b357a8ce2b5

Subscribe to this mod's changes

pdf-conversion is a skill published in the GitHub repository rangerrick337/operator-os (9 stars, last pushed 14d ago), licensed MIT. It adds 35 tokens to every session and 262 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-31.

Related

Other skills, from other repositories

pdf-processing

Process and extract information from PDF documents. Use this skill when the user asks to read, analyze, or extract data from PDF files.

MervinPraison/PraisonAI · 30 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

csv-workbench

Analyze CSV files in /mnt/data and return concise numeric summaries.

openai/openai-agents-python · 17 tokens

engineering-drawing

Make an engineering drawing of a part as a PDF - orthographic views with hidden lines and centre marks, real dimensions, hole callouts, notes and a title block on ISO sheets, all projected from the part's geometry so the drawing follows the model. Use when the user asks for a drawing, a dimensioned sheet, shop or…

earthtojake/text-to-cad · 86 tokens

azure-ai-document-intelligence-ts

Extract text, tables, and structured data from documents using Azure Document Intelligence (@azure-rest/ai-document-intelligence). Use when processing invoices, receipts, IDs, forms, or building custom document models.

microsoft/skills · 47 tokens

surfsense-pdf

Work on PDFs the user has, or PDFs in Studio, without changing them - merge, take out, split, turn or reorder pages, add a watermark, page numbers, a header or a footer, and list or fill a form's fields. Load it whenever the user asks for one of these on a PDF.

MODSetter/SurfSense · 70 tokens