pdf-conversion-router
Skill by sickn33
Routes PDF conversion to Markdown, HTML, text, JSON, DOCX or structured notes. It helps agents choose the extraction route, settings and cleanup steps for better fidelity and readability.
Install pdf-conversion-router
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/pdf-conversion-router ~/.claude/skills/pdf-conversion-routerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/pdf-conversion-router ~/.gemini/antigravity-cli/skills/pdf-conversion-routerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install pdf-conversion-router in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
PDF Conversion Router is an agent skill that guides how a PDF is converted into Markdown, HTML, text, JSON, DOCX or structured notes. Before converting, the agent classifies the PDF and the target output, then picks an extraction route, flags and cleanup strategy. The source says opendataloader-pdf is the primary engine and the first attempt for every conversion, with other tools used for classification, OCR, validation or fallback.
The skill includes document-type heuristics for medical reports, slide decks, table-heavy finance files, scanned PDFs and narrative documents. It requires checking more than page 1, including a complex section, and lists red flags such as flattened tables and detached labels. It is aimed at users who need faithful, readable output from PDFs, especially medical or confidential files where any backend use should be reviewed first.
Written from the project's SKILL.md and checked against it.
What it can do
- Classify the source PDFIdentifies whether the file is native digital, OCR-noisy, scanned, a slide deck, medical, table-heavy or mixed layout.
- Choose the output shapePicks between markdown-with-html, markdown, html, text, json and docx based on the document and the user's goal.
- Select the extraction routeStarts with opendataloader-pdf and adds flags such as --table-method cluster and --image-output off where suited.
- Validate the resultChecks early, complex and high-value sections for attached labels, units, table headers and row boundaries.
- Run a post-conversion repair passApplies cleanup, structural correction or a route retry, preferring the least invasive repair.
- Retry once when the route is wrongMakes one targeted retry, such as OCR first or switching to a table-aware route, instead of trying many variants.
What you need
- Java and Python available for the opendataloader-pdf engine
- opendataloader-pdf installed; the catalog does not install it
- Optional OCR and backend dependencies for scanned PDFs
- pdfinfo and pdftotext command-line tools for quick checks
Try asking
- Convert this scanned lab report PDF to Markdown and check the result table.
- Turn this slide deck PDF into clean Markdown with page footers removed.
- Convert this finance PDF to HTML and make sure table rows stay intact.
Good to know
- Heuristics are starting points, not guarantees, according to the source.
- Hybrid or full modes can send document pages to a backend; review its endpoint, retention and cost first.
- DOCX output needs a separate verified tool if the installed engine does not support it.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/pdf-conversion-router/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md16 KB
Alternatives to pdf-conversion-router
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
pdf-conversion-router: common questions
Which engine does the PDF conversion router use?
The source says opendataloader-pdf is the primary engine and is always the first conversion attempt by default. Other tools support classification, OCR, validation or fallback.
Can it convert a PDF to DOCX?
The source says DOCX needs a separate verified reconstruction tool if the installed engine does not support it. Renaming extracted Markdown or HTML does not create a DOCX file.
Is it safe to use with medical PDFs?
The source recommends checking the backend's endpoint, retention, cost and authorization before enabling hybrid or full modes, especially for medical or confidential files. It also lists lab table checks for medical output.
How do I install pdf-conversion-router?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pdf-conversion-router free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is pdf-conversion-router safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pdf-conversion-router?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
