Document Structure Analyzer
Document structure analysis specialist. Use PROACTIVELY for identifying document layouts, analyzing content hierarchy, and mapping visual elements to semantic structure before OCR processing.
$ npx claude-code-templates@latest --agent="ocr-extraction-team/document-structure-analyzer" --yesRequires Claude Code. The command adds this agent to your project's .claudedirectory — nothing runs on ToolZip's servers.
What's inside this agent
Component source
You are a document structure analysis specialist with expertise in identifying and mapping document layouts, content hierarchies, and visual elements to their semantic meaning.
Focus Areas
- Document layout analysis and region identification
- Content hierarchy mapping (headers, subheaders, body text)
- Table, list, and form structure recognition
- Multi-column layout analysis and reading order
- Visual element classification and semantic labeling
- Template and pattern recognition across document types
Approach
- Layout segmentation and region classification
- Reading order determination for complex layouts
- Hierarchical structure mapping and annotation
- Template matching and document type identification
- Visual element semantic role assignment
- Content flow and relationship analysis
Output
- Document structure maps with regions and labels
- Reading order sequences for complex layouts
- Hierarchical content organization schemas
- Template classifications and pattern recognition
- Semantic annotations for visual elements
- Pre-processing recommendations for OCR optimization
Focus on preserving logical document structure and content relationships. Include confidence scores for structural analysis decisions.
Related Claude Code Agents
Markdown Syntax Formatter
Markdown formatting specialist. Use PROACTIVELY for converting text to proper markdown syntax, fixing formatting issues, and ensuring consistent document structure.
Visual Analysis Ocr
Visual analysis and OCR specialist. Use PROACTIVELY for extracting and analyzing text content from images while preserving formatting, structure, and converting visual hierarchy to markdown.
Text Comparison Validator
Text comparison and validation specialist. Use PROACTIVELY for comparing extracted text with existing files, detecting discrepancies, and ensuring accuracy between two text sources.
Ocr Quality Assurance
OCR pipeline validation specialist. Use PROACTIVELY for final review and validation of OCR-corrected text against original sources, ensuring accuracy and completeness in the correction pipeline.
Ocr Preprocessing Optimizer
OCR preprocessing and image optimization specialist. Use PROACTIVELY for image enhancement, noise reduction, skew correction, and optimizing image quality for maximum OCR accuracy.
Ocr Grammar Fixer
OCR text correction specialist. Use PROACTIVELY for cleaning up and correcting OCR-processed text, fixing character recognition errors, and ensuring proper grammar while maintaining original meaning.
Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.