一键导入
document-extract
Extract structured fields from a document using a caller-supplied JSON schema.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Extract structured fields from a document using a caller-supplied JSON schema.
用 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 | document-extract |
| description | Extract structured fields from a document using a caller-supplied JSON schema. |
| inputs | [{"name":"document_id","type":"string","required":true,"description":"UUID of the Document to extract from."},{"name":"schema","type":"object","required":true,"description":"JSON Schema object describing the fields to extract (e.g. contract parties, dates, amounts)."},{"name":"page_range","type":"array","required":false,"description":"Optional [start, end] page numbers to limit extraction scope."}] |
| outputs | [{"name":"extracted","type":"object","description":"Key-value map of extracted fields matching the caller-supplied schema."},{"name":"confidence","type":"object","description":"Per-field confidence scores (0.0–1.0)."}] |
| tools | ["llm-extract","db-query"] |
Use this skill when the user needs structured data pulled from a specific document — such
as contract terms, invoice line items, or form fields. Prefer it over document-search
when the output must conform to a known schema rather than returning ranked snippets.
Page rows (optionally scoped by page_range) and join with Section context
via db-query.llm-extract.Document.metadata field via
db-query for audit trail.Emits one ExecutionHistory row with event_type=DOCUMENT_EDITED and actor_type=agent.