LaunchKit · 2026
Back to Skills

habib-pdf-to-json

Extract structured data from construction PDFs.

0
820 downloads
by @dbmoradi60

Setup & Installation

openclaw skills install @dbmoradi60/habib-pdf-to-json

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install habib-pdf-to-json

What This Skill Does

Extracts structured data from construction PDFs, including specifications, bills of materials, schedules, and reports. Supports both native PDFs via pdfplumber and scanned documents via OCR. Outputs to Excel, CSV, or JSON.

Handles both native and scanned PDFs in one workflow, eliminating the need to switch between tools depending on document type.

When to use it

  • Extracting a bill of materials table from a construction spec PDF
  • Converting scanned project schedules into Excel for analysis
  • Batch processing a folder of PDF reports into a single spreadsheet
  • Pulling section numbers and titles from a technical specification document
  • Exporting parsed PDF tables to JSON for downstream API integration

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: extract all tables from material_specification.pdf and save to Excel

AGENT
  1. 1Open PDF with pdfplumber
  2. 2Iterate over each page and call extract_tables()
  3. 3Convert each table to a DataFrame with page and table metadata
  4. 4Concatenate all DataFrames
  5. 5Export combined DataFrame to materials.xlsx
OUTPUT

materials.xlsx containing all extracted tables with _page and _table columns

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Tesseract OCR installed locally (required for scanned PDF support)