Skip to content
Back to skills

Convert Complex Pdfs And Document Images Into Agent Ready Markdown With Ocrflux

ASecurity

Use OCRFlux when agents need local PDF or image parsing into Markdown/JSONL with layout-aware OCR, table handling, and cross-page paragraph or table merging.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentspythongogitsecuritydocumentation

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 2, 2026

npx -y skills add agentskillexchange/skills --skill convert-complex-pdfs-and-document-images-into-agent-ready-markdown-with-ocrflux --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Convert Complex Pdfs And Document Images Into Agent Ready Markdown With Ocrflux?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Convert Complex Pdfs And Document Images Into Agent Ready Markdown With Ocrflux
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-convert-complex-pdfs-and-document-images-into-agen/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-convert-complex-pdfs-and-document-images-into-agen)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Convert complex PDFs and document images into agent-ready Markdown with OCRFlux"
slug: "convert-complex-pdfs-and-document-images-into-agent-ready-markdown-with-ocrflux"
description: "Use OCRFlux when agents need local PDF or image parsing into Markdown/JSONL with layout-aware OCR, table handling, and cross-page paragraph or table merging."
github_stars: 2514
verification: "security_reviewed"
source: "https://github.com/chatdoc-com/OCRFlux"
author: "ChatDOC"
publisher_type: "open_source"
category: "Data Extraction & Transformation"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "chatdoc-com/OCRFlux"
  github_stars: 2514
---

# Convert complex PDFs and document images into agent-ready Markdown with OCRFlux

Use OCRFlux when agents need local PDF or image parsing into Markdown/JSONL with layout-aware OCR, table handling, and cross-page paragraph or table merging.

## Prerequisites

Python 3.11, conda, NVIDIA GPU, vLLM, poppler-utils, OCRFlux-3B model

## Installation

Use the upstream install or setup path that matches your environment:
- conda create -n ocrflux python=3.11
- conda activate ocrflux
- git clone https://github.com/chatdoc-com/OCRFlux.git
- pip install -e . --find-links https://flashinfer.ai/whl/cu124/torch2.5/flashinfer/

Requirements and caveats from upstream:
- are difficult to install in an existing python environment, so please do make a clean python environment to install into.
- python -m ocrflux.pipeline ./localworkspace --data test.pdf --model /model_dir/OCRFlux-3B
- python -m ocrflux.pipeline ./localworkspace --data test_page.png --model /model_dir/OCRFlux-3B

Basic usage or getting-started notes:
- Based on a 3B parameter VLM, so it can run even on GTX 3090 GPU.
- Then for the merging task, if the elements to be merged are paragraphs, we can just concate them. However, for two table fragments, their merging is much more challenging. For example, the table spanning multiple page...
- [OCRFlux-bench-cross](https://huggingface.co/datasets/ChatDOC/OCRFlux-bench-cross): Containing 1000 samples (500 English samples and 500 Chinese samples), each sample contains the Markdown element lists of two consecu...

- Source: https://github.com/chatdoc-com/OCRFlux
- Extracted from upstream docs: https://raw.githubusercontent.com/chatdoc-com/OCRFlux/HEAD/README.md

## Documentation

- https://github.com/chatdoc-com/OCRFlux

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/convert-complex-pdfs-and-document-images-into-agent-ready-markdown-with-ocrflux/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.