studio-seventeen
WORKSHOP--:--
~/workshop/skills/modbus/extract-pdf-map.md

$extract-pdf-map

SKILL 05 / 20READ-ONLY

Extract PDF Map

Find and extract register tables from a PDF manual, or limit the work to a page range you already know.

WHAT YOU GET

A clear result you can inspect

You get `pdf-extraction.json`, which contains the register rows, the manual page and table position for each row, the pages it found and covered, and any rows it rejected or held for review. It does not copy page images or the full manual text.

HOW IT RUNS

Finds register tables and proves what it covered

01 · GUIDESKILL.mdprocess + safety
02 · EXECUTEscripts/run.pybundled local Python

Finds register tables and proves what it covered. If you give page numbers, it reads that range. Otherwise it searches the manual for likely register pages. The bundled Python compares text, page coordinates, and drawn table lines. If two results conflict or a discovered page was not covered, it keeps the useful rows but does not claim that extraction is complete.

WHERE IT FITS

Used in these workflows

EXAMPLE REQUEST

Ask for the result in your own words.

Use this example as a starting point. Replace the file names and details with your own.

CODEX$extract-pdf-map
CLAUDE CODE/modbus-skills:extract-pdf-map
CURSOR + OTHER CLIENTSUse the client’s native skill invocation.
$extract-pdf-map

I do not know which pages contain the register map in `drive-manual.pdf`. Please find the Modbus register tables, extract the rows, and keep the page reference for each one.
GitHub source ↗