Not loaded · from founder-os
Extracts structured data from invoice files (PDF, JPG, PNG, TIFF) via OCR and field extraction. Outputs vendor info, line items, dates, and confidence scores.
Claude Code won't load this skill
It ships in founder-os at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Extract structured data from invoice files (PDF, JPG, JPEG, PNG, TIFF). Used by the extraction-agent as step 1 of the 5-agent pipeline.
Extracted data is ultimately recorded in the consolidated Finance database with Type = "Invoice". DB discovery order: "[FOS] Finance" first, then "Founder OS HQ - Finance", then "Invoice Processor - Invoices" as legacy fallback. The vendor name is matched against the Companies database to populate a Company relation.
| Format | Notes |
|---|---|
| PDF (native) | Text layer available — high confidence |
| PDF (scanned) | Requires OCR — moderate confidence |
| JPG / JPEG | Photograph of invoice — apply OCR |
| PNG | Screenshot or scan — apply OCR |
| TIFF | High-resolution scan — apply OCR |
Reject unsupported formats with error: "unsupported_format". Never attempt to process ZIP, DOCX, or spreadsheet files.
All extracted data must conform to this structure:
{
"vendor": {
"name": "string (required)",
"address": "string or null",
"tax_id": "string or null"
},
"invoice_number": "string or null",
"invoice_date": "ISO 8601 date (required)",
"due_date": "ISO 8601 date or null",
"currency": "ISO 4217 code (default: USD)",
"line_items": [
{
"description": "string",
"quantity": "number",
"unit_price": "number",
"total": "number"
}
],
"subtotal": "number",
"tax": "number",
"total": "number (required)",
"payment_terms": "string or null",
"extraction_confidence": "number 0.0–1.0",
"source_file": "string (original file path)"
}
Assign extraction_confidence on a 0.0–1.0 scale:
| Score | Meaning |
|---|---|
| 0.9–1.0 | Native PDF with clear text; all required fields found |
| 0.7–0.89 | Good OCR result; minor fields missing (address, tax ID) |
| 0.5–0.69 | Moderate confidence; some amounts or dates uncertain |
| 0.3–0.49 | Low confidence; scanned image with poor quality |
| < 0.3 | Very low; partial extraction only |
Do not inflate confidence. A score of 0.92 should mean the data is almost certainly correct, not merely plausible.
For scanned PDFs and image files:
0 vs O, 1 vs l, , vs . in numbersReturn status: "success" with the partial data and the low confidence score. Do NOT return status: "error" — let downstream agents (validation) decide what to do. Flag which fields are uncertain.
If vendor name and total are found but line items cannot be parsed:
line_items: [] (empty array, not null)Sum all tax amounts into a single tax field. Example: "State Tax $10 + Federal Tax $5" → "tax": 15.
Line items may span multiple pages. Ensure all pages are processed before compiling the line items array.
Native PDFs have a text layer — prefer extracting text directly. Scanned PDFs appear as images embedded in a PDF container — apply OCR to the image content.
Return immediately:
{
"status": "error",
"error": "unsupported_format",
"message": "File type not supported. Supported: PDF, JPG, JPEG, PNG, TIFF."
}
quantity × unit_price = total (within rounding)extraction_confidence must honestly reflect the actual quality of extractionsource_file must always be populated with the original file pathline_items array is valid (e.g., single-total invoices) — never return null for line_itemsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
97 skills in this plugin
/action-extractionAction ExtractionConverts meeting transcripts, email threads, and documents into structured Notion tasks. Activates when the user pastes text and wants action items extracted, asks 'what tasks are in this?', or needs to parse any content for to-dos, assignments, and commitments. Handles verb detection, owner inference, deadline parsing, and duplicate checking against HQ Tasks./activity-loggingActivity LoggingCreates and manages activity records in the CRM Communications database with AI-generated summaries. Activates when the user wants to log an email or meeting to CRM, record a client interaction, or asks 'save this to the client record.' Handles idempotent operations, deduplication, and AI summarization./answer-synthesisnpx claudepluginhub thecloudtips/founder-os --plugin founder-osOther plugins' skills for the same job