Sandbox
@landing-ai/ade-document-processing-skills

ADE document extraction skill for Claude Code and Cursor

This skill teaches an agent how to use LandingAI’s ADE to work with complex documents and turn them into structured outputs. It covers the main API operations and the pipeline patterns around them, including batch processing, mixed-document routing, async jobs, and export steps.

65 stars17 forksUpdated 12d ago
Who it's for

Builders who want their agent to extract fields, tables, and sections from PDFs and other documents without writing the workflow from scratch.

What it delivers

You can turn messy documents into structured data with traceable outputs and reusable extraction workflows.

What it does

Parse documents

Converts documents into layout-aware Markdown and hierarchical JSON.

Extract fields

Uses JSON schemas or Pydantic models to pull out invoices, forms, tables, and other structured data.

Split mixed batches

Separates multi-document inputs into document types like invoices, receipts, statements, and forms.

Classify pages

Routes pages by type before parsing or extraction.

Process long jobs

Handles large files and long-running extractions with async Parse Jobs and Extract Jobs.

Visual grounding

Keeps bounding boxes, page coordinates, overlays, and page-level traceability for extracted values.

RAG preparation

Includes patterns for semantic chunking, embeddings, and vector database ingestion.

Export results

Can write structured output to DataFrames, CSV, or databases.

How to get it

  1. 1Run
    # Step 1: Add the marketplace 
    /plugin marketplace add landing-ai/ade-document-processing-skills
    
    # Step 2: Install the plugin
    /plugin install ade-document-processing@ade-document-processing-skills
  2. 2Clone the repository
    git clone https://github.com/landing-ai/ade-document-processing-skills.git
  3. 3Copy the skill into your project or home directory
    # Project-level (skill applies to this project only)
    cp -R ade-document-processing-skills/plugins/ade-document-processing/skills/document-extraction  YOUR_PROJECT/.claude/skills/
    
    # Global (skill available in all projects)
    cp -R ade-document-processing-skills/plugins/ade-document-processing/skills/document-extraction  ~/.claude/skills/
  4. 4Create a .env file in your project root
    echo 'VISION_AGENT_API_KEY=your-key-here' > .env

README

ADE Document Processing Skills

License: MIT

An agent skill for LandingAI's Agentic Document Extraction (ADE): production-ready document AI that converts complex, real-world documents into accurate, structured data with full auditability and traceability.

The skill teaches agentic coding assistants (Claude, Cursor, Roo Code, or any agent supporting the Agent Skills convention) how to parse, extract, classify, and split documents, and how to compose those operations into processing pipelines, using the ADE REST APIs or the official Python and TypeScript libraries. No templates or ML training required.

Prerequisites

  • A VISION_AGENT_API_KEY from LandingAI (free trial, no credit card required)
  • A Python environment (e.g. uv or venv) if your agent writes Python; the skill installs landingai-ade and other dependencies as needed

Installation

For Claude Code agents

# Step 1: Add the marketplace 
/plugin marketplace add landing-ai/ade-document-processing-skills

# Step 2: Install the plugin
/plugin install ade-document-processing@ade-document-processing-skills

Manual installation

  1. Clone the repository:

    git clone https://github.com/landing-ai/ade-document-processing-skills.git
    
  2. Copy the skill into your project or home directory:

    # Project-level (skill applies to this project only)
    cp -R ade-document-processing-skills/plugins/ade-document-processing/skills/document-extraction  YOUR_PROJECT/.claude/skills/
    
    # Global (skill available in all projects)
    cp -R ade-document-processing-skills/plugins/ade-document-processing/skills/document-extraction  ~/.claude/skills/
    

Set up your API key

Create a .env file in your project root:

echo 'VISION_AGENT_API_KEY=your-key-here' > .env

Get your key at va.landing.ai/settings/api-key.

Why ADE?

  • Vision-first: Proprietary models that understand layout, not just text. Handles complex tables, dense forms, multi-column pages, and scanned documents
  • Accurate: 99.16% on DocVQA, proven on 1B+ documents processed
  • Traceable: Extracted values include bounding boxes and page coordinates traceable back to the source document
  • Agentic by design: Adapts to each document autonomously, planning and verifying until quality thresholds are met
  • 20+ file formats: PDF, images, spreadsheets, presentations, and more, with no templates required

The Skill

document-extraction

Covers the full ADE surface, from single API operations to the pipeline patterns that compose them. It defaults to the current v2 (DPT-3) APIs and routes to the v1 APIs for the capabilities that live there.

Core operations:

  • Parse documents into structured Markdown with layout awareness and hierarchical JSON
  • Extract specific fields using JSON schemas or Pydantic models (invoices, forms, tables)
  • Split multi-document batches into separate documents by type (invoices vs receipts, statements vs forms)
  • Classify each page by type to route pages before parsing
  • Generate a table of contents from a document's hierarchical section structure
  • Process large files and long extractions asynchronously with Parse Jobs and Extract Jobs
  • Visual grounding: precise bounding boxes and page numbers for every element

Pipeline patterns:

  • Batch process documents in parallel
  • Classify-then-extract pipelines for mixed document types
  • RAG preparation: semantic chunking, embeddings, vector database ingestion
  • Table stitching for tables that span multiple pages
  • Export structured results to DataFrames, CSV, or databases
  • Visualize extractions: bounding box overlays, chunk cropping, word-level highlighting

Usage

The skill guides your agent to write code that processes documents using ADE. Ask your agentic assistant:

"Write a Python script that reads all invoices under ./documents/ and extracts the line items, descriptions, and prices as a CSV file"

"Write a script that extracts all figures from this scientific paper as individual PNG files"

"Write a script that reads account statements and extracts all transactions across pages into a single CSV file"

"Write a script that extracts the introduction section from this PDF and highlights every occurrence of a specific term with a translucent red overlay"

"Write a Python script that reads all PDFs in a folder, extracts the abstract and introduction sections, and saves them as plain text files"

The skill includes guidance and patterns for dependency installation, API client setup, and error handling, so your agent handles these for you.

Repository Structure

├── .claude-plugin/
│   └── marketplace.json          # Maps plugins for discovery
├── plugins/
│   └── ade-document-processing/
│       ├── .claude-plugin/
│       │   └── plugin.json       # Plugin manifest listing skills
│       └── skills/
│           └── document-extraction/
│               └── SKILL.md      # The ADE skill
├── LICENSE
└── README.md

Links

License

This project is licensed under the MIT License. See the LICENSE file for details.

Files in the repo

Repository payload5 top-level entries
  • .claude-plugin
  • plugins
  • .gitignore
  • LICENSE
  • README.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More skills

obra/
superpowers

An agentic skills framework & software development methodology that works.

285k
1 add

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

117k
1 add
Vincentwei1021/
anything2explainer

Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.

666

Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)

71k