一键导入
extract-tabular-data
Walk an ingested document's pages and extract every detected table into a canonical {name, headers, rows} structure with source attributions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Walk an ingested document's pages and extract every detected table into a canonical {name, headers, rows} structure with source attributions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate a Word document from ingested source documents using the agnostic Document tree (CommonMark/Pandoc-aligned)
Generate a single Document (Word/PowerPoint) from all source documents in a collection, with attributions back to each source
Generate a PDF from ingested source documents using the agnostic Document tree
Generate a PowerPoint deck from ingested source documents using the agnostic Document tree (parametrised by slide_count, style, audience, tone)
Generate an Excel workbook (.xlsx) from ingested source documents — tabular with charts, formulas, KPI cells
Find PII (emails, phones, SSN, credit cards, IBANs, names, addresses, DOB) in an ingested document; return redaction plan
| name | extract-tabular-data |
| description | Walk an ingested document's pages and extract every detected table into a canonical {name, headers, rows} structure with source attributions |
| model | deepseek/deepseek-v4-flash |
| tier | flash |
| inputs | [{"name":"document_id","type":"str","required":true,"description":"Prisma Document.id (any format — PDF/DOCX/PPTX/XLSX)"},{"name":"max_tables","type":"int","required":false,"description":"Soft cap on number of tables to return (default 20)"},{"name":"hint","type":"str","required":false,"description":"Optional context to focus extraction — e.g. \"financial figures only\" or \"patient measurements\""}] |
| outputs | [{"name":"document_id","type":"str"},{"name":"title","type":"str"},{"name":"table_count","type":"int"},{"name":"tables","type":"list[dict]","description":"[{name, headers, rows, source_page, attribution: {document_id, section_id, page_numbers}}]"},{"name":"model","type":"str"}] |
Walks every page of any ingested OfficePlane document (PDF, DOCX, PPTX, XLSX) and extracts all detected tables into a canonical structured format ready for downstream structured consumers such as Excel population (Phase 37).
document_id. Works with any
format — not restricted to Excel.OFFICEPLANE_AGENT_MODEL_FLASH,
default deepseek/deepseek-v4-flash) with temperature=0 and
response_format={"type": "json_object"} for deterministic output.headers list or no rows list are silently dropped.null or truncated to match the header width.max_tables.attribution block for each table containing document_id,
section_id, and page_numbers so downstream consumers can trace data back to
its source page.SkillInvocation audit row via persist_skill_invocation.The model is instructed to:
"1,200" become 1200; "12.5%" becomes
0.125."YYYY-MM-DD")
when the conversion is unambiguous.Col1, Col2, …)."text", "number",
"date", "percent", or null when type cannot be determined.The optional hint input narrows extraction focus, e.g. "financial figures only"
or "patient measurements". The model is instructed to skip tables that do not
match the hint.
{
"document_id": "cuid...",
"title": "Q3 Sales Report",
"table_count": 2,
"tables": [
{
"name": "Regional Revenue by Quarter",
"headers": ["Region", "Q1", "Q2", "Q3"],
"rows": [
["North America", 1200000, 1350000, 1480000],
["Europe", 900000, 980000, 1050000]
],
"source_page": 3,
"row_count": 2,
"column_types": ["text", "number", "number", "number"],
"attribution": {
"document_id": "cuid...",
"section_id": "sec-uuid...",
"page_numbers": [3]
}
}
],
"model": "deepseek/deepseek-v4-flash"
}
If the document has no page content the skill returns early with table_count=0,
tables=[], and a note field explaining the situation.