Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Pdf Extractor

БесплатноБез исполняемых скриптовНе проверен

Design AI extraction configurations for structured and semi-structured insurance and mortgage PDFs. Use when configuring a document AI model to extract data…

TheLobbiот TheLobbi★ 22 звезды на GitHub

Об этом скилле

PDF Field Extraction Configuration Design

Design the extraction configuration for AI-based data extraction from insurance and mortgage PDFs. Covers document type identification, field definition, confidence thresholds, model selection, pre-processing requirements, and structured output schema.


Step 1: Document Type Identification

Before extracting fields, the system must identify what type of document is being processed. Route to the correct extraction model based on document type.

Document classification first: Run a classifier (see form-classifier skill) before the extraction model. The classifier returns a document type label that selects the correct field extraction configuration.

Document types and extraction priority:

Document Type Extraction Priority Typical Use
ACORD 80 (personal auto application) High Insurance new business
ACORD 125 (commercial applicant) High Commercial lines
Policy declarations page High Policy verification
Loss run High Underwriting
Pay stub High Mortgage income verification
W-2 High Mortgage income verification
1040 tax return High Mortgage income + self-employed
1003 Uniform Residential Loan Application High Mortgage processing
Bank statement High Mortgage asset verification
Explanation of Benefits (EOB) Medium Claims / medical
Certificate of insurance Medium Proof of coverage
MVR (Motor Vehicle Record) Medium Insurance underwriting
Inspection report Medium Property insurance

Step 2: Field Definition by Document Type

Pay Stub

Field Name Data Type Required Validation Rule Extraction Note
employer_name string Required Non-empty Top of stub; sometimes in logo area
employee_name string Required Non-empty Matches borrower name on 1003
employee_ssn_last4 string Optional 4 digits Often masked; extract if visible
pay_period_start date Required Valid date Format: varies (MM/DD/YYYY, etc.)
pay_period_end date Required Valid date Must be more recent than prior stub
pay_date date Required Valid date Used to determine how current
pay_frequency enum Required Weekly/Bi-Weekly/Semi-Monthly/Monthly Calculate annual equivalent
gross_pay_this_period currency Required Positive number Current period gross before deductions
ytd_gross_pay currency Required Positive number Year-to-date gross
federal_tax_withheld currency Optional Positive number Cross-check against W-2
net_pay currency Optional Positive number Informational only
hourly_rate currency Optional If hourly employee Used to calculate annual
hours_worked number Optional Positive number If hourly employee

Annual income calculation:

Bi-weekly: ytd_gross / (pay_period_end_week_of_year / 2) × 26
Semi-monthly: ytd_gross / (pay_period_number) × 24
Monthly: gross_pay_this_period × 12
Hourly: hourly_rate × hours_per_week × 52 (use 2-year average if variable)

W-2

Field Name Box Data Type Required Validation
employee_name Employee name box string Required Match to application
employer_name Employer name box string Required Match to pay stubs
employer_ein b string Required XX-XXXXXXX format
wages_tips_other 1 currency Required Primary income figure
federal_income_tax 2 currency Optional Cross-check with 1040
social_security_wages 3 currency Optional May differ from Box 1
medicare_wages 5 currency Optional May differ from Box 1
state 15 string Optional State of employment
state_wages 16 currency Optional State income
tax_year top of form year Required Validate: year should be prior 2 years

1040 Tax Return (Federal)

Field Name Line Data Type Required Note
tax_year Top of form year Required
filing_status Filing status checkbox enum Required Single/MFJ/MFS/HOH/QW
total_income 9 currency Required AGI before deductions
agi 11 currency Required Adjusted Gross Income
wages_salaries 1a currency Required for W-2 employees
business_income_loss Schedule C currency Required for self-employed From Schedule C
schedule_c_gross_revenue Schedule C line 1 currency Self-employed
schedule_c_net_profit Schedule C line 31 currency Self-employed After expenses
rental_income Schedule E currency If applicable
k1_income Schedule E Part II currency Partnership/S-Corp
depreciation_added_back Schedule C + E currency Self-employed Non-cash expense
Полный SKILL.md на GitHub

Установить Pdf Extractor в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Bash

FAQ

Что делает скилл Pdf Extractor?

Design AI extraction configurations for structured and semi-structured insurance and mortgage PDFs. Use when configuring a document AI model to extract data fields from applications, policy documents, EOBs, pay stubs, tax returns, or bank statements.

Как установить скилл Pdf Extractor?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Pdf Extractor запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Pdf Extractor с