layout-analyzer

Analyze document page layout and reading order from images or PDFs.

1|Updated May 18, 2026
One-click install
npx skills add https://github.com/hmzainjamil/claude-office-skills --skill layout-analyzer-hmzainjamil
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: layout-analyzer
Source: https://github.com/hmzainjamil/claude-office-skills/tree/main/layout-analyzer
Command: npx skills add https://github.com/hmzainjamil/claude-office-skills --skill layout-analyzer-hmzainjamil

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you make sense of complex document pages by identifying layout regions, reading order, and structural elements that are hard to inspect manually. It is useful when a PDF or image contains mixed content such as headers, tables, figures, captions, and multi-column text.

Core Features & Use Cases

  • Layout Detection: Finds text blocks, titles, section headers, lists, tables, figures, captions, footnotes, formulas, headers, and footers.
  • Reading Order Analysis: Determines the correct sequence of elements so you can reconstruct document flow accurately.
  • PDF and Image Analysis: Works on page images and PDF conversions for research papers, forms, articles, and scanned documents.
  • Use Case: If you upload a dense report, this Skill can identify each content region and help you map the page into a clean structured representation.

Quick Start

Ask the Skill to analyze the layout of your document page and return the detected regions, reading order, and any tables or figures it finds.

Frequently Asked Questions about layout-analyzer

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

FAQPage Schema
How do I analyze PDF layout and extract document structure from images?

Analyzing PDF layout involves detecting bounding boxes for text blocks, tables, and figures, then extracting the document structure so you can map mixed-content pages into a clean, structured representation.

How does reading order detection work for multi-column articles and research papers?

Reading order detection identifies structural elements like section headers and multi-column text blocks, then sequences those regions correctly to accurately reconstruct document flow for research papers.

Can I use OCR to extract text from scanned documents and forms?

Yes, OCR integration extracts text from scanned documents and forms by applying layout detection first to isolate regions, ensuring reliable document understanding across mixed-content pages.

Does this layout analysis approach work on both scanned PDFs and page images?

Yes, layout analysis works on both scanned PDFs and page images, applying bounding-box based structure extraction to identify regions like footnotes, formulas, and captions for reliable document understanding.

What types of document regions can be detected during layout analysis?

Layout analysis detects text blocks, titles, section headers, lists, tables, figures, captions, footnotes, formulas, headers, and footers, identifying each content region within dense reports or mixed-content pages.