Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

habib-pdf-to-json

bởi dbmoradi60

Calendar & Scheduling
820Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Extract structured data from construction PDFs.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  1. 1

    Open PDF with pdfplumber

  2. 2

    Iterate over each page and call extract_tables()

  3. 3

    Convert each table to a DataFrame with page and table metadata

  4. 4

    Concatenate all DataFrames

  5. 5

    Export combined DataFrame to materials.xlsx

ĐẦU RA

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

Yêu cầu

  • Tesseract OCR installed locally (required for scanned PDF support)

Cài đặt

clawhub install dbmoradi60/habib-pdf-to-json

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết