document-intelligence

Performs chart-aware PDF-to-text conversion with formatting preservation.

1|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/sfc-gh-nejain/document-intelligence-skill --skill document-intelligence
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-intelligence
Source: https://github.com/sfc-gh-nejain/document-intelligence-skill/tree/main
Command: npx skills add https://github.com/sfc-gh-nejain/document-intelligence-skill --skill document-intelligence

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automate structured data extraction and document parsing from PDFs and other document formats using Snowflake Cortex AI, transforming unstructured content into usable data for downstream analytics, workflows, and decision-making.

Core Features & Use Cases

  • End-to-end document processing with AI_EXTRACT (structured fields/tables), AI_PARSE_DOCUMENT (full content with layout), and AI_COMPLETE (visual content analysis) for invoices, contracts, reports, charts, and blueprints.
  • Batch and pipeline readiness: build processing pipelines, handle large documents via page filters, layouts, and optional page-splitting strategies.
  • Multi-format support: PDFs, images, Office documents, HTML/TXT, and more, with capabilities for data extraction, layout preservation, and image analysis.
  • Real-world use cases: extract invoice data into structured fields, parse research documents for RAG-ready content, and analyze charts/blueprints to produce structured outputs.

Quick Start

Use the Document Intelligence skill to extract invoice data from a file located in your Snowflake stage, for example invoice.pdf. Then apply AI_EXTRACT with a field mapping to capture invoice_number, vendor, and total_amount, and store the results as needed.

Frequently Asked Questions about document-intelligence

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract structured data from PDFs in Snowflake?

To extract structured data from PDFs in Snowflake, use Cortex AI functions like AI_EXTRACT to map specific fields such as invoice numbers and vendor names directly from files staged in your Snowflake environment.

Can I parse large documents and split pages with Cortex AI?

Yes, you can parse large documents with Cortex AI by applying page filters, preserving layouts with AI_PARSE_DOCUMENT, and using optional page-splitting strategies to handle extensive files across batch processing pipelines.

Does Snowflake Cortex AI support extracting data from images and charts?

Snowflake Cortex AI supports extracting data from images and charts using the AI_COMPLETE function, which performs visual content analysis to produce structured outputs from documents like blueprints and reports.

Do I need Cortex AI access to build document extraction pipelines?

Yes, Cortex AI access in Snowflake is required to build document extraction pipelines, as the processing relies on AI_EXTRACT, AI_PARSE_DOCUMENT, and AI_COMPLETE for end-to-end automation of structured data extraction.

What is the best way to automate invoice data extraction in Snowflake?

The best way to automate invoice data extraction in Snowflake is applying AI_EXTRACT with a field mapping to capture invoice_number, vendor, and total_amount from files in your stage, storing results for downstream workflows.

Can I process multiple document formats like Office files and HTML with Cortex AI?

Cortex AI processes multiple document formats including Office documents, HTML, TXT, and PDFs, providing capabilities for data extraction, layout preservation, and image analysis across diverse file types in batch pipelines.