跳到正文
TakoAPI
返回技能列表

habib-pdf-to-json

由 dbmoradi60 提供

Calendar & Scheduling
820下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Extract structured data from construction PDFs.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

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

前置要求

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

安装

clawhub install dbmoradi60/habib-pdf-to-json

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接