Splits composite figures, screenshots, or dashboards into individual panels by cropping Unlimited-OCR's layout bounding boxes. Preprocesses dense multi-panel images so a vision model sees one chart per prompt.
Ships in unlimited-ocr. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Self-Evolving Skill: improves through use. The behaviour below was measured, not assumed — see
../../references/EMPIRICAL.md. Fix this file the moment a claim stops holding.
Unlimited-OCR localises charts and transcribes nothing inside them. Fed a 1080×1504 image
containing nine matplotlib panels, it returned nine <|det|>chart [box]<|/det|> markers with
perfect boundaries and zero characters of text — not even the panel titles, which were legible.
That is a dead end if you wanted a transcription. It is excellent if you wanted a segmenter: the boxes were accurate enough to crop nine clean, individually-interpretable panels out of one dense collage.
The pipeline that follows from it:
composite image ──[Unlimited-OCR: localise]──> N panel crops ──[a chart-reading model]──> N descriptions
A vision model handed one chart at a time, filling the frame, does markedly better than the same model handed a nine-panel grid and asked to describe all of it at once. This skill is the first stage; the describer is whatever you already use.
S=~/eon/cc-skills/plugins/unlimited-ocr/scripts/unlimited_ocr.py
# Every detected region, cropped
uv run --no-project $S segment --input figure.png --output ./panels
# Only charts and tables, ignoring text blocks
uv run --no-project $S segment --input figure.png --output ./panels --categories chart,table
# Wider margin — useful when axis labels sit outside the plotted area
uv run --no-project $S segment --input figure.png --output ./panels --pad-pixels 24
Output is <stem>_<index>_<category>.png per region, plus a segments.json manifest carrying the
source size, both coordinate systems, and any text the model did associate with each region.
--pad-pixels defaults to 12, and should not be 0The model's boxes hug the plotted area. A pixel-exact crop of a chart therefore cuts off the x-axis tick labels sitting just below it — verified on the nine-panel figure, where every crop at padding 0 lost its date axis. Those labels carry the units and the date range, which is most of what makes a chart interpretable by the next model in the chain.
Twelve pixels is a starting point, not a law. Raise it for figures with outboard captions.
{
"source_size": [1080, 1504],
"regions_detected": 9,
"regions_written": 9,
"segments": [
{
"index": 0,
"category": "chart",
"normalized_bbox": [0, 0, 999, 152],
"pixel_bbox": [0, 0, 1080, 241],
"path": "…_000_chart.png",
"text": ""
}
]
}
regions_detected and regions_written differ when --categories or --min-pixels filtered
something out. They are reported separately on purpose: a silent gap between "what the model found"
and "what you got" is how a segmentation job quietly under-delivers.
After this skill completes, check before closing:
--pad-pixels and record the document class that
needed it. The default of 12 exists because 0 clipped axis labels off every panel of a real figure.references/PITFALLS.md; silent under-delivery is the failure
mode this skill warns about.What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/unlimited-ocr-batch-folderBatch parse a folder of PDFs and images to markdown with LaTeX, tables, and layout boxes using baidu/Unlimited-OCR locally — with checkpoint/resume, incremental writes, and per-file repetition detection. Use when processing a large folder of scanned documents or research papers, when you need results written incrementally to survive interruption, or when extracting equations and tables from a document collection. TRIGGERS - batch ocr, ocr a folder, batch parse documents, parse multiple pdfs, folder to markdown, extract formulas from folder, ocr multiple files, batch document extraction, document collection parsing, checkpoint resume./unlimited-ocr-parse-documentParse an image, PDF, or directory into markdown with LaTeX formulas, HTML/markdown tables, and per-block layout bounding boxes, using baidu/Unlimited-OCR locally — free, offline, no API key, no upload quota. Runs on Apple Silicon via MLX (~2.4 s/image, ~5 GB) or an NVIDIA GPU via transformers. Use when transcribing scanned or image-based documents, extracting equations from a paper, converting a PDF to markdown, OCR-ing screenshots, or replacing a paid vision-API OCR call with a local one. TRIGGERS - unlimited-ocr, ocr this, ocr a pdf, extract text from image, transcribe document, pdf to markdown, document parsing, extract formulas, extract equations, latex from image, local ocr, offline ocr, scanned pdf, image to text, layout parsing, bounding boxes from document./unlimited-ocr:unlimited-ocr-segment-figurefrom unlimited-ocr
npx claudepluginhub terrylica/cc-skills --plugin unlimited-ocrOther plugins' skills for the same job